Agreement-Based Cascading for Efficient Inference
Steven Kolawole, Don Dennis, Ameet Talwalkar, Virginia Smith
TL;DR
This work tackles the high cost of inference with large models by proposing Agreement-Based Cascading (ABC), a training-free, drop-in cascade that routes data to cheaper models based on agreement among ensembles at each tier. ABC leverages simple voting or scoring-based deferral rules to decide when to escalate to larger models, balancing accuracy with inference cost, and it demonstrates competitive or superior accuracy while reducing overall compute. The authors provide formal definitions of safe deferral and prove that ABC can be cost-competitive under realistic conditions, then validate the approach across image and language tasks. Real-world case studies show substantial cost savings in edge-to-cloud, heterogeneous GPU serving, and black-box API contexts, highlighting ABC's practicality and impact for scalable AI deployments.
Abstract
Adaptive inference schemes reduce the cost of machine learning inference by assigning smaller models to easier examples, attempting to avoid invocation of larger models when possible. In this work we explore a simple, effective adaptive inference technique we term Agreement-Based Cascading (ABC). ABC builds a cascade of models of increasing size/complexity, and uses agreement between ensembles of models at each level of the cascade as a basis for data-dependent routing. Although ensemble execution introduces additional expense, we show that these costs can be easily offset in practice due to large expected differences in model sizes, parallel inference execution capabilities, and accuracy benefits of ensembling. We examine ABC theoretically and empirically in terms of these parameters, showing that the approach can reliably act as a drop-in replacement for existing models and surpass the best single model it aims to replace in terms of both efficiency and accuracy. Additionally, we explore the performance of ABC relative to existing cascading methods in three common scenarios: (1) edge-to-cloud inference, where ABC reduces communication costs by up to 14x; (2) cloud-based model serving, where it achieves a 3x reduction in rental costs; and (3) inference via model API services, where ABC achieves a 2-25x reduction in average price per token/request relative to state-of-the-art LLM cascades.
