Multi-head Latent Attention
Multi-head Latent Attention
What problem it solves
Compress the KV cache that dominates long-context memory into a low-rank latent vector, then expand it at inference.
What it is
Each head’s Key/Value is first projected into a low-rank latent space; only that latent is cached.
At inference it is projected back to per-head Key/Value; the saving is memory, not compute.
Proposed in DeepSeek-V2 and carried forward in V3/V4 with further tuning.
Why it matters
The first wall in long context is not compute but KV cache. MLA makes 1M context feasible on one or a few GPUs and changes the cache layout in inference stacks; without it, the cost gap between similar-size models is hard to explain.
Terms in the same area
What you can do now
Models atlas: which quantisations exist and which tier fits your VRAM ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.