[KongchangAI]
ConceptMulti-head Latent Attention

MLA

A multi-head latent attention architecture designed by DeepSeek. The DSpark speculative decoding algorithm performs targeted engineering optimizations specifically tailored to the characteristics of this architecture.

Core Facts

Timeline (last 90 days)

Nov 28

MLA jointly projects K and V into a low-dimensional latent space, caching only the compressed latent vector and dynamically reconstructing each head's K and V when computing attention, thereby reducing memory overhead for long contexts.

Unverified50%
Nov 9

On dense models and MoE models, covering both GQA and MLA attention mechanisms, with NVFP4 the accuracy gap between BitDecoding-FP4 and BF16 KV stays within 0.5 percentage points; with MXFP4 the gap is 1 percentage point.

Unverified50%
Nov 5

MLA (Multi-head Latent Attention) compresses the KV Cache through low-rank compression, greatly reducing memory usage during long-context inference, and is an architecture popularized by the DeepSeek series.

Unverified50%
Nov 5

ERNIE 5.5 Flash Base uses a hybrid MLA and HCA attention architecture, with the KV Cache portion optimized using MLA while most layers remain HCA structure.

Unverified50%
Nov 3

DepthGraft was experimented on dense models and MoE models ranging from 0.5B to 16B parameters, covering both GQA and MLA attention mechanisms.

Unverified50%
Nov 3

DepthGraft is verified to be effective under both GQA and MLA attention mechanisms, indicating that its hierarchical reconstruction regularization effect does not depend on a specific attention implementation.

Unverified50%
Nov 1

If the details of the hybrid GDN+MLA architecture are confirmed, they would provide valuable reference for academia and advance research on efficient inference.

Unverified50%
Nov 1

The combination of GDN and MLA is currently a popular direction of exploration for reducing the cost of long-context inference: the former handles linear, efficient global state, while the latter handles precise retrieval with compressed attention.

Unverified50%
Oct 31

MLA technology was first proposed by DeepSeek in V2, and its core is projecting the KV cache into low-dimensional latent vectors to compress memory usage.

Unverified50%
Oct 31

Mistral Large 4 adopts the MLA (multi-head latent attention) and DSA (DeepSeek sparse attention) mechanisms released by DeepSeek.

Unverified50%

22 more timeline events

All Facts (20)

Verified

MLA compresses KV pairs into a low-dimensional latent space for caching and recovers the full Keys and Values via an up-projection matrix during inference, compressing the KV cache by several times.

80%
Verified

DeepSeek adopts a Mixture of Experts (MoE) architecture and a Multi-head Latent Attention (MLA) mechanism.

80%
Verified

MLA can reduce the KV Cache VRAM usage to 5%–13% of traditional multi-head attention.

75%
Verified

Multi-Head Latent Attention (MLA) is an attention mechanism proposed by DeepSeek-V2.

75%
Verified

GQA (Grouped-Query Attention) and MQA (Multi-Query Attention) were the industry's solutions prior to MLA for alleviating the KV cache problem by sharing Key/Value heads.

75%
Verified

GQA groups attention heads to share KV projections, which can compress the KV cache to 1/4 or less of the original size with almost no loss in model quality.

65%
Verified

DeepSeek released DeepSeek-V4.1-Flash, a method that significantly compresses the memory required for KV cache.

70%
Unverified

MLA中RoPE只对部分维度施加旋转编码,采用分离式设计将一小部分维度专门用于承载RoPE位置编码,与压缩后的内容向量拼接使用

85%
Unverified

DeepSeek V4系列采用了MLA、MoE路由优化以及NSA等创新架构技术

85%
Unverified

The quantized MLX KV cache reduces prompt memory usage by up to 74% compared to before.

70%
Unverified

DeepSeek-V2 proposes MLA (Multi-head Latent Attention), which compresses KV Cache to approximately 5% of MHA through low-rank compression.

70%
Unverified

MLA projects K and V into a latent vector space through low-rank joint compression, and at inference time only the compressed latent vectors are cached, compressing the KV cache several times over while maintaining expressive capability.

60%
Unverified

Adopting sparse attention can compress the KV cache to approximately 1/4, supporting approximately 4 times the context length of full attention under the same memory budget.

60%
Unverified

DeepSeek's prefix caching implementation is based on the MLA (Multi-head Latent Attention) architecture, which reduces the storage requirements of the KV Cache by tens of times through low-rank compression.

60%
Unverified

MLA jointly projects K and V into a low-dimensional latent space, caching only the compressed latent vector and dynamically reconstructing each head's K and V when computing attention, thereby reducing memory overhead for long contexts.

50%
Unverified

On dense models and MoE models, covering both GQA and MLA attention mechanisms, with NVFP4 the accuracy gap between BitDecoding-FP4 and BF16 KV stays within 0.5 percentage points; with MXFP4 the gap is 1 percentage point.

50%
Unverified

ERNIE 5.5 Flash Base uses a hybrid MLA and HCA attention architecture, with the KV Cache portion optimized using MLA while most layers remain HCA structure.

50%
Unverified

MLA (Multi-head Latent Attention) compresses the KV Cache through low-rank compression, greatly reducing memory usage during long-context inference, and is an architecture popularized by the DeepSeek series.

50%
Unverified

DepthGraft was experimented on dense models and MoE models ranging from 0.5B to 16B parameters, covering both GQA and MLA attention mechanisms.

50%
Unverified

DepthGraft is verified to be effective under both GQA and MLA attention mechanisms, indicating that its hierarchical reconstruction regularization effect does not depend on a specific attention implementation.

50%

Source Articles