paper-with-me

홈 › Papers

Optimas: Optimizing Compound AI Systems with Globally Aligned Local Rewards

2025-07-03 · Shirley Wu, Parth Sarthi, Shiyu Zhao, Aaron Lee, Herumb Shandilya, Adrian Mladenic Grobelnik, Nurendra Choudhary, Eddie Huang, Karthik Subbian, Linjun Zhang, Diyi Yang, James Zou, Jure Leskovec 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.

📄 PDF Abstract BibTeX arXiv:2507.03041

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future Directions

2025-06-09 · Yu-Ang Lee, Guan-Ting Yi, Mei-Yi Liu, Jui-Chao Lu 외

Recent advancements in large language models (LLMs) and AI systems have led to a paradigm shift in the design and optimization of complex AI workflows. By integrating multiple components, compound AI systems have become …

Reinforcement Learning (RL)

Cross-Border Data Security and Privacy Risks in Large Language Models and IoT Systems

2026-01-10 · Chalitha Handapangoda arxiv

The reliance of Large Language Models and Internet of Things systems on massive, globally distributed data flows creates systemic security and privacy challenges. When data traverses borders, it becomes subject to confli…

Optimizing Model Selection for Compound AI Systems

2025-02-20 · Lingjiao Chen, Jared Quincy Davis, Boris Hanin, Peter Bailis 외

Compound AI systems that combine multiple LLM calls, such as self-refine and multi-agent-debate, achieve strong performance on many AI tasks. We address a core question in optimizing compound systems: for each LLM call o…

modelModel Selection

Optimizing Compound Retrieval Systems

2025-04-16 · Harrie Oosterhuis, Rolf Jagerman, Zhen Qin, Xuanhui Wang

Modern retrieval systems do not rely on a single ranking model to construct their rankings. Instead, they generally take a cascading approach where a sequence of ranking models are applied in multiple re-ranking stages. …

Information RetrievalRe-RankingRetrieval

Improved statistical machine translation using monolingual paraphrases

2021-09-25 · Preslav Nakov

We propose a novel monolingual sentence paraphrasing method for augmenting the training data for statistical machine translation systems "for free" -- by creating it from data that is already available rather than having…

Machine TranslationSentenceTranslation