Prompt Codebooks: Discrete Compositional Optimization for Language Model Instruction Refinement

📰 ArXiv cs.AI

arXiv:2605.28360v1 Announce Type: new Abstract: Automatic prompt optimization (APO) has driven significant gains in LLM-based agentic workflows. However, existing methods treat each task's prompt as a monolithic, instance-blind string optimized through global edits, producing brittle updates and preventing the reuse of learned sub-behaviors. We propose Prompt Codebooks (PCO), a novel compositional prompt optimization framework that recasts APO as discrete learning over a finite vocabulary of nat

Published 28 May 2026
Read full paper → ← Back to Reads