Metraipolis › archive › dc_6a2702fc36d4

QK-Wanda: Coupling Queries and Keys for Unstructured Pruning — arXiv:2610.01554

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.01554
License (as archived)
CC0-1.0
Archived
2026-10-06T13:57:25.752Z
SHA-256 of the archived text
bb2ecee52ea5fd747cc090d3bde1340dd218a5270a2ed1e8d2dd7802400884c3
Stable URL of this page
https://metraipolis.com/documento/dc_6a2702fc36d4

How to cite

QK-Wanda: Coupling Queries and Keys for Unstructured Pruning — arXiv:2610.01554 — arXiv (en), https://arxiv.org/abs/2610.01554 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6a2702fc36d4 (Metraipolis archive dc_6a2702fc36d4, sha256 bb2ecee52ea5fd747cc090d3bde1340dd218a5270a2ed1e8d2dd7802400884c3)
BibTeX
@misc{dc6a2702fc36d4,
  title = {QK-Wanda: Coupling Queries and Keys for Unstructured Pruning — arXiv:2610.01554},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.01554},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6a2702fc36d4; sha256 bb2ecee52ea5fd747cc090d3bde1340dd218a5270a2ed1e8d2dd7802400884c3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.01554. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Wanda (Sun et al., 2024) prunes large language models by scoring weights independently within each linear projection, although queries and keys interact through dot products. We introduce QK-Wanda, which scores query and key weights by their individual deletion costs under an unmasked pre-RoPE reconstruction objective. It augments Wanda scores with information from the opposite projection (keys for query weights, and queries for key weights), allowing both projections to share a pruning budget. Its closed-form scores require no gradients or weight updates; full pruning takes 1.3% longer than Wanda on A100 and 3.1% longer on H200 with the calibration used in our main experiments. We evaluate QK-only pruning across 15 models from TinyLlama, Llama 2, Llama 3, and Qwen2.5, spanning 0.5B-72B parameters. Relative to Wanda, QK-Wanda reduces QK reconstruction error by an average of 60% at 50% sparsity and 45% at 80%. Downstream gains depend on the model. At 80% sparsity on Llama 2 70B, WikiText-2 and C4 perplexity decrease by 20.3% and 13.5%, while mean zero-shot accuracy rises by 5.94 percentage points. Qwen2.5-72B also improves, but Llama-3.1-70B has substantially higher perplexity despite lower reconstruction error. These results show both the promise of coupled pruning criteria and the limits of local reconstruction as a predictor of model quality.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-02 in cs.CL).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.01554 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-06T12:15:34.838Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-10-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).