← AI intuition & LLM systems

Papers that explain the mechanisms

First read the problem, system diagram, assumptions, and evaluation setup. Derivations can come later. Published speedups describe the paper’s workload and baseline, not a promise for yours.

The GPU keeps visiting a giant scratchpad

Find which HBM reads and writes the algorithm removes; distinguish arithmetic complexity from memory traffic.

Growing conversations waste memory

Trace a block table and two branching sequences before looking at throughput plots.

Long prompts interrupt streams

Compare interleaving small prefills with separating prefill and decode. Inspect transfer and scheduling assumptions.

An expensive model generates one step at a time

Trace a draft, its verification, and a rejected token. Explain the correction before using the speedup chart.

Capacity and active work are different

Compare low-rank updates, sparse experts, and latent attention caches. Identify what each saves and what remains resident.

Learning and memory can be organized differently

Contrast preference optimization, recurrent state, and sharded training state.