Optimas: Optimizing Compound AI Systems with Globally Aligned Local Rewards
Not on the map. Why?
Abstract (arXiv)
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. Our website is at https://optimas.stanford.edu.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 42 of its 59 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
42 of 59 references.
References · 42
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
30 more
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2023Large Language Models as Optimizerscited by 830
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 559
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
- 2018Scalable agent alignment via reward modeling: a research directioncited by 438
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2024Rewarding Progress: Scaling Automated Process Verifiers for LLM Reasoningcited by 267
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 106
- 2024On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agentscited by 92
- 2018Hierarchical Imitation and Reinforcement Learningcited by 88
- 2019Grid Search, Random Search, Genetic Algorithm: A Big Comparison for NAScited by 83
- 2025Process Reward Models for LLM Agents: Practical Framework and Directionscited by 81
- 2024Step-level Value Preference Optimization for Mathematical Reasoningcited by 71
- 2024AvaTaR: Optimizing LLM Agents for Tool Usage via Contrastive Reasoningcited by 69
- 2024STaRK: Benchmarking LLM Retrieval on Textual and Relational Knowledge Basescited by 53
- 2024Bootstrapping Language Models with DPO Implicit Rewardscited by 53
- 2025Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learningcited by 39
- 2023Two Failures of Self-Consistency in the Multi-Step Reasoning of LLMscited by 36
- 2025Optimizing Model Selection for Compound AI Systemscited by 34
- 2024Shopping MMLU: A Massive Multi-Task Online Shopping Benchmark for Large Language Modelscited by 20
- 2025Scaling Autonomous Agents via Automatic Reward Modeling And Planningcited by 19
- 2025Towards Hierarchical Multi-Step Reward Models for Enhanced Reasoning in Large Language Modelscited by 18
- 2024What Are Step-Level Reward Models Rewarding? Counterintuitive Findings from MCTS-Boosted Mathematical Reasoningcited by 14
- 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AIcited by 9
- 2024Stepwise Reasoning Error Disruption Attack of LLMscited by 8
- 2022Multi-Agent Automated Machine Learningcited by 3
Built on by
Citing papers per year: 2025: 5; 2026: 18.
23 papers.
Sort:
By area:
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 105
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
- 2025Reinforcement Learning Foundations for Deep Research Systems: A Surveycited by 13
- 2025Sherlock: Reliable and Efficient Agentic Workflow Executioncited by 10
- 2026Learning, Fast and Slow: Towards LLMs That Adapt Continuallycited by 6
- 2026When Does Continual Learning Require Learningcited by 4
- 2026TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual Tuningcited by 3
- 2026Causal methods for LLM development and evaluationcited by 2
- 2025IM-Chat: A Multi-agent LLM Framework Integrating Tool-Calling and Diffusion Modeling for Knowledge Transfer in Injection Molding Industrycited by 1
- 2026Textual Equilibrium Propagation for Deep Compound AI Systemscited by 1
- 2026ArtifactLens: Hundreds of Labels Are Enough for Artifact Detection with VLMscited by 1
- 2026Joint Optimization of Multi-agent Memory Systemcited by 1
11 more
- 2026Compass: Optimizing Compound AI Workflows for Dynamic Adaptationcited by 1
- 2026A Sober Look at Agentic Misalignment in Automated Workflowscited by 1
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systemscited by 1
- 2026CAFE: A Compound-AI Factorial Evaluation Frameworkcited by 1
- 2026Do Modules Stay in Their Lane? Role Drift in Compound LLM Systemscited by 0
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graphcited by 0
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilizecited by 0
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusterscited by 0
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Gamecited by 0
- 2026What Can a Leaderboard Certify? Compositional Controllability for Fair Evaluation and Training of Biomedical Literature-Review Agentscited by 0
- 2026It Takes Workflows to Evolve Better Workflowscited by 0
- 2026It Takes Workflows to Evolve Better Workflows1 Oct 2026
- 2026What Can a Leaderboard Certify? Compositional Controllability for Fair Evaluation and Training of Biomedical Literature-Review Agents26 Sep 2026
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Game25 Sep 2026
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusters3 Sep 2026
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilize3 Sep 2026
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph11 Aug 2026
- 2026CAFE: A Compound-AI Factorial Evaluation Framework11 Jul 2026
- 2026When Does Continual Learning Require Learning8 Jul 2026
- 2026Do Modules Stay in Their Lane? Role Drift in Compound LLM Systems7 Jul 2026
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systems12 Jun 2026
- 2026Causal methods for LLM development and evaluation25 May 2026
- 2026A Sober Look at Agentic Misalignment in Automated Workflows22 May 2026
11 more
- 2026Learning, Fast and Slow: Towards LLMs That Adapt Continually12 May 2026
- 2026Compass: Optimizing Compound AI Workflows for Dynamic Adaptation21 Mar 2026
- 2026Joint Optimization of Multi-agent Memory System13 Mar 2026
- 2026ArtifactLens: Hundreds of Labels Are Enough for Artifact Detection with VLMs10 Feb 2026
- 2026TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual Tuning9 Feb 2026
- 2026Textual Equilibrium Propagation for Deep Compound AI Systems28 Jan 2026
- 2025Sherlock: Reliable and Efficient Agentic Workflow Execution1 Nov 2025
- 2025Reinforcement Learning Foundations for Deep Research Systems: A Survey8 Sep 2025
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep 2025
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platforms22 Aug 2025
- 2025IM-Chat: A Multi-agent LLM Framework Integrating Tool-Calling and Diffusion Modeling for Knowledge Transfer in Injection Molding Industry21 Jul 2025
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 105
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
- 2025Reinforcement Learning Foundations for Deep Research Systems: A Surveycited by 13
- 2025IM-Chat: A Multi-agent LLM Framework Integrating Tool-Calling and Diffusion Modeling for Knowledge Transfer in Injection Molding Industrycited by 1
- 2026Joint Optimization of Multi-agent Memory Systemcited by 1
- 2026A Sober Look at Agentic Misalignment in Automated Workflowscited by 1
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graphcited by 0
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph11 Aug 2026
- 2026A Sober Look at Agentic Misalignment in Automated Workflows22 May 2026
- 2026Joint Optimization of Multi-agent Memory System13 Mar 2026
- 2025Reinforcement Learning Foundations for Deep Research Systems: A Survey8 Sep 2025
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep 2025
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platforms22 Aug 2025
- 2025IM-Chat: A Multi-agent LLM Framework Integrating Tool-Calling and Diffusion Modeling for Knowledge Transfer in Injection Molding Industry21 Jul 2025
- 2026Causal methods for LLM development and evaluationcited by 2
- 2026Causal methods for LLM development and evaluation25 May 2026
- 2026When Does Continual Learning Require Learningcited by 4
- 2026When Does Continual Learning Require Learning8 Jul 2026
- 2025Sherlock: Reliable and Efficient Agentic Workflow Executioncited by 10
- 2026Learning, Fast and Slow: Towards LLMs That Adapt Continuallycited by 6
- 2026TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual Tuningcited by 3
- 2026Textual Equilibrium Propagation for Deep Compound AI Systemscited by 1
- 2026ArtifactLens: Hundreds of Labels Are Enough for Artifact Detection with VLMscited by 1
- 2026Compass: Optimizing Compound AI Workflows for Dynamic Adaptationcited by 1
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systemscited by 1
- 2026CAFE: A Compound-AI Factorial Evaluation Frameworkcited by 1
- 2026Do Modules Stay in Their Lane? Role Drift in Compound LLM Systemscited by 0
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilizecited by 0
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusterscited by 0
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Gamecited by 0
- 2026What Can a Leaderboard Certify? Compositional Controllability for Fair Evaluation and Training of Biomedical Literature-Review Agentscited by 0
12 most cited of 13 All 13 (JSON)
- 2026It Takes Workflows to Evolve Better Workflows1 Oct 2026
- 2026What Can a Leaderboard Certify? Compositional Controllability for Fair Evaluation and Training of Biomedical Literature-Review Agents26 Sep 2026
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Game25 Sep 2026
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusters3 Sep 2026
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilize3 Sep 2026
- 2026CAFE: A Compound-AI Factorial Evaluation Framework11 Jul 2026
- 2026Do Modules Stay in Their Lane? Role Drift in Compound LLM Systems7 Jul 2026
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systems12 Jun 2026
- 2026Learning, Fast and Slow: Towards LLMs That Adapt Continually12 May 2026
- 2026Compass: Optimizing Compound AI Workflows for Dynamic Adaptation21 Mar 2026
- 2026ArtifactLens: Hundreds of Labels Are Enough for Artifact Detection with VLMs10 Feb 2026
- 2026TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual Tuning9 Feb 2026
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Aligning Compound AI Systems via System-level DPO
- 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systems
- 2026OptiMAS: Automatically Optimize Multi-Agent System
- 2025OptimAI: Optimization from Natural Language Using LLM-Powered AI Agents
- 2025OPT-BENCH: Evaluating LLM Agent on Large-Scale Search Spaces Optimization Problems
- 2025OptiMindTune: A Multi-Agent Framework for Intelligent Hyperparameter Optimization
- 2026Learning to Construct Practical Agentic Systems
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling