Cascade-Aware Multi-Agent Routing: Spatio-Temporal Sidecars and Geometry-Switching
Abstract
Advanced AI reasoning systems route tasks through dynamic execution graphs of specialized agents. We identify a structural blind spot in this architecture: schedulers optimize load and fitness but lack a model of how failure propagates differently in tree-like versus cyclic graphs. In tree-like regimes, a single failure cascades exponentially; in dense cyclic regimes, it self-limits. A geometry-blind scheduler cannot distinguish these cases. We formalize this observability gap as an online geometry-control problem. We prove a cascade-sensitivity condition: failure spread is supercritical when per-edge propagation probability exceeds the inverse of the graph's branching factor (p > e^{-γ}, where γis the BFS shell-growth exponent). We close this gap with a spatio-temporal sidecar that predicts which routing geometry fits the current topology. The sidecar comprises (i) a Euclidean propagation scorer for dense, cyclic subgraphs, (ii) a hyperbolic scorer capturing exponential risk in tree-like subgraphs, and (iii) a compact learned gate (133 parameters) that blends the two scores using topology and geometry-aware features. On 250 benchmark scenarios spanning five topology regimes, the sidecar lifts the native scheduler's win rate from 50.4% to 87.2% (+36.8 pp). In tree-like regimes, gains reach +48 to +68 pp. The learned gate achieves held-out AUC = 0.9247, confirming geometry preference is recoverable from live signals. Cross-architecture validation on Barabasi-Albert, Watts-Strogatz, and Erdos-Renyi graphs confirms propagation modeling generalizes across graph families.
Figures & tables
| Feature | Definition | Scope | |
| Edge-surplus ratio | Global | ||
| Reciprocal ratio | Fraction of bidirectional edges | Global | |
| Triangle density | Closed triplets / possible triplets | Global | |
| Route crosslink ratio | Excess route-local edges / route | Route | |
| Route load mean | Mean node load over active route | Route | |
| Route length norm | Route / total | Ratio |
| Model | Margin | Win% | Note |
|---|---|---|---|
| Genesis 3 native (no sidecar) | Load fitness only | ||
| Euclidean | Euclidean propagation | ||
| NetworkX external | External graph baseline | ||
| Structural baseline | Centrality + load + 2-hop | ||
| Hand-designed switching | Cycle-rank threshold | ||
| Learned gate ( ) | Tied best win rate |
| Fixed hyperbolic | Learned gate | |||
|---|---|---|---|---|
| Regime | Margin | Win% | Margin | Win% |
| non_tree | – | – | ||
| mixed | – | |||
| Regime | Native | Sidecar | |
|---|---|---|---|
| clean | pp | ||
| noise | pp | ||
| churn | pp | ||
| non_tree | pp | ||
| mixed | pp | ||
| Overall | pp |
| Component | Model row | Win% | Margin | Interpretation |
|---|---|---|---|---|
| Neither | Native | Geometry-blind; essentially random | ||
| Temporal only | Euclidean | Temporal propagation without spatial awareness adds noise and underperforms native | ||
| Spatial only | Structural baseline | Graph structure (centrality, 2-hop) is the decisive signal | ||
| Spatio-temporal | Learned gate | Adaptive geometry preserves win rate and improves separation margin by |
| Regime | AUC | Acc.% | ECE | Pos. rate | |
|---|---|---|---|---|---|
| Overall | 250 | .925 | 86.4 | .068 | 74.4% |
| clean | 50 | .923 | 84.0 | .046 | 80.0% |
| noise | 50 | .946 | 84.0 | .084 | 76.0% |
| churn | 50 | .726 | 76.0 | .120 | 64.0% |
| non_tree | 50 | .964 | 92.0 | .075 | 88.0% |
| mixed | 50 | .938 | 96.0 | .080 | 64.0% |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
|---|---|
| Execution graph at time | |
| Timestamped failure-event history | |
| , | Base and burst-augmented failure intensity |
| , , | Euclidean, hyperbolic, and blended route-risk scores |
| Structural feature map for the geometry gate | |
| Gate output: hyperbolic preference probability |
| Regime | Model | Margin CI | Win-rate CI |
|---|---|---|---|
| Overall | Native | ||
| Overall | Structural baseline | ||
| Overall | Learned | ||
| Overall | Hyp. no excitation | ||
| clean | Native | ||
| clean | Learned |
| Protocol | Sidecar win% | Sidecar margin | Native win% |
|---|---|---|---|
| severity_load | |||
| load_matched | |||
| random |
| Pair | Pearson | Spearman | Heuristic expectation |
|---|---|---|---|
| vs. (shell-growth) | Weak / mixed signal | ||
| vs. (cycle-rank) | More cycles larger | ||
| vs. (curvature) | Higher fitted curvature smaller | ||
| vs. hyp. margin | Larger reduced hyperbolic advantage |
| Scorer | Mean ( s) | Median | p95 | Peak mem. (KB) |
|---|---|---|---|---|
| Native (no sidecar) | ||||
| Structural baseline | ||||
| Euclidean | ||||
| Geometry switching | ||||
| Learned sidecar | ||||
| NetworkX external |
| Family | Euclidean | Structural | NetworkX | Learned |
|---|---|---|---|---|
| BA tree-like | ||||
| WS small-world | ||||
| ER dense |
| Condition | Win% | Margin | Margin 95% CI |
|---|---|---|---|
| Full 9-feature | |||
| Remove | |||
| Remove | |||
| Remove | |||
| Topology only ( – ) | |||
| Geometry only ( – ) |
LLM Agent Routing
LLM agent routing selects models, tools, skills, or collaboration workflows for each task or step to balance capability, cost, latency, and reliability.
See all 96 papers