Papers & systems
35 papers in reading order
Read top to bottom. Papers in the same row can be read in any order.
Start here
Attention Is All You Need
Vaswani et al. · 2017
Replaces recurrence with attention so every token can look at every other token in one step. Every later language model paper assumes you know this one.
Then 2
Scaling Laws for Neural Language Models
Kaplan et al. · 2020
Fits loss as a power law in parameters, data, and compute across several orders of magnitude. It turns model sizing from a guess into a calculation.
Root Mean Square Layer Normalization
Zhang and Sennrich · 2019
Drops mean centering from LayerNorm and keeps only the scale, with no loss in quality and less compute. The normalizer in Llama and most current decoders.
FlashAttention
Dao et al. · 2022
Computes exact attention in tiles that fit in SRAM, never materializing the full score matrix. Read it to understand why attention is bound by memory traffic, not FLOPs.
GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints
Ainslie et al. · 2023
Shares key and value heads across groups of query heads to shrink the KV cache with little quality loss. Explains a knob in nearly every current model config.
Orca: A Distributed Serving System for Transformer-Based Generative Models
Yu et al. · 2022
Schedules at the iteration level so new requests join a batch as others finish, instead of waiting for the slowest sequence. The origin of continuous batching.
Fast Inference from Transformers via Speculative Decoding
Leviathan, Kalman, and Matias · 2023
A small model drafts several tokens and the large model verifies them in one pass, with no change to the output distribution. Read it to see where decode latency can actually be recovered.
Then 3
ZeRO: Memory Optimizations Toward Training Trillion Parameter Models
Rajbhandari et al. · 2020
Partitions optimizer state, gradients, and parameters across data-parallel workers so each GPU holds only its slice and per-device memory falls as you add devices. The technique behind FSDP and DeepSpeed.
DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
DeepSeek-AI · 2024
Introduces Multi-head Latent Attention: compress keys and values into one low-rank latent and cache that instead of the heads. GQA shrinks the cache by a constant factor, MLA changes its shape, and every later cache design answers this paper.
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon et al. · 2023
Stores the KV cache in fixed-size blocks behind a page table, ending fragmentation and allowing sharing across sequences. The memory model inside vLLM.
FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
Tri Dao · 2023
Reworks the loop order and warp partitioning so the tiled kernel spends more of its time in matrix multiplies. Read it to see how kernel details turn into throughput.
Ring Attention with Blockwise Transformers for Near-Infinite Context
Liu, Zaharia, and Abbeel · 2023
Passes KV blocks around a ring of devices while each computes its local attention tiles, so context length scales with device count. The basis of long-context training.
EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test
Li et al. · 2025
Drops feature prediction for direct token prediction and fuses low, middle, and high layers of the target model, so the draft head keeps improving as training data grows. The speculation baseline in vLLM, SGLang, and TensorRT-LLM.
SuffixDecoding: Extreme Speculative Decoding for Emerging AI Applications
Oliaro et al. · 2024
Drafts from a suffix tree built over past outputs instead of a draft model, so it costs no GPU memory and gets stronger the more repetitive the traffic is. The speculation method that fits agent loops and pipelines.
Defeating Nondeterminism in LLM Inference
Horace He and Thinking Machines Lab · 2025
Temperature zero is not deterministic, because matmul, RMSNorm, and attention kernels change their reduction order with the batch size around them. Reproducibility turns out to be purchasable, and this is the price list.
Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
Snell et al. · 2024
Spending more compute at inference can beat spending it on a larger model, which puts the serving budget on the quality path and not only the cost path. Pair it with s1 (arXiv 2501.19393) for the simplest version of the same lever.
Then 4
From Tensor Buffer to Distributed Memory Hierarchy
Li, Wang, and Chen · 2026
Organizes KV cache techniques by where the cache lives, from a single tensor to a distributed memory hierarchy. A map for placing every other inference paper.
vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention
Prabhu et al. · 2024
Keeps the KV cache contiguous in virtual memory and lets the GPU's own paging handle fragmentation, so the attention kernel needs no block table at all. Read it as the argument that PagedAttention solved a real problem in the wrong layer.
MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
Jiang et al. · 2024
Sorts each attention head into one of three sparse shapes offline, then builds the index online so a million-token prefill skips most of the score matrix. The time-to-first-token half of long context, which tiling alone never fixes.
Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
Yuan et al. · 2025
Splits attention into compression, selection, and sliding-window branches that the model trains with from the first step, rather than a mask applied to a finished model. The case for sparsity the weights have already adapted to.
Hardware-Efficient Attention for Fast Decoding
Zadouri, Strauss, and Dao · 2025
Derives decode speed from arithmetic intensity and KV bytes per token, then designs Grouped Latent Attention to fit that budget. The clearest statement of decode as a bandwidth problem with a fixed allowance per token.
MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelism
Zhu et al. · 2025
Sparse experts turn the feed-forward network from compute-bound into memory-bound, so attention and FFN move onto separate machines fed by a ping-pong pipeline. The systems bill that arrives once every frontier model is an MoE.
Arctic Inference with Shift Parallelism: Fast and Efficient Open Source Inference System for Enterprise AI
Rajbhandari et al. · 2025
Changes parallelism strategy with the traffic rather than committing a deployment to either latency or throughput, and adds SwiftKV to halve prefill compute by reusing early-layer hidden states. By the author of ZeRO, one rung below.
On Evaluating Performance of LLM Inference Serving Systems
Agrawal et al. · 2025
Catalogues the mistakes that make serving benchmarks report the wrong winner, from bad load generators to metrics averaged across phases. Read it before you trust a throughput number, including your own.
Inference economics of language models
Erdil et al. · 2025
Models the latency and cost frontier a deployment can reach given bandwidth, batch size, and parallelism, instead of quoting one benchmark. The bridge from the kernels above to the number a business actually pays.
Then 5
MoBA: Mixture of Block Attention for Long-Context LLMs
Lu et al. · 2025
Gates each query to a few key blocks the way an MoE layer routes to experts, and switches back to full attention without retraining. Published the same month as Native Sparse Attention by a different lab, which makes the design space visible.
DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models
DeepSeek-AI · 2025
A lightning indexer scores the query against compressed keys, the top blocks are selected, and only those are attended. The first fine-grained sparse attention shipped in a frontier open model, with the kernels released in FlashMLA and DeepGEMM.
Gated Delta Networks: Improving Mamba2 with Delta Rule
Yang, Kautz, and Hatamizadeh · 2024
Pairs a gated decay with the delta rule so a fixed-size recurrent state can both forget and overwrite, which is what earlier linear attention could not do. The primitive that ended up inside Qwen3-Next and the hybrids after it.
Prefill-as-a-Service: KVCache of Next-Generation Models Could Go Cross-Datacenter
Qin et al. · 2026
Takes disaggregation past the rack and asks what happens when a KV cache crosses a datacenter boundary. From the Mooncake authors, and the argument that the cache, not the model, is the thing worth moving.
Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization
Egiazarian et al. · 2025
Explains why NVFP4's small blocks neutralize the usual outlier tricks and why MXFP4's power-of-two scales cost accuracy, then closes the gap with block-wise rotation. The paper that makes the 4-bit format choice a decision rather than a default.
Then 6
DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
DeepSeek-AI · 2026
Interleaves Compressed Sparse Attention with a far more aggressive Heavily Compressed Attention, reaching a million tokens on 27 percent of V3.2's per-token FLOPs and 10 percent of its KV cache. The current ceiling on what compression buys.
Kimi Linear: An Expressive, Efficient Attention Architecture
Kimi Team · 2025
Three Kimi Delta Attention layers for every full-attention layer: 75 percent less KV cache and up to six times the decode throughput, while scoring above full attention rather than near it. The result that made hybrids a default instead of a compromise.
Mamba-3: Improved Sequence Modeling using State Space Principles
Lahoti et al. · 2026
Where the state-space line landed after three rounds of fixing what a linear recurrence cannot express. Read it alongside Gated DeltaNet-2 (arXiv 2605.22791) for the current state of the fixed-state primitive.
Then 7
DeepSeek-V4.1-Flash Technical Report
DeepSeek-AI · 2026
A causal encoder-decoder that activates 8B parameters for prefill and 16B for decode, with an FP4 cache near 890 bytes per token. Prefill and decode stop being two phases of one model and become two models sharing a backbone.
Morphing into Hybrid Attention Models
Lan et al. · 2026
Converts a trained full-attention checkpoint into a hybrid instead of pretraining one, which is the only version of this question a serving team can act on. Newer than the rest of this rung, so treat it as a live result rather than settled practice.
Evidence library
Must read 2017
Attention Is All You Need
Vaswani et al.
Defines the architecture whose execution and state dominate modern LLM inference.
Read Fanout guide
Classic 2019
Fast Transformer Decoding: One Write-Head is All You Need
Shazeer
Primary multi-query attention source motivated by incremental decoding cost.
Read original paper
Must read 2023
GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints
Ainslie et al.
Explains the model-side change that reduces KV capacity and bandwidth requirements.
Read Fanout guide
Must read 2022
Efficiently Scaling Transformer Inference
Pope et al.
Derives workload-conditioned multi-dimensional partition choices for large-model inference and connects MQA memory savings to context scaling.
Read Fanout guide
Must read 2023
A Hardware Evaluation Framework for Large Language Model Inference
Zhang et al.
LLMCompass paper reports about 4.1 percent average end-to-end inference error and an explicit hardware mapping and cost methodology.
Read Fanout guide
Core 2022
Tutel: Adaptive Mixture-of-Experts at Scale
Hwang et al.
Durable analysis of dynamic expert workloads adaptive layouts and hierarchical all-to-all at large scale.
Read original paper
Must read 2022
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Dao et al.
Canonical example of algorithmic IO reduction driving end-to-end attention speed.
Read Fanout guide
Must read 2023
FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
Dao
Shows how work partitioning and occupancy refine an IO-aware algorithm.
Read Fanout guide
Core 2024
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
Shah et al.
Connects architecture-specific asynchronous execution and low precision to attention kernels.
Read original paper
Core 2024
Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
Tang et al.
Connects page-level KV metadata to query-dependent selective loading and an implemented attention-speed path.
Read original paper
Must read 2023
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon et al.
Foundational serving paper for block-based KV memory and vLLM.
Read Fanout guide
Core 2023
H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
Zhang et al.
Representative learned/importance-aware KV eviction approach.
Read original paper
Core 2023
Efficient Streaming Language Models with Attention Sinks
Xiao et al.
Influential bounded-cache approach for indefinite streaming generation.
Read original paper
Core 2024
KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache
Liu et al.
Primary KV-cache quantization method for memory-constrained long-context serving.
Read original paper
Core 2025
PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling
Cai et al.
Adds depth-varying cache budgets and motivates treating attention information density as layer dependent.
Read original paper
Core 2024
KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization
Hooper et al.
Provides calibrated per-channel pre-RoPE and outlier-aware KV quantization ideas plus deployable kernel considerations.
Read original paper
Core 2024
Prompt Cache: Modular Attention Reuse for Low-Latency Inference
Gim et al.
Provides an explicit schema for reusable prompt segments and surfaces position correctness in modular KV reuse.
Read original paper
Core 2024
CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
Yao et al.
Makes non-prefix cache reuse and selective recomputation explicit for RAG rather than assuming only exact prefix hits.
Read original paper
Must read 2022
Orca: A Distributed Serving System for Transformer-Based Generative Models
Yu et al.
Canonical source for iteration-level scheduling and selective batching.
Read Fanout guide
Must read 2020
Clockwork: Predictable and Efficient Deep Learning Serving
Gujarati et al.
Durable pre-LLM system for predictability and consolidated model serving.
Read Fanout guide
Must read 2023
SGLang: Efficient Execution of Structured Language Model Programs
Zheng et al.
Connects frontend language programs with cache-aware runtime execution.
Read Fanout guide
Must read 2024
Sarathi-Serve: Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
Agrawal et al.
Primary source for chunked-prefill scheduling and decode piggybacking.
Read Fanout guide
Core 2023
FastServe: Fast Distributed Inference Serving for Large Language Models
Wu et al.
Introduces preemptive scheduling ideas for reducing head-of-line blocking in distributed LLM serving.
Read original paper
Core 2025
BurstGPT: A Real-World Workload Dataset to Optimize LLM Serving Systems
Wang et al.
Large real-world trace study showing why equal average RPS does not reproduce burstiness KV pressure or failure behavior.
Read original paper
Core 2024
Ensuring Fair LLM Serving Amid Diverse Applications
Redwan Ibne Seraj Khan et al.
FairServe adds application- and interaction-aware overload throttling plus weighted service counters based on production Copilot workload analysis.
Read original paper
Classic 2023
FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
Sheng et al.
Clear case of latency-throughput tradeoffs and heterogeneous memory offload.
Read original paper
Classic 2022
DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale
Aminabadi et al.
Historical full-stack inference optimization across kernels and multi-GPU execution.
Read original paper
Must read 2024
DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
Zhong et al.
Primary architecture for independently scaling prefill and decode around SLO goodput.
Read Fanout guide
Core 2023
Splitwise: Efficient Generative LLM Inference Using Phase Splitting
Patel et al.
Independent phase-splitting design for cluster resource specialization.
Read original paper
Must read 2024
Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving
Qin et al.
Makes KV cache movement and remote storage a first-class serving architecture.
Read Fanout guide
Core 2023
AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
Li et al.
Connects model-parallel placement with bursty multiplexed serving.
Read original paper
Core 2024
NanoFlow: Towards Optimal Large Language Model Serving Throughput
Zhu et al.
Research lead for overlapping operations and resources within a serving iteration.
Read original paper
Must read 2022
Fast Inference from Transformers via Speculative Decoding
Leviathan et al.
Primary lossless speculative-decoding construction with acceptance analysis.
Read Fanout guide
Classic 2023
Accelerating Large Language Model Decoding with Speculative Sampling
Chen et al.
Independent primary source for lossless speculative sampling.
Read original paper
Core 2024
Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
Cai et al.
Representative multi-head proposal approach beyond a separate draft model.
Read original paper
Must read 2024
EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
Li et al.
Influential feature-level drafting approach used by serving runtimes.
Read Fanout guide
Core 2024
Lookahead Decoding: Parallel Algorithms for LLM Inference
Fu et al.
Expands the curriculum beyond draft-model speculation.
Read original paper
Core 2023
SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification
Miao et al.
Tree-based speculative system broadening draft/verify beyond a single token chain.
Read original paper
Core 2024
EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees
Li et al.
Uses draft confidence to adapt tree shape and illustrates learned feature-level speculation.
Read original paper
Must read 2023
AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Lin et al.
Canonical activation-aware weight-only quantization method with deployment kernels.
Read Fanout guide
Must read 2022
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Frantar et al.
Foundational one-shot weight quantization method used across local and server stacks.
Read Fanout guide
Must read 2022
SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
Xiao et al.
Key method for smoothing activation outliers into weights for W8A8 inference.
Read Fanout guide
Classic 2022
LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
Dettmers et al.
Important outlier-aware mixed-precision quantization lineage.
Read original paper
Classic 2022
ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
Yao et al.
Connects quantization algorithms with systems implementation and kernels.
Read original paper
Core 2023
SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression
Dettmers et al.
Shows sparse outlier handling in very low-bit weight representations.
Read original paper
Must read 2024
QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving
Lin et al.
System co-design example spanning weights activations KV and serving kernels.
Read Fanout guide
Core 2023
PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU
Song et al.
Representative activation-sparsity and hot/cold neuron placement system for consumer hardware.
Read original paper
Must read 2023
Punica: Multi-Tenant LoRA Serving
Chen et al.
Canonical systems treatment of batching many adapters over one base model.
Read Fanout guide
Must read 2023
S-LoRA: Serving Thousands of Concurrent LoRA Adapters
Sheng et al.
Scales adapter residency and batching as a serving-system problem.
Read Fanout guide
Further reading
Beyond the essentials
27 resources · showing 9
arxiv.org
DynamicKV: Task-Aware Adaptive KV Cache Compression for Long Context LLMs
KV caches, paging & long context
arxiv.org
Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
KV caches, paging & long context
arxiv.org
MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs
Compilers, graphs & portable runtimes
arxiv.org
A White Paper on Neural Network Quantization
Quantization & numerical formats
arxiv.org
Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation
Quantization & numerical formats
arxiv.org
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
Quantization & numerical formats
arxiv.org
EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test
Speculative & parallel decoding
arxiv.org
Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding
Speculative & parallel decoding
arxiv.org
LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding
Speculative & parallel decoding