30 More LLM Concepts, Illustrated: From KV Cache to Mamba
LLM jargon now saturates every layer of the stack, from GPU kernels to alignment research. A single-sheet visual reference for 30 terms cuts through the noise and gives engineers a shared vocabulary for discussing throughput bottlenecks, model architecture, and safety tuning.
The second installment of a three-part visual dictionary maps out 30 more essential LLM concepts, numbered 31 through 60. Each entry pairs a clean diagram with a concise definition, moving from foundational mechanics like the KV Cache and Multi-Head Attention to efficiency techniques such as FlashAttention, quantization, and speculative decoding.
Later entries shift toward architectural alternatives and post-training alignment. Selective State Space Models (Mamba), Mixture of Experts (MoE), Direct Preference Optimization (DPO), and Constitutional AI all appear, alongside practical inference strategies like continuous batching and guided generation. The series functions as a rapid-reference map for anyone navigating the increasingly dense LLM toolchain.
KV Cache is the single biggest memory consumer during LLM inference; every optimization from MQA to PagedAttention is fundamentally a strategy to shrink or better manage that cache.
Speculative decoding is a rare free lunch: it produces mathematically identical output to standard autoregressive decoding while cutting latency, because verification is much cheaper than generation.
The shift from RLHF to DPO and Constitutional AI reflects a broader push to simplify the alignment pipeline — removing the reward model reduces a whole class of training instability.
Mamba's linear-time complexity challenges the assumption that attention is irreplaceable, but its real-world adoption still lags behind the enormous ecosystem built around Transformer optimizations like FlashAttention.