mlsanityData to 7 Oct 2026

Are All Prompt Components Value-Neutral? Understanding the Heterogeneous Adversarial Robustness of Dissected Prompt in Large Language Models

arXiv 2508.01554 ↗First posted 3 Aug 2025cs.CL cs.AI cs.CRcited by 3

Not on the map. Why?

Abstract (arXiv)

Prompt-based adversarial attacks have become an effective means to assess the robustness of large language models (LLMs). However, existing approaches often treat prompts as monolithic text, overlooking their structural heterogeneity-different prompt components contribute unequally to adversarial robustness. Prior works like PromptRobust assume prompts are value-neutral, but our analysis reveals that complex, domain-specific prompts with rich structures have components with differing vulnerabilities. To address this gap, we introduce PromptAnatomy, an automated framework that dissects prompts into functional components and generates diverse, interpretable adversarial examples by selectively perturbing each component using our proposed method, ComPerturb. To ensure linguistic plausibility and mitigate distribution shifts, we further incorporate a perplexity (PPL)-based filtering mechanism. As a complementary resource, we annotate four public instruction-tuning datasets using the PromptAnatomy framework, verified through human review. Extensive experiments across these datasets and five advanced LLMs demonstrate that ComPerturb achieves state-of-the-art attack success rates. Ablation studies validate the complementary benefits of prompt dissection and PPL filtering. Our results underscore the importance of prompt structure awareness and controlled perturbation for reliable adversarial robustness evaluation in LLMs. Code and data are available at https://github.com/Yujiaaaaa/PACP.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 3 Aug 2025.

Builds on

24 of 39 references.

References · 24

  1. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  2. 2022A Survey on In-context Learningcited by 717
  3. 2023A Comprehensive Overview of Large Language Modelscited by 639
  4. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  5. 2023Detecting Language Model Attacks with Perplexitycited by 411
  6. 2017Six Challenges for Neural Machine Translationcited by 334
  7. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agentscited by 280
  8. 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
  9. 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 218
  10. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
  11. 2024The Prompt Report: A Systematic Survey of Prompt Engineering Techniquescited by 115
  12. 2024SafeAgentBench: A Benchmark for Safe Task Planning of Embodied LLM Agentscited by 102
12 more
  1. 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakerscited by 91
  2. 2024Scientific Large Language Models: A Survey on Biological & Chemical Domainscited by 80
  3. 2023A Practical Survey on Zero-shot Prompt Design for In-context Learningcited by 49
  4. 2023Prompt Optimization via Adversarial In-Context Learningcited by 33
  5. 2025AILuminate: Introducing v1.0 of the AI Risk and Reliability Benchmark from MLCommonscited by 31
  6. 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
  7. 2024SciSafeEval: A Comprehensive Benchmark for Safety Alignment of Large Language Models in Scientific Taskscited by 17
  8. 2025Butterfly Effects in Toolchains: A Comprehensive Analysis of Failed Parameter Filling in LLM Tool-Agent Systemscited by 17
  9. 2025Enhancing Robustness of LLM-Driven Multi-Agent Systems through Randomized Smoothingcited by 9
  10. 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
  11. 2024Human-Interpretable Adversarial Prompt Attack on Large Language Models with Situational Contextcited by 6
  12. 2024Deconstructing In-Context Learning: Understanding Prompts via Corruptioncited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.