TL;DR
Modern Large Language Models (LLMs) are increasingly adopting "subquadratic attention" to handle massive context lengths efficiently. This paper introduces SubQuadratic Disaggregation (SQD), a fine-grained inference serving strategy that splits the LLM decode phase across DRAM-based GPUs and SRAM-only ASICs based on memory footprint scaling rather than strict operator types. SQD achieves up to a 56% improvement in energy efficiency and up to a 3.6x throughput speedup over state-of-the-art serving baselines.
What Problem Does This Paper Address?
LLM inference is split into two phases: prefill (processing the initial prompt) and decode (generating subsequent tokens one by one). While prefill is compute-bound and saturates GPU tensor cores, decode is notoriously memory-bound. During decode, expensive GPUs waste significant energy sitting idle while waiting to fetch model weights and Key-Value (KV) caches from memory.
To solve this, researchers have built heterogeneous systems that pair DRAM-based GPUs with ultra-fast, SRAM-only ASICs (like Groq's LPX architecture). SRAM-only chips have orders of magnitude higher bandwidth and energy efficiency, but very limited capacity. Existing disaggregation strategies split the workload crudely by operator type—for example, keeping all attention operations on the GPU and offloading the Feed-Forward Network (FFN) to the ASIC. However, this creates a massive bottleneck: activations must be transferred back and forth across the interconnect twice per token for every single layer.
Meanwhile, frontier LLMs are shifting away from standard dense (quadratic) attention toward subquadratic attention variants (sparse, linear, or sliding-window attention). The authors address a critical gap: existing inference systems do not exploit the unique arithmetic intensity and static memory footprints of these modern subquadratic LLM architectures.
Methods
The authors propose SQD (SubQuadratic Disaggregation), which splits the decode phase based on how an operator's memory footprint scales with context length:
- Quadratic Stages: Operators whose memory footprints grow with context length (such as dense attention layers or top-k sparse selection indexers) are kept on the DRAM-based GPU. This allows them to be colocated with the prefill phase and share the same KV cache.
- Subquadratic Stages: Operators with low arithmetic intensity and static memory footprints (such as top-k attention, linear recurrence states, sliding-window attention, and FFNs) are offloaded to the SRAM-only ASIC pool.
Because modern subquadratic LLMs only use quadratic attention every few layers, SQD drastically reduces interconnect traffic. Instead of transferring activations twice per token per layer, SQD only transfers them twice per token per layer group (e.g., every 4 or 6 layers).
Additionally, for sparse attention models (like GLM-5.2), SQD introduces IndexShare, a latency-aware top-k sparse attention caching mechanism. IndexShare exploits token selection locality across layers to prefetch and cache top-k values directly on the ASIC, effectively hiding interconnect latency behind compute.
Datasets
To evaluate SQD under realistic user behaviors, the authors used real agentic traces recorded from four long-context benchmarks:
- AgentTrove Math: For multi-step reasoning.
- $\tau^2$-bench Retail: For tool-use and conversational agents.
- SWE-bench Pro (Codex): For software engineering tasks.
- TerminalBench: For terminal-driven agent interactions.
These traces were evaluated across three workload scenarios: Chat (32K context), RAG (256K context), and Agentic (1M context) using frontier models including GLM-5.2, Nemotron 3 Ultra, and Gemma 4 31B.
Key Insights and Ideas
- Decode Fits SRAM Perfectly: While subquadratic attention and FFNs are memory-bound on traditional GPUs, their arithmetic intensity aligns precisely with the "ridge point" of SRAM-only ASICs, maximizing hardware utilization.
- Architectural Trends Mitigate Interconnect Bottlenecks: By recognizing that modern models interleave dense and subquadratic layers, SQD turns a per-layer communication bottleneck into a sparse, per-layer-group transfer.
- Top-K Selection is Highly Predictable: In sparse attention models, the tokens selected by the indexer concentrate heavily into specific context bands that persist across consecutive decode steps. This locality makes small on-chip caches highly effective.
- Latency Trumps Bandwidth: Heterogeneous disaggregation performance is highly sensitive to interconnect latency rather than bandwidth. Because the transferred activation chunks are small, minimizing wire and dispatch overhead is critical to keeping the ASIC from stalling.
Key Results
- Energy Efficiency Gains: Tested on an adjusted 8xB200 proxy system, SQD draws only 57% of stock system power while retaining 63-97% of decode throughput. This translates to average tokens/Joule improvements of 53% on GLM 5.2, 31% on Nemotron 3 Ultra, and 56% on Gemma 4 31B over the strongest GPU-only baselines.
- Throughput and Latency Speedups: In an analytical model of a next-generation NVIDIA Rubin GPU + Groq-3 LPX ASIC system, SQD achieves 1.2x to 1.5x tighter achievable latencies and up to 3.6x higher throughput over standard Attention-FFN disaggregation.
Limitations and Future Work
- Strict Capacity Limits: SRAM-only ASICs are strictly capacity-bound. If a model's static footprint (weights + subquadratic state) exceeds the available on-chip SRAM, the system cannot execute it without adding more chips, which introduces sub-linear scaling overheads.
- Dependency on Model Architecture Trends: SQD’s communication savings rely entirely on the architectural trend of models using fewer quadratic layers. If an LLM architecture reverts to using dense attention at every layer, SQD's advantages over standard disaggregation diminish.
- Hardware Emulation: The physical hardware evaluation relied on a throttled B200 GPU proxy system to emulate the SRAM ASIC's compute-to-bandwidth ratio. Full validation awaits production-grade physical deployments of combined Rubin+LPX racks.
Summary updated