paper-with-me

Papers

Robustifying Language Models with Test-Time Adaptation

2023-10-29 · Noah Thomas McDermott, Junfeng Yang, Chengzhi Mao

Large-scale language models achieved state-of-the-art performance over a number of language tasks. However, they fail on adversarial language examples, which are sentences optimized to fool the language models but with similar semantic meanings for humans. While prior work focuses on making the language model robust at training time, retraining for robustness is often unrealistic for large-scale foundation models. Instead, we propose to make the language models robust at test time. By dynamically adapting the input sentence with predictions from masked words, we show that we can reverse many language adversarial attacks. Since our approach does not require any training, it works for novel tasks at test time and can adapt to novel adversarial corruptions. Visualizations and empirical results on two popular sentence classification datasets demonstrate that our method can repair adversarial language attacks over 65% o

📄 PDF Abstract BibTeX arXiv:2310.19177

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingSentenceSentence ClassificationTest-time Adaptation

Similar Papers 제목 키워드 기반

Robustifying Vision-Language Models via Test-Time Prompt Adaptation

2026-07-10 · Xingyu Zhu, Huanshen Wu, Shuo Wang, Beier Zhu 외 arxiv

Pre-trained Vision-Language Models (VLMs) such as CLIP achieve strong zero-shot generalization, but their performance degrades sharply under adversarial perturbations. Existing test-time adaptation methods typically rely…

Zero-shot GeneralizationAdversarial RobustnessTest-time Adaptation

Robustifying Vision Transformer without Retraining from Scratch by Test-Time Class-Conditional Feature Alignment

2022-06-28 · Takeshi Kojima, Yutaka Matsuo, Yusuke Iwasawa

Vision Transformer (ViT) is becoming more popular in image processing. Specifically, we investigate the effectiveness of test-time adaptation (TTA) on ViT, a technique that has emerged to correct its prediction during te…

Domain Adaptationimage-classificationImage ClassificationTest-time Adaptation

Bayesian Adaptation for Covariate Shift

2021-12-01 · NeurIPS 2021 12 · Aurick Zhou, Sergey Levine

When faced with distribution shift at test time, deep neural networks often make inaccurate predictions with unreliable uncertainty estimates.While improving the robustness of neural networks is one promising approach to…

Domain Adaptationimage-classificationImage Classification

Training on Test Data with Bayesian Adaptation for Covariate Shift

2021-09-27 · Aurick Zhou, Sergey Levine

When faced with distribution shift at test time, deep neural networks often make inaccurate predictions with unreliable uncertainty estimates. While improving the robustness of neural networks is one promising approach t…

Domain Adaptationimage-classificationImage Classification

Auditing and Robustifying COVID-19 Misinformation Datasets via Anticontent Sampling

2023-08-05 · Clay H. Yoo, Ashiqur R. KhudaBukhsh

This paper makes two key contributions. First, it argues that highly specialized rare content classifiers trained on small data typically have limited exposure to the richness and topical diversity of the negative class …

Active LearningDiversityMisinformation