ML Systems Desk
Engineering analysis of distributed inference infrastructure, KV-cache memory optimization, post-training quantization, and high-throughput LLM serving runtimes.
Serving agents: the cache knows what comes back, not when
Three papers on serving agents: tool-timed KV prefetch into host memory, compression during queue stalls and exact prefix checkpoints for hybrid models.
Capacity hiding in plain sight: dispatch ceilings, expert-parallel bubbles and loop KV traffic
Three papers recover paid-for serving capacity: refusal-driven dispatch, fine-tuning in expert-parallel bubbles and loop-aware KV scheduling for decoding.
The KV cache sets the terms: speculation budgets, sparse-attention offload and shared-block integrity
Three serving papers: speculative decoding that trades KV capacity, sparse attention offloaded to memory pools, and bit flips in shared KV blocks.
Three ways to shrink the KV cache, and why memory, speed and quality are separate claims
Three KV-cache compression papers: draft-only quantization, trellis codes in microscaling formats, and latent attention compatible with RoPE. Read their limits.
Three serving assumptions agents and local inference break: append-only context, one user per server, one kernel per format
Drafting on invalidated KV after agent context edits, a local server that puts the user ahead of agents, and generated kernels for quantized formats.
Read it once: broadcast weights, shared-document decoding and cache-aware scheduling for agent batches
Optical weight broadcast in place of replicated HBM, one KV pass for many questions on a document, and cache-aware scheduling that shortens agent batches.
Paying only for work that survives: an exact acceptance-length loss, joint draft and verification budgets, and low-rank recurrent states
An exact acceptance-length loss for speculative drafters, joint draft and verification budgets under load, and low-rank recurrent states for hybrid serving.
Bits you can check: integer-exact inference, proofs of bit-exact output, and the rounding that slows BF16 post-training
Integer-only inference that reproduces bit for bit across machines, a one-GPU proof of bit-exact output, and stochastic rounding for BF16 RL post-training.
Averages hide what low precision removes: heavy-tailed KL, a shared failure order and slower fact learning
New papers show why mean KL, average accuracy and validation loss understate what quantization and FP4 training remove, and what to measure instead.
Keeping cached context reusable: intent-aware eviction, cluster-wide segment reuse and selective recomputation
Intent-aware eviction, distributed position-independent caching and selective recomputation each recover prefill work that prefix caching leaves on the table.
Where inference cost accumulates: an energy law for the KV cache, mid-depth eviction scoring and prefix-coded experts
SIMPLE prices LLM inference energy with four parameters, mid-depth layers judge KV eviction best, and PagedMoE reuses cached expert bits across precisions.
Agent workloads strain serving state: hybrid-model prefix checkpoints, KV-transfer path collisions and in-model context compression
Agent workloads stress serving state: SSD-tiered checkpoints for hybrid prefix caches, collision-free KV transfers and soft-token context compression.
Decode cost is a memory bill: speculation's energy accounting, MoE verification and elastic expert offloading
Speculative decoding saves energy only on accepted drafts, fine-grained MoE verification is cheaper than predicted, and Rimuru pools weight and state memory.
Compression that fits the stack: joint vector quantization, KV-cache compaction for stock kernels and cheaper stochastic rounding
CoS-VQ picks codewords and scale jointly, a key fold runs compacted KV caches on unmodified vLLM, and S3R-EC speeds INT8 training 1.24x to 1.32x over BF16.
What serving optimizations must preserve: request-adaptive hybrid layouts, coded prompt caches and batch-invariant kernels
A hybrid LLM server picks layouts per request for up to 3.87x throughput, a learned codec shrinks prompt KV caches 55x, and kernel agents miss batch invariance.
The KV cache sets the bill: cross-layer latents, space bounds under anisotropy and cache-aware carbon routing
A shared cross-layer latent keeps 97-98% accuracy at 13-14x KV compression, space bounds assume realistic attention geometry, and cache-aware routing cuts CO2.
Low-bit weights need new arithmetic: binary low-rank corrections, message-passing PTQ and decode-late dot products
BiLoCo corrects FP4 error with sign-bit low-rank factors, MPQ keeps soft decisions in PTQ, and decode-late dot products cut multipliers for low-bit weights.
A KV-cache win depends on the regime: shared caches in looped models, drift-timed refresh and Apple Silicon
KV-sharing must be trained into looped models, cache selection should track attention drift, and many server-GPU speedups do not carry over to Apple Silicon.
Move it, address it or rebuild it: three ways to get KV cache to where decode needs it
HAWK moves KV cache from GPU to NPU in the receiver's layout, UlaCache addresses it logically and RISK-KV rebuilds layers instead of moving or replaying them.
Spend Compute Where the Answer Changes: Joint KV-Cache Compaction, Deferred Video Caches, and Load-Aware Sampling
Compensation-aware offline KV-cache compaction, adaptive precomputation for streaming video QA and resource-aware test-time scaling under GPU contention.
Calling the Target Model Only When Needed: Trajectory Triggers, Bit-Shared Drafts, and Flash Beside HBM
Trajectory-triggered sparse collaborative decoding, BFP bit-sharing self-speculation and an HBM-plus-flash simulator for LLM serving, from 2026-10-16 preprints.
The KV Cache Is Live State: Migrating It at the Edge, and Why a Reader Must Keep Its Own
Hybrid KV cache migration for collaborative edge inference, and two companion studies showing that shared caches must augment, not replace, the receiver's own.
The Long-Context Bill Has Three Line Items: Cache Memory, Draft Quality, and Tokenization
Latent Compaction, FOLD and Delta Tokenizer address KV-cache size, long-input speculative decoding and per-turn tokenization cost in long-context LLM serving.
From Fixed Settings to Measured Ones: Adaptive Draft Configuration, KV Precision Allocation, and Head-Wise Cache Budgets
SP2ec wall-time bandits, MultiAlloc profiled KV-cache precision allocation and ChampionKV head-wise budgets: fixed serving settings replaced with measured ones.
Moving Fewer Bytes per Token: Replayed SSM State, Load-Adaptive KV Residency, and Calibration-Free 4-Bit Scales
Three 2026-10-09 arXiv preprints on decode-time memory traffic: ReplaySSM for SSM layers, Adaptive DHiSparse for KV caches and DualQuant for 4-bit quantization.
Shrinking What the Accelerator Reads: Preconditioner-Space Rounding, Value-Cache Folding, and Decode-Aware Pruning
ZIP-SR and ZE-EDEN for 4-bit AdamW states, VFold for symmetry-aware value-cache compression, and SparseDecoding for decode-aware pruning share one lesson: measure quantization and pruning error where it actually lands.
Production Inference Architecture: Latency, Speculative Decoding, and Quantization Tradeoffs at Scale
A deep systems engineering analysis of high-throughput LLM serving, covering memory-bandwidth bottlenecks, speculative decoding verification dynamics, and FP8/INT4 quantization.