cs.CLFeb 23, 2026

Pyramid MoA: A Probabilistic Framework for Cost-Optimized Anytime Inference

Authors: Arindam Khaled

Organizations: Independent Researcher

Abstract

We observe that LLM cascading and routing implicitly solves an anytime computation problem -- a class of algorithms, well-studied in classical AI, that improve solutions as additional computation is allocated. We formalize this connection and propose Pyramid MoA, a hierarchical Mixture-of-Agents architecture governed by a decision-theoretic router that escalates queries only when necessary. We establish a Probabilistic Anytime Property with provable monotonicity guarantees and derive a generalized escalation rule from Value of Computation theory that accounts for imperfect oracles, extending the Hansen-Zilberstein monitoring framework to stochastic LLM inference. On MBPP, the router intercepts 81.6% of bugs; on GSM8K/MMLU, the system nearly matches the 68.1% Oracle baseline while achieving up to 42.9% compute savings. The router transfers zero-shot to unseen benchmarks: matching Oracle accuracy on HumanEval (81.1%) and MATH 500 (58.0%) with significant cost reductions. We further discover a context-conditioned anchoring effect across four benchmarks: passing correct SLM reasoning improves Oracle accuracy by up to +19.2pp, while incorrect reasoning degrades it by up to -18.0pp, revealing a fundamental tension in hierarchical MoA architectures.

Figures & tables

Explore similar work

CardsList
  1. ReM-MoA: Reasoning Memory Sustains Mixture-of-Agents Scaling

    Jun 23, 2026Heng Ping, Arijit Bhattacharjee, Peiyu Zhang +5Multi-Agent System OptimizationLLM Agent Memory

  2. Signed Rescue Routing: Harm-Aware Cascades for Efficient LLM Inference

    Sep 7, 2026Zheyuan Wang, Siyu Li, Peiqiao Song +3LLM Inference EfficiencyLLM Routing

  3. RLCascadeRouter: Quality-Estimator-Free Cascade Routing via Reinforcement Learning

    Aug 16, 2026Shihong Huang, Shengjie Wang, Hong Ma +1LLM RoutingLanguage Model Cascading