optimize_anything: A Universal API for Optimizing any Text Parameter
Lakshya A Agrawal, Donghyun Lee, Shangyin Tan, Wenjie Ma, Karim Elmaaroufi, Rohit Sandadi, Sanjit A. Seshia, Koushik Sen, Dan Klein, Ion Stoica, Joseph E. Gonzalez, Omar Khattab, Alexandros G. Dimakis, Matei Zaharia

TL;DR
This paper introduces optimize extunderscore anything, a universal LLM-based optimization system that effectively solves diverse text-based problems across multiple domains, achieving state-of-the-art results and unifying various task-specific algorithms.
Contribution
The authors present a single, general-purpose AI optimization framework capable of handling multiple domains and tasks, outperforming specialized tools and enabling cross-task transfer and generalization.
Findings
Nearly tripled Gemini Flash's ARC-AGI accuracy (32.5% to 89.5%)
Reduced cloud costs by 40% through optimized scheduling algorithms
Generated CUDA kernels with 87% matching or outperforming PyTorch implementations
Abstract
Can a single LLM-based optimization system match specialized tools across fundamentally different domains? We show that when optimization problems are formulated as improving a text artifact evaluated by a scoring function, a single AI-based optimization system-supporting single-task search, multi-task search with cross-problem transfer, and generalization to unseen inputs-achieves state-of-the-art results across six diverse tasks. Our system discovers agent architectures that nearly triple Gemini Flash's ARC-AGI accuracy (32.5% to 89.5%), finds scheduling algorithms that cut cloud costs by 40%, generates CUDA kernels where 87% match or beat PyTorch, and outperforms AlphaEvolve's reported circle packing solution (n=26). Ablations across three domains reveal that actionable side information yields faster convergence and substantially higher final scores than score-only feedback, and that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
