Verified90% confidenceFactExact time
Grouped Query Attention (GQA) and Multi-Query Attention (MQA) reduce KV cache memory usage during inference by having multiple query heads share the same group of key/value heads, and are standard optimizations in models such as Llama 3 and Mistral.
11
Sources
90%
Confidence
Long-term
Relevance
7/16/2026
First Seen
Sources
Related Claims
UnverifiedSelf-attention maps the input sequence into three sets of vectors — Query Q, Key K, and Value V — computes the dot-product similarity between Q and K, normalizes the result via Softmax to obtain attention weights, and then uses those weights to aggregate the V vectors.79% similarUnverifiedGQA reduces the size of the KV Cache by having multiple Query heads share the same set of Key-Value heads.77% similarVerifiedGQA (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.77% similarUnverifiedMulti-Query Attention (MQA) lets all query heads share the same set of Key/Value heads, compressing the KV cache to 1/H of its original size (H being the number of heads).75% similarVerifiedThe self-attention mechanism maps each token in the input sequence to three vectors—Query, Key, and Value—and computes attention weights by taking the dot product of Query and Key followed by Softmax normalization.73% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/532362API
curl https://kongchang.com/api/v1/knowledge/claims/532362MCP
get_claim(id=532362)