Prompt Optimization
Overview
Prompt optimization studies how to adapt instructions and other inputs so language and multimodal models perform better without necessarily changing their weights. Common approaches use textual feedback or gradients, evolutionary search, Bayesian optimization, bandits, and reinforcement learning, with validation examples guiding candidate selection. Work increasingly optimizes prompts alongside tool schemas, workflows, agent routing, and communication, across settings such as reasoning, retrieval, tool use, and image generation. Gains can depend heavily on the evaluation data and objective: prompts may overfit, break requirements they were not scored on, or trade accuracy against cost, readability, and robustness, making held-out testing and regression checks central challenges.
Latest papers
141 papers21 papers in the last four weeks, up 75% on the four weeks before. 0.1% of all new papers.
SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimization
MASPO: Joint Prompt Optimization for LLM-based Multi-Agent Systems
MOIRA: Policy Memory and Belief Revision for Language-Model Agents in Non-Stationary Pair Trading
Optimization before Evaluation: Evaluation with Unoptimised Prompts Can be Misleading
Skills-Coach: A Self-Evolving Skill Optimizer via Training-Free GRPO
FlowBot: Inducing LLM Workflows with Bilevel Optimization and Textual Gradients
textual gradients'' where for the inner loop we optimize each component in a modular way through backpropagating'' textual gradients layer-by-layer. We find that LLM workflows discovered through our FlowBot (workflow induction through bilevel optimization and textual gradients) approach performs competitively against strong baselines that make use of human-crafted or generated workflows.