mlsanityData to 14 Oct 2026

Automatically Evolving Prompt Guidelines for Task-Specific Optimization

arXiv 2607.14105 ↗First posted 7 May 2026cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

For Large Language Models to reliably answer user queries, users must clearly specify requirements, context, and constraints. In practice, however, user queries are often underspecified, forcing models to infer unstated assumptions that may misalign with the actual user intent. Existing prompt engineering guidelines aim to mitigate this issue, they are typically generic and task-agnostic, limiting their practical utility. Additionally, existing guidelines are formed manually and in a non-systematic way. To this end, we study prompt guideline optimization: the problem of automatically generating task-specific guidelines that help write better-specified prompts for a given task and model. Our key observation is that existing (completed) task examples (aka reference answers) often implicitly encode the missing information required to complete underspecified queries, including behavioral constraints, contextual assumptions, and evaluation criteria. We therefore propose AGOPS, an automatic approach that evolves task-specific guidelines via an optimization scheme that involves a prompt LLM writer, a solver LLM and prompt evolution, which maximize downstream effectiveness on a set of examples (user queries with reference answers). At inference time, our guidelines help users write well-specified prompts, boosting the effectiveness of LLMs. We show across mathematical reasoning, medical question answering, and coding tasks, that prompt underspecification leads to major drops (up to 95.3%) in downstream task performance (compared to well-specified prompts) and, perhaps more importantly, that this drop can hardly be recovered by existing prompt optimization techniques. Users following AGOPS guidelines can regain this loss (increasing performance between 15.5 to 81.7% on average) consistently across all benchmarks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 50 of its 69 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

50 of 69 references.

References · 50

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2021Program Synthesis with Large Language Modelscited by 3,637
  9. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  10. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  11. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  12. 2023Large Language Models as Optimizerscited by 864
38 more
  1. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
  2. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  3. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  4. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
  5. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
  6. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  7. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  8. 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
  9. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  10. 2023Do Large Language Models Know What They Don't Know?cited by 243
  11. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  12. 2024MediQ: Question-Asking LLMs and a Benchmark for Reliable Interactive Clinical Reasoningcited by 154
  13. 2024Large Legal Fictions: Profiling Legal Hallucinations in Large Language Modelscited by 150
  14. 2025AbstentionBench: Reasoning LLMs Fail on Unanswerable Questionscited by 145
  15. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
  16. 2023Multitask Prompt Tuning Enables Parameter-Efficient Transfer Learningcited by 115
  17. 2024The Art of Saying No: Contextual Noncompliance in Language Modelscited by 105
  18. 2024Large Language Models Must Be Taught to Know What They Don't Knowcited by 100
  19. 2024A Survey on Large Language Models for Critical Societal Domains: Finance, Healthcare, and Lawcited by 74
  20. 2025QuestBench: Can LLMs ask the right question to acquire information in reasoning tasks?cited by 63
  21. 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoningcited by 59
  22. 2024Do LLMs Know When to NOT Answer? Investigating Abstention Abilities of Large Language Modelscited by 57
  23. 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Modelscited by 55
  24. 2024CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in Large Language Modelscited by 54
  25. 2023TELeR: A General Taxonomy of LLM Prompts for Benchmarking Complex Taskscited by 49
  26. 2024Best Practices for Text Annotation with Large Language Modelscited by 36
  27. 2025MedCaseReasoning: Evaluating and learning diagnostic reasoning from clinical case reportscited by 36
  28. 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32
  29. 2024Teaching Large Language Models to Express Knowledge Boundary from Their Own Signalscited by 32
  30. 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Promptscited by 32
  31. 2024Don't Just Say "I don't know"! Self-aligning Large Language Models for Responding to Unknown Questions with Explanationscited by 30
  32. 2025From Passive to Active Reasoning: Can Large Language Models Ask the Right Questions under Incomplete Information?cited by 23
  33. 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptionscited by 11
  34. 2025Conversational User-AI Intervention: A Study on Prompt Rewriting for Improved LLM Response Generationcited by 10
  35. 2024Let Guidelines Guide You: A Prescriptive Guideline-Centered Data Annotation Methodologycited by 3
  36. 2025Prompt Engineering Guidelines for Using Large Language Models in Requirements Engineeringcited by 3
  37. 2026Guidelines to Prompt Large Language Models for Code Generation: An Empirical Characterizationcited by 3
  38. 2020The Curse of Shared Knowledge: Recursive Belief Reasoning in a Coordination Game with Imperfect Informationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Self-Supervised Prompt Optimization
  2. 2026Optimizing Prompts for Large Language Models: A Causal Approach
  3. 2024PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based Sampling
  4. 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
  5. 2025Rethinking Prompt Optimizers: From Prompt Merits to Optimization
  6. 2025How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation
  7. 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
  8. 2026Generalizable Self-Evolving Memory for Automatic Prompt Optimization