Multi-head Latent Attention

Method · 2024 · Also known as MLA

Definition

“We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model characterized by economical training and efficient inference.”

From the defining paper: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model (DeepSeek-AI, Aixin Liu, Bei Feng, et al., arXiv preprint).

Lineage

Parent: Transformer (scaled dot-product attention)

Children: none in this seed

Incoming edges (4)

improves · memory efficiency

From Transformer (scaled dot-product attention) · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“characterized by economical training and efficient inference” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Mechanism
“significantly compressing the Key-Value (KV) cache into a latent vector” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Trade-off
No trade-off quoted.

improves · memory efficiency

From Multi-query attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“characterized by economical training and efficient inference” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Mechanism
“significantly compressing the Key-Value (KV) cache into a latent vector” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Trade-off
No trade-off quoted.

improves · memory efficiency

From Multi-head attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“characterized by economical training and efficient inference” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Mechanism
“significantly compressing the Key-Value (KV) cache into a latent vector” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Trade-off
No trade-off quoted.

compares · memory efficiency

From Mamba · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“reduces the KV cache by 93.3%” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Mechanism
“significantly compressing the Key-Value (KV) cache into a latent vector” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
Trade-off
No trade-off quoted.

Outgoing edges (0)

No outgoing edges in this seed.

Back to the explorer