OMAC: A Holistic Optimization Framework for LLM-Based Multi-Agent Collaboration
Shijun Li (PhD student · University of Texas in Austin), Hilaf Hasson (Intuit), Joydeep Ghosh
Overview
Large Language Model (LLM)-based multi-agent systems (MAS) have emerged as powerful paradigms for solving complex, real-world tasks ranging from automated software engineering to advanced mathematical reasoning. By decomposing intricate workflows into multi-stage processes where multiple agents communicate, collaborate, and leverage specialized tools, these systems achieve superior performance compared to single-agent architectures. However, optimizing these multi-agent workflows remains a fragmented and largely manual endeavor. Practitioners must navigate a vast design space spanning agent prompts, architectures, and communication topologies without principled, automated methodologies.

Key moments
- 0:00 Introduction and multi-agent system optimization challenges
- 2:00 Key dimensions for MAS optimization: functional and structural
- 4:00 Designing semantic generalizer and contrastive comparator actors
- 6:00 Example of single-dimension optimization for code generation
- 8:00 Experimental results and conclusion
- 10:00 Audience Q&A: Computational cost and efficiency
OMAC: A Holistic Optimization Framework for LLM-Based Multi-Agent Collaboration
Speakers: Shijun Li (PhD student, University of Texas in Austin); Hilaf Hasson (Intuit); Joydeep Ghosh
Conference: ICML
YouTube: https://slideslive.com/39083752
Overview
Large Language Model (LLM)-based multi-agent systems (MAS) have emerged as powerful paradigms for solving complex, real-world tasks ranging from automated software engineering to advanced mathematical reasoning. By decomposing intricate workflows into multi-stage processes where multiple agents communicate, collaborate, and leverage specialized tools, these systems achieve superior performance compared to single-agent architectures. However, optimizing these multi-agent workflows remains a fragmented and largely manual endeavor. Practitioners must navigate a vast design space spanning agent prompts, architectures, and communication topologies without principled, automated methodologies.
This talk, presented by Shijun Li at ICML (in collaboration with Hilaf Hasson from Intuit and Joydeep Ghosh from the University of Texas at Austin), introduces OMAC, a holistic optimization framework designed to systematically address multi-agent system optimization. By conceptualizing multi-agent collaboration as an information flow over a dynamic graph, OMAC unifies the optimization of both agent functionalities and inter-agent communication structures. The framework employs a dual-actor meta-optimization engine utilizing a semantic generalizer and a contrastive comparator to iteratively refine MAS components, yielding significant performance gains across diverse task domains including code generation, mathematical reasoning, and tool-augmented problem solving.
Background
▶ Watch: Introduction and multi-agent system optimization challenges (0:00)
In the systems and machine learning communities, the deployment of LLMs has rapidly evolved from standalone inference calls to orchestrated agentic workflows, exemplified by industrial platforms like Codex and Cloud Code. A typical multi-agent collaboration pipeline operates via a multi-stage process: a complex objective is decomposed into sequential or parallel steps, and distinct agents execute sub-tasks, passing intermediate outputs as contextual inputs to subsequent stages.
Despite their empirical success, optimizing these systems has historically suffered from several critical bottlenecks. Prior work typically treats agent design and communication routing as orthogonal problems, relying on heuristic prompt engineering, static hand-crafted agent topologies, or brute-force trial and error. In the ML systems space, this creates a combinatorial explosion of design choices. Researchers and practitioners lack a unified optimization framework capable of jointly tuning how agents are constructed (functionality) and how they interact (structure). OMAC bridges this gap by formulating MAS optimization through a graph-theoretic lens, addressing the dual components of graph nodes (agents) and graph edges (communication controllers) within a single algorithmic framework.
Key Findings
▶ Watch: Designing semantic generalizer and contrastive comparator actors (4:00)
OMAC establishes that multi-agent system optimization can be systematically decomposed into five distinct dimensions categorized under two primary aspects: functional optimization and structural optimization.
- Functional Optimization Dimensions:
- Refining Existing Agents: Optimizing internal components such as instruction prompts, few-shot examples, tool-usage rules, and memory management strategies for pre-existing agents within the MAS.
- Creating New Agents: Constructing novel LLM-based agents specifically tailored to complement existing agents and enhance overall task-resolving performance when integrated into the pool.
- Structural Optimization Dimensions:
- Global Agent Selection: Optimizing a controller that globally selects candidate agents from a larger pool for collaboration on a given task.
- Context-Aware Participation: Optimizing a controller to dynamically select participating agents at a specific collaboration step based on local execution context.
- Communication Routing: Optimizing a controller to explicitly dictate information flow, determining whether the output of one agent serves as the input context for another.
Empirical evaluations across code generation, math/science reasoning, and general task completion benchmarks demonstrate that optimizing any single dimension yields performance improvements over strong baselines. Crucially, iterative multi-dimension optimization—jointly tuning structural and functional aspects—results in substantially larger performance gains than optimizing any single dimension in isolation. Ablation studies confirm that both core modules of the framework (the semantic generalizer and the contrastive comparator) are essential to driving these performance improvements.
Technical Deep Dive
▶ Watch: Example of single-dimension optimization for code generation (6:00)
The architectural backbone of OMAC relies on two specialized LLM-based agents functioning as meta-optimizers: the semantic generalizer and the contrastive comparator.
When optimizing a target dimension, the semantic generalizer first produces a candidate set of agents or controllers sharing the same functional role. For example, when optimizing a programmer agent for a code generation task, the generalizer might instantiate 10 distinct programmer variants with varied instruction prompts and operational rules. Each candidate is then integrated into the active MAS and evaluated across the training dataset to compute definitive performance scores.
Next, the framework samples a performance-based positive and negative pair from the candidate set. This pair is fed into the contrastive comparator, whose role is to perform contrastive reasoning on the underlying factors that caused one agent to succeed while the other underperformed. The comparator isolates positive drivers (e.g., instructing the agent to explicitly inject documentation comments into generated code) while suppressing negative or counterproductive factors, synthesizing a new, optimized agent or controller. This newly generated entity is appended to the agent pool, and the collaboration cycle is rerun.
To maintain the validity of the contrastive reasoning process during multi-dimensional tuning, OMAC utilizes an iterative optimization strategy. By constraining variable modifications to a narrow range while holding all other system factors constant, the framework ensures that the contrastive comparator can accurately isolate and amplify key performance-driving factors without destabilizing the broader multi-agent topology.
Experimental Setup & Results
▶ Watch: Experimental results and conclusion (8:00)
OMAC was benchmarked across three distinct application scenarios:
- Code Generation: Evaluating the system's ability to produce robust, functional software implementations.
- Mathematical and Scientific Reasoning: Testing multi-step logic and quantitative problem-solving capabilities.
- General Task Completion: Assessing tool-augmented workflows requiring diverse functional integrations.
The framework was evaluated against single-agent, standard multi-agent, and existing multi-agent system optimization baselines across both closed-source and open-source backbone LLMs.
- Headline Results: OMAC outperformed the strongest competing baselines across every individual optimization dimension. Jointly optimizing multiple dimensions yielded multiplicative performance improvements compared to single-dimension tuning.
- Ablation Results: Disabling either the semantic generalizer or the contrastive comparator resulted in noticeable performance drops, verifying that both actors are necessary for effective meta-optimization.
- Computational Efficiency Mitigation: To address the high computational overhead associated with evaluating candidate agents across an entire training dataset, the authors demonstrated a simple yet effective optimization mitigation: random subsampling of the training data down to $40\%$ or $50\%$ for candidate evaluation. Experimental results confirmed that this subsampling strategy dramatically reduces computational costs while incurring only a minimal drop in performance.
Practical Implications
▶ Watch: Audience Q&A: Computational cost and efficiency (10:00)
For infrastructure teams, MLOps engineers, and system deployers, OMAC shifts multi-agent system design from manual heuristics to automated, principled engineering. Deploying complex MAS applications often involves fragile prompt engineering and static communication graphs that break down under distribution shifts. OMAC provides a systematic pathway to automatically co-optimize agent prompts, internal tools, and routing topologies.
However, practitioners must weigh specific tradeoffs and limitations:
- LLM Variance: Because OMAC relies heavily on the reasoning capabilities of backbone LLMs to drive its meta-optimization actors, the inherent diversity and output uncertainty of LLMs can introduce high variance into the optimization trajectory.
- Computational Overhead: Full dataset evaluation across multiple iterations is resource-intensive. Production deployments should adopt the framework's recommended data-subsampling techniques ($40\text{--}50\%$ subsets) to balance optimization fidelity with inference budgets.
- Scalability: Selecting which dimensions to co-optimize is critical; practitioners should prioritize dimensions that exhibit the highest single-dimension performance gains to maximize computational efficiency during joint optimization.
Key Takeaways
- Holistic Framework: OMAC unifies multi-agent system optimization by treating agent collaboration as an information flow over a graph, addressing both functional (nodes) and structural (edges) dimensions.
- Dual-Actor Meta-Optimization: The framework leverages a semantic generalizer to generate candidate pools and a contrastive comparator to synthesize superior agents via contrastive reasoning.
- Compound Performance Gains: Jointly optimizing multiple structural and functional dimensions iteratively yields significantly larger performance improvements than tuning dimensions independently.
- Broad Applicability: Validated across code generation, math/science reasoning, and tool-augmented task completion using both open-source and closed-source backbone LLMs.
- Cost-Efficient Evaluation: Computational bottlenecks caused by full-dataset evaluations can be effectively mitigated by random training set subsampling (e.g., $40\text{--}50\%$) with negligible performance degradation.
About the Speaker(s)
- Shijun Li (PhD student, University of Texas in Austin): PhD student at the University of Texas in Austin conducting research on LLM-based multi-agent collaboration optimization frameworks.
- Hilaf Hasson (Intuit): Collaborated on the research when at Intuit.
- Joydeep Ghosh: Advisor to Shijun Li on the multi-agent collaboration research.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026