mlsanityData to 14 Oct 2026

Beyond Magic Words: Sharpness-Aware Prompt Evolving for Robust Large Language Models with TARE

arXiv 2509.24130 ↗First posted 28 Sep 2025cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

The performance of Large Language Models (LLMs) hinges on carefully engineered prompts. However, prevailing prompt optimization methods, ranging from heuristic edits and reinforcement learning to evolutionary search, primarily target point-wise accuracy. They seldom enforce paraphrase invariance or searching stability, and therefore cannot remedy this brittleness in practice. Automated prompt search remains brittle: small, semantically preserving paraphrases often cause large performance swings. We identify this brittleness as the textual sharpness of the prompt landscape. In this work, we provide the first formal treatment of textual sharpness in the discrete, semantic space of prompts, together with an operational robustness criterion over a semantic neighborhood; the design is black-box or API-only, requiring no gradients to update the model's parameters. Then we introduce TARE (Textual Sharpness-Aware Evolving), a derivative-free framework that alternates between an inner, sampling-based adversarial search that stresses a prompt with hard paraphrases and an outer, robust selection that prefers candidates whose neighborhoods remain strong. We further propose ATARE, which learns anisotropic weights to shape the semantic neighborhood and adapts its radius over time to balance exploration and fidelity. Diverse tasks evaluate our methods, whose design for minimizing textual sharpness gap leads to prompts that preserve accuracy under paraphrasing, outperforming accuracy-only prompt search while remaining computationally practical.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 28 of its 36 references that are in the map. First posted on arXiv 28 Sep 2025.

Builds on

28 of 36 references.

References · 28

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  10. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  11. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  12. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
16 more
  1. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  3. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  4. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  5. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  6. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  7. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  8. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
  9. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  10. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  11. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
  12. 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
  13. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  14. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  15. 2024REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimizationcited by 20
  16. 2024UniGuard: Towards Universal Safety Guardrails for Jailbreak Attacks on Multimodal Large Language Modelscited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
  2. 2026Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality
  3. 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
  4. 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
  5. 2025Evolution-based Region Adversarial Prompt Learning for Robustness Enhancement in Vision-Language Models
  6. 2025ToxSearch: Evolving Prompts for Toxicity Search in Large Language Models
  7. 2024Large Language Models Prompting With Episodic Memory
  8. 2026Optimizing Prompts for Large Language Models: A Causal Approach