optimize_anything: Unified Text Optimization can Outperform Specialized Systems
summary
A single LLM-based optimizer framed as a text-evaluation loop matches or beats specialized tools across six tasks: it raises Gemini Flash ARC-AGI from 32.5% to 89.5%, cuts cloud scheduling costs by 40%, produces competitive CUDA kernels, and outruns AlphaEvolve on circle packing. Users supply an evaluator that returns a score plus textual traces and the system iteratively proposes edits using compilation, profiling and visual feedback. Open-sourced at github.com/gepa-ai/gepa as optimize anything within the GEPA project leveraging actionable side information.
AI-written summary · about
chapters (10)
- 0:00Introduction to unified text optimization
- 1:20Extending optimization beyond prompts
- 3:26How the optimizer algorithm works
- 4:08Optimizing 3D scene generation
- 4:31Discovering agent architectures
- 5:14Results across domains
- 6:38Problem types supported
- 7:21Training better models with fast slow learning
- 9:09Summary and applications
- 9:50Q&A on optimizer workflow
