Differential Robustness in Transformer Language Models: Empirical Evaluation Under Adversarial Text Attacks

0Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.

Abstract

This study evaluates the resilience of large language models (LLMs) against adversarial attacks, specifically focusing on Flan-T5, BERT, and RoBERTa-Base. Using systematically designed adversarial tests through TextFooler and BERTAttack, we found significant variations in model robustness. RoBERTa-Base and Flan-T5 demonstrated remarkable resilience, maintaining accuracy even when subjected to sophisticated attacks, with attack success rates of 0%. In contrast, BERT-Base showed considerable vulnerability, with TextFooler achieving a 93.75% success rate in reducing model accuracy from 48% to just 3%. Our research reveals that while certain LLMs have developed effective defensive mechanisms, these safeguards often require substantial computational resources. This study contributes to the understanding of LLM security by identifying existing strengths and weaknesses in current safeguarding approaches and proposes practical recommendations for developing more efficient and effective defensive strategies.

Cite

CITATION STYLE

APA

Gidatkar, T., Ajao, O., & Shardlow, M. (2025). Differential Robustness in Transformer Language Models: Empirical Evaluation Under Adversarial Text Attacks. In International Conference Recent Advances in Natural Language Processing, RANLP (pp. 395–402). Incoma Ltd. https://doi.org/10.26615/978-954-452-098-4-048

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free