T-BGMP: An Empirical Characterization of Key-Layer Protection for KV-Cache Quantization Failure Recovery

Long-context large language model inference is increasingly constrained by key–value (KV) cache growth. Quantizing the cache reduces memory use, but aggressive low-bit policies can corrupt retrieval that succeeds with 16-bit floating-point (FP16) storage. Raising precision uniformly can restore quality while sacrificing much of the intended saving. It is therefore important to determine whether these failures concentrate in a small set of sensitive key layers and how much selective protection is required. T-BGMP provides a recovery-oriented characterization based on empirical key-layer distortion risk. It ranks layers and applies a first-success Top-k sweep to measure the minimum protection budget for each conditional failure. Across four core evaluation models, this diagnostic recovers all 183 FP16-correct failures induced by aggressive quantization. On Qwen3-4B and Qwen2.5-3B, risk-ranked protection recovers all 72 failures per model, whereas same-budget Random-k and Bottom-k recover at most 2.7% and 1.4%, respectively. Proactive and broader-task evaluations show that calibration-derived protection can transfer to unseen requests and related retrieval tasks, while additional model-family evaluations reveal model-dependent boundaries. Ziqi Zhao and Zhenghao Jiang contributed equally. Corresponding author: Pascal Lefevre.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24649107
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

T-BGMP: An Empirical Characterization of Key-Layer Protection for KV-Cache Quantization Failure Recovery

Pascal Lefevre, Ziqi Zhao, Zhenghao Jiang
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
preprint

T-BGMP: An Empirical Characterization of Key-Layer Protection for KV-Cache Quantization Failure Recovery

Pascal Lefevre, Ziqi Zhao, Zhenghao Jiang
preprint en

Abstract

Long-context large language model inference is increasingly constrained by key–value (KV) cache growth. Quantizing the cache reduces memory use, but aggressive low-bit policies can corrupt retrieval that succeeds with 16-bit floating-point (FP16) storage. Raising precision uniformly can restore quality while sacrificing much of the intended saving. It is therefore important to determine whether these failures concentrate in a small set of sensitive key layers and how much selective protection is required. T-BGMP provides a recovery-oriented characterization based on empirical key-layer distortion risk. It ranks layers and applies a first-success Top-k sweep to measure the minimum protection budget for each conditional failure. Across four core evaluation models, this diagnostic recovers all 183 FP16-correct failures induced by aggressive quantization. On Qwen3-4B and Qwen2.5-3B, risk-ranked protection recovers all 72 failures per model, whereas same-budget Random-k and Bottom-k recover at most 2.7% and 1.4%, respectively. Proactive and broader-task evaluations show that calibration-derived protection can transfer to unseen requests and related retrieval tasks, while additional model-family evaluations reveal model-dependent boundaries. Ziqi Zhao and Zhenghao Jiang contributed equally. Corresponding author: Pascal Lefevre.

Zenodo (CERN European Organization for Nuclear Research)
Xi’an Jiaotong-Liverpool University (CN)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon