On Adversarial Robustness and Out-of-Distribution Robustness of Large Language Models
Not on the map. Why?
Abstract (arXiv)
The increasing reliance on large language models (LLMs) for diverse applications necessitates a thorough understanding of their robustness to adversarial perturbations and out-of-distribution (OOD) inputs. In this study, we investigate the correlation between adversarial robustness and OOD robustness in LLMs, addressing a critical gap in robustness evaluation. By applying methods originally designed to improve one robustness type across both contexts, we analyze their performance on adversarial and out-of-distribution benchmark datasets. The input of the model consists of text samples, with the output prediction evaluated in terms of accuracy, precision, recall, and F1 scores in various natural language inference tasks. Our findings highlight nuanced interactions between adversarial robustness and OOD robustness, with results indicating limited transferability between the two robustness types. Through targeted ablations, we evaluate how these correlations evolve with different model sizes and architectures, uncovering model-specific trends: smaller models like LLaMA2-7b exhibit neutral correlations, larger models like LLaMA2-13b show negative correlations, and Mixtral demonstrates positive correlations, potentially due to domain-specific alignment. These results underscore the importance of hybrid robustness frameworks that integrate adversarial and OOD strategies tailored to specific models and domains. Further research is needed to evaluate these interactions across larger models and varied architectures, offering a pathway to more reliable and generalizable LLMs.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 9 references that are in the map. First posted on arXiv 13 Dec 2024.
Builds on
7 of 9 references.
References · 7
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2024Mixtral of Expertscited by 1,823
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
- 2024Improving the Robustness of Large Language Models via Consistency Alignmentcited by 36
- 2024Improving Black-box Robustness with In-Context Rewritingcited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.