From Attention to Disaggregation: Tracing the Evolution of LLM Inference
Madabattula Rajesh Kumar, Srinivasa Rao Aravilli, Mustafa Saify, Shashank Srivastava
TL;DR
This paper addresses the bottleneck of LLM inference at scale by arguing that traditional monolithic pipelines cannot meet latency, throughput, and cost targets as models reach trillions of parameters. It proposes disaggregated inference—decoupling compute-intensive prefill from memory-bound decode—guided by distributed-systems principles like service decomposition and workload partitioning, to enable independent optimization of TTFT, ITL, and TPOT. The core contributions include a survey of six architectural enhancements (KV Cache, Flash Attention, Speculative Decoding, Continuous Batching, Paged Attention, Radix Attention) and a comparative analysis of three disaggregated framework archetypes (DistServe, AIBrix, NVIDIA Dynamo), covering architecture, resource management, and data-transfer strategies. Collectively, these approaches demonstrate improvements in $TTFT$, $ITL$, and goodput, enabling practical, multi-tenant deployment of very large models with favorable cost-per-query at scale.
Abstract
The evolution of Large Language Models from the Transformer architecture to models with trillions of parameters has shifted the primary bottleneck from model training to real time inference. Deploying these massive models is a complex distributed systems challenge constrained by memory bandwidth, computational throughput, and latency requirements. LLM inference fundamentally requires solving a multi objective optimization problem to minimize latency, maximize throughput, and reduce cost. This paper explores the necessary architectural shift towards disaggregated inference, which applies distributed systems principles such as service decomposition, resource disaggregation, and workload partitioning to overcome the limitations of traditional monolithic GPU clusters. By decoupling the compute intensive prefill phase from the memory intensive decode phase into independently scalable components, this paradigm mitigates resource contention and enables independent optimization of key metrics like Time to First Token and Inter Token Latency.
