Robustness of Large Language Models Against Adversarial Attacks
The increasing deployment of Large Language Models (LLMs) in various applications necessitates a rigorous evaluation of their robustness against adversarial attacks. In this paper, we present a comprehensive study on the robustness of GPT LLM family. We employ two distinct evaluation methods to assess their resilience. The first method introduces character-level text attack in input prompts, testing the models on three sentiment classification datasets: StanfordNLP/IMDB, Yelp Reviews, and SST-2. The second method involves using jailbreak prompts to challenge the safety mechanisms of the LLMs. Our experiments reveal significant variations in the robustness of these models, demonstrating their varying degrees of vulnerability to both character-level and semantic-level adversarial attacks. These findings underscore the necessity for improved adversarial training and enhanced safety mechanisms to bolster the robustness of LLMs.
Authors
- Yixian Shen (ORCID: https://orcid.org/0000-0001-8447-872X)
- Yiyi Tao
- Shaoshuai Du
- Hang Zhang (ORCID: https://orcid.org/0000-0002-4851-3492)
- Yanxin Shen
- Lun Wang (ORCID: https://orcid.org/0000-0001-6265-493X)
- Chuanqi Shi
Institutions
- Johns Hopkins University (US)
- Duke University (US)
- Simon Fraser University (CA)
- University of California San Diego (US)
- Amsterdam University of the Arts (NL)
- University of Amsterdam (NL)
Publication Details
- Published
- 2024-12-27
- DOI
- https://doi.org/10.1109/icairc64177.2024.10900215
- Citations
- 10
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 3.47