Optimas: Optimizing Compound AI Systems with Globally Aligned Local Rewards
Shirley Wu, Parth Sarthi, Shiyu Zhao, Aaron Lee, Herumb Shandilya, Adrian Mladenic Grobelnik, Nurendra Choudhary, Edward W Huang, Karthik Subbian, Linjun Zhang, Diyi Yang, James Zou, Jure Leskovec
摘要
Compound AI systems integrating multiple components, such as Large Language Models, specialized tools, and traditional machine learning models, are increasingly deployed to solve complex real-world tasks. However, optimizing compound systems remains challenging due to their non-differentiable structures and diverse configuration types across components, including prompts, hyperparameters, and model parameters. To address this challenge, we propose Optimas, a unified framework for effective optimization of compound systems. The core idea of Optimas is to maintain one Local Reward Function (LRF) per component, each satisfying a local–global alignment property, i.e., each component’s local reward correlates with the global system performance. In each iteration, Optimas efficiently adapts the LRFs to maintain this property while simultaneously maximizing each component’s local reward. This approach enables independent updates of heterogeneous configurations using the designated optimization method, while ensuring that local improvements consistently lead to performance gains. We present extensive evaluations across five real-world compound systems to demonstrate that Optimas outperforms strong baselines by an average improvement of 11.92%, offering a general and effective approach for improving compound systems.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Reflexion: language agents with verbal reinforcement learning 引用了 Self-Refine: Iterative Refinement with Self-Feedback
- Aligning Compound AI Systems via System-level DPO 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Aligning Compound AI Systems via System-level DPO 引用了 Reflexion: language agents with verbal reinforcement learning
- GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning 引用了 Self-Refine: Iterative Refinement with Self-Feedback
- GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning 引用了 Reflexion: language agents with verbal reinforcement learning
引用它的顶会 Paper4
- GEPA: Reflective Prompt Evolution Can Outperform Reinforcement LearningLakshya A. Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems 等ICLR 2026 · 466 次引用
- Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud PlatformsGohar Irfan Chaudhry, Esha Choukse, Haoran Qiu, Íñigo Goiri 等OSDI 2026 · 26 次引用
- EvoRoute: Experience-Driven Self-Routing LLM Agent SystemsGuibin Zhang, Haiyang Yu, Kaiming Yang, Bingli Wu 等ACL 2026 · 6 次引用
- Aligning Compound AI Systems via System-level DPOXiangwen Wang, Yibo Jacky Zhang, Zhoujie Ding, Katherine Tsai 等NeurIPS 2025 · 4 次引用
它引用的 Paper27
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan 等NeurIPS 2023 · 5,828 次引用
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan 等NeurIPS 2023 · 4,972 次引用
- Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards 等ICLR 2024 · 3,045 次引用
相关 Paper
- Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future DirectionsYu-Ang Lee, Guan-Ting Yi, Mei-Yi Liu, Jui-Chao Lu 等EMNLP 2025
- Towards AutoAI: Optimizing a Machine Learning System with Black-box and Differentiable ComponentsZhiliang Chen, Chuan-Sheng Foo, Bryan Kian Hsiang LowICML 2024 · 10 次引用
- Optimas: An Intelligent Analytics-Informed Generative AI Framework for Performance OptimizationMohammad Zaeed, Tanzima Z. Islam, Vladimir IndicKDD 2026
- metaTextGrad: Automatically optimizing language model optimizersGuowei Xu, Mert Yüksekgönül, Carlos Guestrin, James Y. ZouNeurIPS 2025 · 5 次引用
- SCOPE: Cost-Efficient Model Selection for Compound AI Systems under Quality ConstraintsYiqian Huang, Shiqi Zhang, Tianyuan Jin, Xiaokui XiaoKDD 2026
