TL;DR
This paper introduces BOT-Orch, a lightweight framework for dynamically routing tasks to a heterogeneous team of AI agents or humans under uncertainty. By framing agent orchestration as a multi-armed bandit problem regularized by Optimal Transport (OT) distances, the system explicitly accounts for full output distributions rather than just average performance. The authors prove sublinear regret bounds and demonstrate that BOT-Orch significantly outperforms standard bandit baselines, particularly in non-stationary environments and human-AI triage scenarios under deployment shift.
What Problem Does This Paper Address?
Modern AI ecosystems increasingly rely on teams of specialized agents—ranging from distinct large language models (LLMs) to human experts—each possessing unique capabilities, operational costs, and reliability profiles. Effective orchestration requires a meta-controller to dynamically decide when and to whom a task should be delegated.
However, existing orchestration frameworks face a major bottleneck: they typically optimize only for mean performance or cost, ignoring the inherent uncertainty and higher-order distributional characteristics of an agent's outputs. Furthermore, classical multi-agent frameworks often assume perfectly known system models or scale poorly in complex, non-stationary environments where agent behavior evolves over time. This paper addresses the challenge of adaptive, uncertainty-aware orchestration under realistic resource and data constraints.
Methods
The authors propose BOT-Orch (Bandit-Optimal Transport Orchestrator), which recasts the delegation problem as a stochastic multi-armed bandit regularized by Optimal Transport.
Key components include:
- OT-Based Alignment Costs: Instead of evaluating agents purely on scalar metrics, BOT-Orch uses the Wasserstein distance to measure the geometric mismatch between an agent's full outcome distribution (e.g., error types, response latencies) and a task-specific reference distribution.
- Survival-Based Rewards: To robustly model agent reliability and latency, the framework incorporates a proportional frailty survival model. This accounts for unobserved task difficulty and right-censored data (e.g., tasks that time out before completion).
- Softmax Orchestration Policy: Agents are selected using an exponential-weights (Boltzmann) policy conditioned on historical rewards penalized by the OT alignment cost.
- Non-I.I.D. Extension: For changing environments, the algorithm integrates a history-dependent correction term (akin to a Robbins-Monro stochastic approximation) to adaptively track regime shifts and temporal correlations.
Datasets
The framework was evaluated across two main environments:
- Synthetic Benchmarks: Five distinct generative setups designed to isolate higher-order distributional properties and non-stationarity. These include stationary Gaussian (IID-G) and half-moons (IID-M) spaces, as well as three non-stationary regimes featuring piecewise-stationary variance shifts (NonIID-PS), sinusoidal mean drift (NonIID-SD), and Brownian-bridge dynamics (NonIID-BB).
- Semi-Synthetic Human-AI Triage: Utilizing the Breast Cancer Wisconsin (Diagnostic) dataset (569 patient cases, 30 numerical features). To simulate a real-world deployment shift, a subset of features in the test set was perturbed with additive Gaussian noise and bias. This setup evaluated the orchestrator's ability to route cases between an AI classifier and a simulated human expert with complementary strengths.
Key Insights and Ideas
- Beyond Mean Rewards: Standard bandit algorithms treat agents with identical mean rewards as interchangeable. BOT-Orch provably induces a preference ordering, favoring the agent whose output distribution aligns best geometrically with the task requirements.
- The Non-I.I.D. Phase Transition: In shifting environments, a low regularization penalty ($\lambda$) can backfire. It penalizes the alternative agent early on, causing its reward estimate to stagnate due to disuse. When a shift finally occurs, the orchestrator fails to redirect tasks. Performance recovers sharply only after $\lambda$ crosses a critical threshold, allowing the geometric OT signal to instantly override stale historical data.
- Emergent Targeted Escalation: In the human-AI clinical triage experiment, without being explicitly told that a deployment shift occurred, BOT-Orch naturally learned to increase its "escalation rate"—routing ambiguous, shifted patient cases to the human expert while keeping clean, in-distribution cases with the AI.
Key Results
BOT-Orch consistently achieved the highest cumulative net utility, lowest alignment costs, and lowest oracle regret across all experimental settings:
- Synthetic Tracking: In the continuously drifting environment (NonIID-SD), BOT-Orch cut the oracle regret nearly in half (~128.77) compared to standard multi-armed bandits like UCB1 (~279.54) and an ablation without OT (~280.53).
- Clinical Triage under Shift: In the non-i.i.d. deployment shift scenario, BOT-Orch achieved a team accuracy of 99.3%, vastly outperforming UCB1 (91.9%) and the No-OT baseline (90.5%). It also reduced cumulative oracle regret to a mere 0.59, compared to 10.14 for the No-OT baseline.
| Environment (Non-IID) | BOT-Orch (Ours) Net Utility | UCB1 (MAB) Net Utility | BOT-Orch Oracle Regret | UCB1 Oracle Regret |
|---|---|---|---|---|
| NonIID-PS (Variance Shift) | -498.28 ± 22.49 | -663.22 ± 27.77 | 126.77 ± 11.68 | 291.71 ± 14.45 |
| NonIID-SD (Sinusoidal Drift) | -492.92 ± 18.74 | -643.69 ± 17.20 | 128.77 ± 13.30 | 279.54 ± 11.52 |
Limitations and Future Work
- Computational Overhead: Computing Wasserstein distances can become prohibitively expensive in high-dimensional feature spaces, posing a challenge for real-time, low-latency applications.
- Hyperparameter Sensitivity: The alignment weight $\lambda$ requires careful tuning. If $\lambda$ is too high, the policy degenerates into a rigid, deterministic routing rule that completely ignores learned historical performance.
- Reference Dependency: The framework assumes the orchestrator has access to a clean, task-specific reference distribution, which can be difficult to reliably construct or estimate in unconstrained, open-world environments.
Future Directions: The authors point toward exploring more scalable, approximate OT solvers, developing automated calibration strategies for the alignment parameter, and expanding the framework from single-agent delegation to richer multi-agent collaboration and interaction spaces.
Summary updated