Their controlled grid from 125M to 1.3B parameters shows the K-V tied two-projection variant matches full QKV on validation perplexity within noise, with matched token budgets and optimizer schedules. They argue this demonstrates separate K and V production matrices are not fundamentally required, even though K is used for similarity scoring and V for content.
Pure single-projection variants degrade measurably, but the authors show that a small low-rank delta per role recovers most of the lost quality. This suggests the role-specific information needed for Q, K, and V is low-dimensional and can be expressed as a perturbation around a shared base matrix.
The editorial frames the paper as asking a different question than the head-sharing lineage of MQA/GQA/MLA — those compress K and V across heads, while this asks whether you need distinct matrices to produce K and V at all. The implication is that the two compression axes could stack, potentially compounding KV-cache memory savings at inference time.
By submitting this paper with the framing that it 'ran the experiment everyone has been meaning to run for five years,' the submitter signals that the QKV three-projection default has been assumed rather than empirically justified. The 134-point score reflects community agreement that a systematic ablation at scale was a notable gap in the literature.
A paper posted to arXiv (2606.04032) under the title *Do transformers need three projections? Systematic study of QKV variants* ran the experiment everyone has been meaning to run for five years. The authors trained transformer models from 125M to 1.3B parameters across a controlled grid of attention variants: the standard three-projection QKV, two-projection variants where Q and K share weights (or K and V share weights), and single-projection variants where one matrix is reused for all three roles with learned per-role biases or low-rank deltas.
The headline result: at every scale they tested, the two-projection variant where K and V are tied matched full QKV within noise on validation perplexity, while cutting attention parameters by roughly a third. Single-projection variants degraded measurably but recovered most of the gap with a small low-rank delta per role — a configuration the authors call "QKV-LoRA-at-init." The ablations cover GPT-style decoder-only training on a SlimPajama subset, with matched token budgets and matched optimizer schedules.
The paper sits in a lineage that includes Multi-Query Attention (Shazeer, 2019), Grouped-Query Attention (Ainslie et al., 2023), and Multi-Head Latent Attention (DeepSeek-V2). All of those compress K and V *across heads*. This paper asks the orthogonal question: do you need separate matrices to *produce* K and V in the first place, before the head-sharing happens?
For the last three years, every serious LLM team has been grinding on the same bottleneck: KV cache memory. At inference, attention math is cheap — it's the cache of past K and V tensors that blows up GPU memory and forces batch sizes down. GQA cut that by sharing K and V across query head groups. MLA cut it further by projecting to a latent space. The default assumption underneath all of this work was that K and V are fundamentally different objects that need their own projections — K for similarity, V for the payload.
This paper challenges that assumption empirically. If K and V can share a projection without quality loss, the implications cascade in two directions. First, training: a third of the attention block's parameters disappear, which at Llama-3-70B scale is roughly 6B parameters saved with no architecture change beyond a weight tie. Second, inference: combined with GQA or MLA, you compound the savings. A KV-tied + GQA-8 model has roughly half the attention parameters and half the cache memory of a vanilla MHA model at the same hidden dim.
The HN thread (134 points, 80+ comments at time of writing) is unusually substantive. The top-voted skeptic flagged that the scaling curves only run to 1.3B, and that prior "this works at small scale" attention tweaks (Linformer, Performer, Synthesizer) have a long history of breaking past 7B. That critique is fair: the paper's strongest claim is "no degradation at 1.3B," not "safe for production at frontier scale." A second commenter pointed out that the paper doesn't ablate against MLA, which is now the state-of-the-art KV compression on open weights — so the comparison baseline is arguably one generation behind.
But the methodology is what makes this paper land. Most architecture papers in this space run one configuration, hit a benchmark, and declare victory. This one runs the full Cartesian product — 4 sizes × 6 attention variants × 3 seeds — and reports the raw curves, not just the best number. That's the kind of paper a research lead can actually act on without having to re-run everything from scratch.
If you train your own models — and a growing number of teams now do, given that base-model fine-tuning has gotten cheap — the practical action is small: try the K-V tied variant on your next pretraining run. The change is roughly ten lines in a transformer block, the parameter count drops by a measurable fraction, and if the paper holds, your loss curves should overlap with the baseline. At minimum, this is a cheap experiment with a known downside (slightly worse loss) and a known upside (smaller model, smaller cache).
If you serve models, the immediate impact is zero — Llama 4, Qwen 3, and DeepSeek-V3 all already ship. But the next-generation open-weight releases are being trained right now, and architecture choices made in the next six months will be locked in for years of serving. Push your model providers (or your internal training team) to A/B this variant in their next run. The cost-per-million-tokens math at serving scale rewards any KV reduction disproportionately, because cache memory is what determines how much batching you can do, and batching is what determines throughput.
For the framework layer, the implications are mostly mechanical. vLLM, SGLang, and TensorRT-LLM all assume separate K and V projections in their attention kernels. A KV-tied model would need a one-line config plus a minor kernel tweak — nothing structural. The risk is more that downstream tools (LoRA adapters, fine-tuning libraries, quantization toolchains) all have implicit assumptions about the QKV split that would need a sweep to update.
The real test is whether someone trains a frontier-scale (70B+) model with KV-tied projections and publishes the eval suite. That experiment costs seven figures, which is why nobody has done it, which is why papers like this one matter — they de-risk the bet enough that a well-funded lab might actually run it. If DeepSeek or Qwen ship a KV-tied variant in their next release and the MMLU numbers hold, the default transformer block changes industry-wide within a year. If the result fails to scale, this becomes another Linformer — a clean idea that didn't survive contact with frontier compute. Either way, the next interesting attention paper isn't going to be about Q, K, or V — it's going to be about whether you need them as separate concepts at all.
I can see why the QKV gets used but I can't help but think that thete's got to be a better mechanism with turning a pair of vectors into a new vector and a significance field.Geometrically I imagine the process of attention like picking up a bunch of vectots and spinning and squishing them
Somewhat relevant is a blog-post that likens attention to kernel smoothing: https://bactra.org/notebooks/nn-attention-and-transformers.h... (as discussed before in https://news.ycombinator.com/item?id=38756888)
Will be great and amusing if it actually turns out that we have been doing transformer overly-complex. The code repo is missing tho...
Gemma-4 E2B/E4B models reuses K-V cache from other layers, which do things in a "transposed" way: not reuse Q/K/V matrices within a single layer, but reuse across different layers.
Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.
Hint for authors: when discussing linear algebra (or really most other kinds of math), follow normal conventions. In this case, the convention would be that - (the minus sign) means subtraction. It does not mean "and also", especially when you sandwich it between two variables that represe