paper-with-me

홈 › Papers

Robust Encodings: A Framework for Combating Adversarial Typos

2020-05-04 · ACL 2020 6 · Erik Jones, Robin Jia, aditi raghunathan, Percy Liang

Despite excellent performance on many tasks, NLP systems are easily fooled by small adversarial perturbations of inputs. Existing procedures to defend against such perturbations are either (i) heuristic in nature and susceptible to stronger attacks or (ii) provide guaranteed robustness to worst-case attacks, but are incompatible with state-of-the-art models like BERT. In this work, we introduce robust encodings (RobEn): a simple framework that confers guaranteed robustness, without making compromises on model architecture. The core component of RobEn is an encoding function, which maps sentences to a smaller, discrete space of encodings. Systems using these encodings as a bottleneck confer guaranteed robustness with standard training, and the same encodings can be used across multiple tasks. We identify two desiderata to construct robust encoding functions: perturbations of a sentence should map to a small set of encodings (stability), and models using encodings should still perform well (fidelity). We instantiate RobEn to defend against a large family of adversarial typos. Across six tasks from GLUE, our instantiation of RobEn paired with BERT achieves an average robust accuracy of 71.3% against all adversarial typos in the family considered, while previous work using a typo-corrector achieves only 35.3% accuracy against a simple greedy attack.

📄 PDF Abstract BibTeX arXiv:2005.01229

Code (1)

https://worksheets.codalab.org/worksheets/0x8fc01c7fc2b742fdb29c05669f0ad7d2 공식 구현

Tasks

Sentence

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음

Similar Papers 제목 키워드 기반

A Study on FGSM Adversarial Training for Neural Retrieval

2023-01-25 · Simon Lupart, Stéphane Clinchant

Neural retrieval models have acquired significant effectiveness gains over the last few years compared to term-based methods. Nevertheless, those models may be brittle when faced to typos, distribution shifts or vulnerab…

Data AugmentationRetrieval

More Agents Improve Math Problem Solving but Adversarial Robustness Gap Persists

2025-11-10 · Khashayar Alavi, Zhastay Yeltay, Lucie Flek, Akbar Karimi arxiv

When LLM agents work together, they seem to be more powerful than a single LLM in mathematical question answering. However, are they also more robust to adversarial inputs? We investigate this question using adversariall…

Mathematical Question AnsweringAdversarial Robustness

Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERT

2020-02-27 · Lichao Sun, Kazuma Hashimoto, Wenpeng Yin, Akari Asai 외

There is an increasing amount of literature that claims the brittleness of deep neural networks in dealing with adversarial examples that are created maliciously. It is unclear, however, how the models will perform in re…

Question AnsweringSentenceSentiment Analysis

RETVec: Resilient and Efficient Text Vectorizer

2023-02-18 · NeurIPS 2023 11 · Elie Bursztein, Marina Zhang, Owen Vallis, Xinyu Jia 외

This paper describes RETVec, an efficient, resilient, and multilingual text vectorizer designed for neural-based text processing. RETVec combines a novel character encoding with an optional small embedding model to embed…

Adversarial TextMetric LearningWord Embeddings

Dealing with Typos for BERT-based Passage Retrieval and Ranking

2021-08-27 · EMNLP 2021 11 · Shengyao Zhuang, Guido Zuccon

Passage retrieval and ranking is a key task in open-domain question answering and information retrieval. Current effective approaches mostly rely on pre-trained deep language model-based retrievers and rankers. These met…

Information RetrievalLanguage ModelingLanguage ModellingOpen-Domain Question Answering+6