Not Every Input Needs Everything: Unifying Expert Gating, Model Cascades, and Agent Orchestration
Authors: Dat Tat Mai, Hung Tran Quy, Thai Viet Pham, James Jin Kang
Organizations: School of Science, Engineering & Technology, RMIT University Vietnam, Ho Chi Minh City 700000, Vietnam · School of Computing Technologies, RMIT University, Melbourne, VIC 3000, Australia
Executing monolithic neural weights, frontier foundation models, or entire multi-agent workflows uniformly on every input incurs substantial computational, latency, and monetary overhead. Conditional computation mitigates this cost by deciding dynamically which internal experts, model endpoints, or specialized agents to invoke per request. Yet token-level gating in sparse neural architectures, query-level model cascades, and task-level multi-agent coordination have largely progressed in disconnected research silos, obscuring recurring system failures and transferable fixes. In this systematic review, we synthesize 2,289 studies published between 2017 and September 2026 (selected from 13,884 unique records) across 20 methodological families under a unified two-step inspect-then-allocate framework. Discrete hard selection accounts for 70%, 83%, and 91% of token-, query-, and task-scale literature respectively, and computational overhead appears as a top operational bottleneck across every layer. Engineering safeguards remain sharply asymmetric: intra-layer gating prioritizes load balancing while rarely incorporating uncertainty estimation, whereas model selection and agent orchestration rely on confidence thresholds and budget rules while confronting miscalibration and cascading errors. At the same time, publication volume is accelerating fastest in agentic task delegation, where routing mechanisms are least often isolated experimentally and methodological bias risk is highest.
Figures & tables
Figure 1: Unified inspect-then-allocate view of AI routing across token, query, and task scales. At each scale, routing decouples into input inspection, a decision engine, and resource allocation, while primary objectives and failure modes diverge.
Review area
Scope
Gap addressed here
Sparse expert models [ 8 ]
Sparse MoE architectures, routing algorithms, training stability, expert parallelism.
No routing among models or agents; no cross-scale synthesis.
Routing and cascading among language models [ 9 ]
Pre- and post-generation routing, cascades, cost–quality optimization.
Models treated as endpoints; no link to token-level gating or agents.
Model MoErging [ 26 ]
Recycling and routing among separately trained expert models.
Bridges token and model scales only; no risk-of-bias appraisal.
Allocation not analyzed as routing; no cross-scale failure comparison.
Dynamic neural networks [ 38 ]
Dynamic depth, width, early exit, and conditional computation.
Intra-network focus; no connection to query or agent scales.
Table 1: Reviews closest to the scope of this survey.
Figure 2: PRISMA 2020 flow diagram. All decisions and reasons are listed in Supplementary S1b and S3.
Figure 3: Included reports per year by routing scale (reports dated 2027 are forthcoming issues published online within the search window).
Strand
Reports (all / database)
Typical routers and units
S1 Token-scale MoE
1,198 / 1,191
Learned gates over FFN or adapter experts; top- k , expert choice, shared and fine-grained experts.
S2 Query-scale routing and cascades
533 / 532
Classifiers, LLM-as-router and threshold cascades over model pools; cost-aware selection.
S3 Task-scale multi-agent systems
374 / 371
Orchestrators, delegation policies and topology search over agents and roles.
S4 Gating and conditional computation
184 / 183
Soft and modulatory gates, depth and compute allocation, neuro-inspired gating.
Total
2,289 / 2,277
Strands overlap in content; each report is counted under its first matching strand.
Table 2: Included reports by search strand.
Figure 4: What the router inspects against what it allocates (number of included reports; a report can count in several cells).
Dimension
Token scale ( n=1,163 )
Query scale ( n=672 )
Task scale ( n=314 )
Inspected context
Token hidden state (81%); input features of non-language tasks (18%)
Query text or embedding (63%); cost or latency signals (35%); model outputs or confidence (32%)
Task state, plan or history (68%); agent descriptors (44%); query text (42%)
Allocated units
Experts (FFN, attention, adapter)
Models or endpoints
Agents or roles
Most common router form
Learned gate (79%)
Trained classifier or reward model (30%)
LLM-as-router (22%)
Typical objective
Quality under a compute budget
Cost–quality–latency trade-off
Task success and efficiency of the trajectory
Hard selection
70%
83%
91%
Table 3: The two-step router at the three scales (characteristic values from the extracted data; percentages of reports at that scale).
Figure 5: Hard, hybrid and soft selection by routing scale (percentage of reports at each scale).
Property
Hard selection (top- k , single choice, cascade)
Soft or hybrid selection (dense weighting, merging, fusion)
Share of reports (token / query / task)
70% / 83% / 91%
30% / 17% / 9%
Active compute
Bounded by k/N or chosen model
Dense, slot-bounded or adaptively sparse
Differentiability
Needs surrogate gradients or separate training
Differentiable end to end
Load imbalance
Needs balancing losses, biases or capacity limits
Reduced or avoided by construction
Reported direction vs. own baseline
Better quality
68% of reporting (62% of all reports)
86% of reporting (76% of all reports)
Table 4: Properties usually attributed to hard and soft selection, with the share of included reports at each scale.
Figure 6: Mitigations reported alongside each failure mode (percentage of reports that describe the failure mode and also report the mitigation; co-occurrence, not causation).
Token
Query
Task
Failure modes
Cost, latency, memory or communication overhead
53
63
70
Misrouting, miscalibration or weak routing signal
40
75
52
Data dependence, overfitting or limited generalisation
23
52
29
Routing collapse or loss of specialisation
47
14
6
Instability (routing fluctuation, training divergence)
38
16
21
Table 5: Failure modes and mitigations by routing scale (percentage of included reports at each scale).
Figure 7: Benchmark families by routing scale (percentage of reports at each scale; names harmonised to standard benchmarks and families).
Figure 8: Position map of the approach families: emergence (growth relative to the field, last twelve months against the twelve months before) against the number of included reports. Bubble size: reports; colour: routing scale. Family codes as in Table 6 .
Family
n
Earlier / last
Emergence [95% CI]
Better quality %
Lower compute %
Lower latency %
Code %
A1 LLM orchestrator
70
16 / 50
+0.2 [-0.6, 1.0]
83 (72–90)
52 (38–66)
61
49
A2 workflow / topology search
102
25 / 75
+0.1 [-0.5, 0.8]
86 (78–91)
71 (60–80)
72
47
A3 RL / bandit delegation policy
33
2 / 30
+2.2 [0.3, 4.0]
88 (72–95)
67 (47–82)
62
36
A4 rule-based / fixed delegation
50
2 / 45
+2.8 [0.9, 4.6]
70 (56–81)
54 (38–70)
54
42
A5 learned agent router
41
8 / 28
+0.3 [-0.8, 1.4]
78 (63–88)
79 (60–91)
40
27
A6 other task routing
18
2 / 14
+1.1 [-0.8, 3.0]
93 (70–99)
67 (30–90)
80
39
Table 6: Approach families: size, growth and direction of reported effects (synthesis without meta-analysis). Earlier / last: reports in 26 Sep 2024–25 Sep 2025 / 26 Sep 2025–25 Sep 2026. Emergence: log 2 ratio with 95% interval. Better quality and lower compute: % of reports with a reported direction (95% Wilson interval). Outcome-specific denominators vary due to selective reporting (quality reported in 93.5% of studies, compute in 73.5%, latency in 37.1%; family-specific raw k/m/n counts and contingency tables are fully tabulated in Supplementary Table S13 and S4c).
Figure 9: Synthesis without meta-analysis: proportion of reports with better quality (left) and lower compute (right) than their own baseline, by approach family (95% Wilson intervals; n = reports with a reported direction).
Figure 10: Quality–efficiency trade-off across approach families: proportion reporting better quality against proportion reporting lower compute or cost (95% Wilson intervals on both axes).
Figure 11: Risk of bias of the reported comparisons (RoB-Route v2), by domain and overall, for all included reports with an empirical comparison ( n=2,184 ). The overall judgement is computed from D1, D3 and D4 (Section 3.10 ).
Finding
Reports
Concerns
Certainty
Hard selection dominates at every scale; soft and hybrid selection are concentrated at the token scale
2,289
Verified across double extraction and audit samples (one level for indirectness)
Moderate
Overhead and misrouting are reported at all scales; collapse and load imbalance mainly at the token scale, error propagation at the task scale
2,289
Failure modes are as reported in primary studies, often not quantitatively measured; moderate category coding variability ( κ 0.40–0.92, lowest for error propagation) (two levels)
Low
Task-scale delegation by rules or by reinforcement learning or bandits are the fastest-growing families
83
Very small counts in the earlier window (2 reports each; imprecision, two levels); ranking stable in all sensitivity analyses except six-month windows
Low
Within the token scale, combining families more often report quality gains and less often compute gains than learned top- k gates; skipping and assignment families the reverse
1,163
Risk of bias (38% high); 10 token-scale contrasts survive FDR correction; own-baseline comparisons (indirectness); family assignment reproduced in 69% of reports; robust to sensitivity analyses, including excluding high-risk reports
Low
The same contrast at the query scale (output fusion against trained classifiers)
672
Risk of bias; indirectness; imprecision (quality contrast not significant; compute q=0.048 , latency q=0.09 after FDR correction)
Very low
LLM orchestrators less often report compute gains than workflow search
172
Not significant after FDR correction ( q=0.10 ); risk of bias (48% high at the task scale; 64% for orchestrators); indirectness; imprecision
Very low
Table 7: Certainty of the main findings (GRADE adapted to a synthesis without meta-analysis). Ratings start at high and are lowered by one level for each serious concern. Confirmed by the review authors.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Ref.
Stage
Description and Methodological Rationale
A1
Screening
IN2 refined before data extraction to clarify boundaries between core routing algorithms and peripheral downstream applications; operationalized with the “two to exclude” dual-consensus rule.
A2
Extraction
Dropped planned extraction subset of highly cited papers; all 2,289 included reports were extracted from full text. The 386 most-cited reports were retained as the primary seed set for backward citation searching.
A3
Citation search
Extended citation chasing from the 386-paper seed to all included reports, incorporating OpenAlex alongside Semantic Scholar to ensure indexing saturation.
A4
Full text
Introduced mandatory dual-reviewer confirmation for full-text exclusions and established exclusion code EX9 for withdrawn/retracted preprints ( n=14 ).
A5
Corpus re-check
Following adjudication of the 28 borderline pilot edge cases, established formal consensus rules and executed a corpus-wide IN2 re-assessment, excluding 430 non-routing application studies.
A6
Quality appraisal
Upgraded initial 5-domain reproducibility checklist to a tailored 6-domain risk-of-bias instrument (RoB-Route) with explicit signalling questions addressing ML benchmark comparability and leakage.
Appendix
Table 8: Chronological record of protocol refinements and adaptations.
Scenario
Reports
ρ
T2 quality
T1 compute
Q5 compute
A1 compute
Primary
2,289
-0.54
2.92 (1.55–5.48)
3.74 (1.90–7.36)
0.44 (0.24–0.83)
0.44 (0.20–0.94)
Named venue only
1,058
-0.13
5.85 (1.74–19.63)
4.40 (1.46–13.27)
0.52 (0.24–1.15)
0.18 (0.04–0.95)
Dated to the month only
2,020
-0.50
3.00 (1.51–5.96)
4.14 (1.97–8.70)
0.38 (0.19–0.76)
0.48 (0.22–1.08)
Full-text basis only
2,286
-0.53
2.92 (1.55–5.48)
3.74 (1.90–7.36)
0.44 (0.24–0.83)
0.44 (0.20–0.94)
Excluding high risk of bias
1,450
-0.52
4.30 (1.51–12.25)
4.24 (1.92–9.36)
0.37 (0.17–0.81)
0.57 (0.20–1.66)
Appendix
Table 9: Sensitivity analyses of the approach-family synthesis across five methodological scenarios (Appendix B ). Odds ratios (95% CI) for reporting an improvement, adjusted for year, against the reference family of the primary analysis (T5 learned top- k gates; Q1 trained classifiers; A2 workflow or topology search). ρ : Spearman correlation across families between the shares reporting better quality and lower compute.
Figure 12: Position map: emergence against the proportion of reports with lower compute or cost than their own baseline (95% Wilson intervals). The dashed horizontal line is the median across families (Appendix B ).
Mixture-of-Experts (MoE) architectures scale language models efficiently by activating only a few experts per token, but the saving is confined to computation: every expert must stay resident on the accelerator, so memory bounds where these models can be deployed. Expert pruning reduces this footprint, yet existing methods are static --- a single mask, calibrated offline, is applied to the model for every subsequent request. This assumption can fail when the workload is heterogeneous, most prominently in multi-agent systems, where one backbone serves many tasks and roles at once: our analysis shows that different tasks and roles recruit different experts, while static methods assign one fixed subset to all of them. We therefore propose Dynamic Expert Pruning (DEP), which rests on a finding we establish here: an agent's system and task prompts are by themselves sufficient to identify the experts that agent and its task require, since that text already describes what the agent will do. A lightweight predictor, trained once on workflow transcripts, turns those prompts into a specialized per-request mask in a single forward pass, with no per-configuration calibration. Across diverse tasks and roles, model scales, and MoE architectures, DEP achieves better overall accuracy than static pruning and merging baselines, and generalizes to workflows unseen in training without retraining. Its margin over those baselines is largest when few experts are retained, suggesting that the role specialization inherent to multi-agent systems permits sparser serving than static pruning allows.
Jabin Koo, Soheil Abbasloo, Sungjae Lee +1
Pohang University of Science and Technology (POSTECH) · Microsoft Research Asia
Multi-agent ensembling multiplies active parameters and inference cost without answering three basic questions: which agents to consult, how deeply a query should traverse a hierarchy of agents, and when inter-agent communication is worth its cost. We present GRADE (Gated Routing and Adaptive Depth for Efficient Reasoning), a hierarchical multi-agent system in which four lightweight learned gates jointly govern agent selection, hierarchy depth, inter-agent communication, and branch pruning. Training uses CoGRPO (Collaborative Group-Relative Policy Optimization), a novel critic-free recipe that adapts GRPO to multi-agent hierarchies and assigns a shared advantage signal to every gate and agent that participated in a rollout. Agent models are drawn from a hot-swappable Expert Registry; per-agent calibration maps allow experts to be replaced at inference time without retraining. At ∼17B average active parameters, GRADE outperforms all baselines on GSM8K, MMLUPro, and GPQA, surpassing the strongest baseline by 4.8 points on MMLUPro at half the active compute. On AIME-2025, where model depth dominates, GRADE remains competitive to existing frameworks. Ablations isolate the hierarchy and masked cross-attention as the largest contributors to accuracy, and show that per-agent calibration is necessary for safe hot-swapping.
Sudipto Ghosh, Tanmoy Chakraborty
Yardi School of Artificial Intelligence, Indian Institute of Technology Delhi · Department of Electrical Engineering, Indian Institute of Technology Delhi
Large language models spend the same amount of computation on every token they generate, regardless of how difficult each token is to produce. Methods such as speculative decoding and model routing are built on the premise that much of this computation is unnecessary, yet the computation an individual token actually requires has not been measured. We measure it through a Mixture-of-Agents (MoA) lens: a panel of fifteen language models of increasing capacity, drawn from three families, in which every agent attempts to reproduce a reference sequence token by token, conditioned on the correct preceding tokens. We define the inference cost of the smallest agent that succeeds as the token's sufficient compute, which upper-bounds what the token requires. On three core benchmarks, a 0.5B agent reproduces 92--95% of reference tokens. Across Qwen, OLMo, and R1-distilled panels, the most expensive 10% account for 64--80% of estimated FLOPs. On all 500 MATH-500 problems, the MoA-derived map helps model routing reduce projected latency from 7.59 to 5.12 seconds while slightly improving accuracy, relative to the best confidence-routing baseline. The MoA-map helps drafting use 32.6% fewer draft tokens and approximately 20% lower projected latency than fixed-window drafting at similar accuracy. These comparisons reveal remaining allocation headroom, motivating controllers that exploit sufficient-compute structure.