{"slug": "automatically-evolving-prompt-guidelines-for-task-specific-optimization", "title": "Automatically Evolving Prompt Guidelines for Task-Specific Optimization", "summary": "Researchers introduced AGOPS, an automatic method that evolves task-specific prompt guidelines to reduce underspecification in user queries for large language models. The approach uses existing task examples to generate guidelines that help users write better-specified prompts, recovering performance drops of up to 95.3% across math, medical, and coding tasks.", "body_md": "arXiv:2607.14105v1 Announce Type: new\nAbstract: 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.", "url": "https://wpnews.pro/news/automatically-evolving-prompt-guidelines-for-task-specific-optimization", "canonical_source": "https://arxiv.org/abs/2607.14105", "published_at": "2026-07-17 04:00:00+00:00", "updated_at": "2026-07-17 04:04:06.659115+00:00", "lang": "en", "topics": ["large-language-models", "natural-language-processing", "ai-research", "ai-tools"], "entities": ["AGOPS"], "alternates": {"html": "https://wpnews.pro/news/automatically-evolving-prompt-guidelines-for-task-specific-optimization", "markdown": "https://wpnews.pro/news/automatically-evolving-prompt-guidelines-for-task-specific-optimization.md", "text": "https://wpnews.pro/news/automatically-evolving-prompt-guidelines-for-task-specific-optimization.txt", "jsonld": "https://wpnews.pro/news/automatically-evolving-prompt-guidelines-for-task-specific-optimization.jsonld"}}