Beyond Magic Words: Sharpness-Aware Prompt Evolving for Robust Large Language Models with TARE
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
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
16 more
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2024TextGrad: Automatic "Differentiation" via Textcited by 273
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2024REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimizationcited by 20
- 2024UniGuard: Towards Universal Safety Guardrails for Jailbreak Attacks on Multimodal Large Language Modelscited by 19
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolutioncited by 22
- 2026AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agentcited by 13
- 2026Easier to Mislead Than to Correct: Harmful and Beneficial Revision in LLM Conformitycited by 8
- 2026UniSD: Towards a Unified Self-Distillation Framework for Large Language Modelscited by 7
- 2026ReflectRL: Learning from Golden Negative Trajectories via Reflective-to-Direct Reasoningcited by 6
- 2026Set-Valued Prediction for Large Language Models with Feasibility-Aware Coverage Guaranteescited by 4
- 2026EchoRL: Reinforcement Learning via Rollout Echoingcited by 4
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimizationcited by 3
- 2026Uncertainty-Aware Abstention in Large Language Models with Provable Alignment Guaranteescited by 1
- 2026ReflectRL: Learning from Golden Negative Trajectories via Reflective-to-Direct Reasoning4 Aug 2026
- 2026MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution6 Jul 2026
- 2026Uncertainty-Aware Abstention in Large Language Models with Provable Alignment Guarantees5 Jul 2026
- 2026Easier to Mislead Than to Correct: Harmful and Beneficial Revision in LLM Conformity1 Jun 2026
- 2026EchoRL: Reinforcement Learning via Rollout Echoing29 May 2026
- 2026TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimization20 May 2026
- 2026UniSD: Towards a Unified Self-Distillation Framework for Large Language Models7 May 2026
- 2026Set-Valued Prediction for Large Language Models with Feasibility-Aware Coverage Guarantees24 Mar 2026
- 2026AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agent3 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
- 2026Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality
- 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
- 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
- 2025Evolution-based Region Adversarial Prompt Learning for Robustness Enhancement in Vision-Language Models
- 2025ToxSearch: Evolving Prompts for Toxicity Search in Large Language Models
- 2024Large Language Models Prompting With Episodic Memory
- 2026Optimizing Prompts for Large Language Models: A Causal Approach