Selective Adversarial Attacks on LLM Benchmarks
Preprint
Abstract
Benchmarking outcomes increasingly govern trust, selection, and deployment of LLMs, yet these evaluations remain vulnerable to semantically equivalent adversarial perturbations. Prior work on adversarial robustness in NLP has emphasized text attacks that affect many models equally, leaving open the question of whether it is possible to selectively degrade or enhance performance while minimally affecting other models. We formalize this problem and study selective adversarial attacks on MMLU - a widely used benchmark designed to measure a language model's broad general knowledge and reasoning ability across different subjects. Using canonical attacks integrated into TextAttack framework, we introduce a protocol for selectivity assessment, develop a custom constraint to increase selectivity of attacks and propose a surrogate-LLM pipeline that generates selective perturbations. Empirically, we find that selective adversarial attacks exist and can materially alter relative rankings, challenging the fairness, reproducibility, and transparency of leaderboard-driven evaluation. Our results motivate perturbation-aware reporting and robustness diagnostics for LLM evaluation and demonstrate that even subtle edits can shift comparative judgments.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- LLM Agents for Education: Advances and Applications2025
- HyGloadAttack: Hard-label black-box textual adversarial attacks via hybrid optimizationNeural Networks, 2024
- Adversarial attack and defense technologies in natural language processing: A surveyNeurocomputing, 2022
- Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer2021
- OpenAttack: An Open-source Textual Adversarial Attack Toolkit2021
- Contextualized Perturbation for Textual Adversarial Attack2021
- BAE: BERT-based Adversarial Examples for Text Classification2020
- Imitation Attacks and Defenses for Black-box Machine Translation Systems2020
- Word-level Textual Adversarial Attacking as Combinatorial Optimization2020
- TextBugger: Generating Adversarial Text Against Real-world Applications2019