arXiv:2609.04263v1 cs.AR

저랭크 어텐션 적응을 통한 양자화 KV 캐시 품질 회복

Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptation

Seifeldin Abdellatif

제출 2026-09-02

한국어 초록

저비트 key-value(KV) 캐시는 자기회귀(autoregressive) 디코딩에 필요한 메모리를 줄이지만, 그에 따른 품질 손실은 모델과 quantizer에 따라 달라진다. 본 연구는 quantizer를 고정한 채 floating-cache 모델의 동작을 저랭크 Q/K/V projection 업데이트로 지식 증류(distillation)하고, student가 물리적으로 패킹된 incremental cache를 실행하도록 한다. 세 가지 seed에 걸쳐 4-bit affine-cache adapter는 TinyLlama-1.1B에서 held-out perplexity gap의 $54.24\%\pm2.47\%$를, Gemma-4-12B에서는 $75.96\%\pm4.04\%$를 회복한다. 동일한 frozen NF4 Llama-3.1-8B base에서 quantizer당 검증으로 선택된 run 하나는 KIVI K2V2에서 $60.42\%$, KVarN K4V2에서 $37.61\%$를 회복하며 180-case associative retrieval을 유지한다. Gemma의 공식 4K/8K RULER subset 점수는 적응 전 4-bit cache의 42.80에서 적응 후 48.33으로 올라간다(floating 46.15), task heterogeneity가 상당하다. 마지막으로 2-bit rank--token sweep은 세 seed에 걸쳐 TinyLlama의 2-bit PPL을 576.10에서 $11.4000\pm0.0059$로 낮춘다(floating 10.3988 대비), 그러나 180 retrieval case 중 11--12개만 회복한다. 이러한 결과는 저랭크 projection 적응이 고정된 cache format에서 held-out 품질을 회복할 수 있음을 보여 주며, perplexity 회복이 반드시 long-context retrieval을 복원하지는 않음을 시사한다.

원문 초록

Low-bit key--value (KV) caches reduce the memory required for autoregressive decoding, but the resulting quality loss depends on the model and quantizer. We keep the quantizer fixed and distill the floating-cache model's behavior into low-rank Q/K/V projection updates while the student executes a physically packed incremental cache. Across three seeds, 4-bit affine-cache adapters recover $54.24\%\pm2.47\%$ of the held-out perplexity gap on TinyLlama-1.1B and $75.96\%\pm4.04\%$ on Gemma-4-12B. On the same frozen NF4 Llama-3.1-8B base, one validation-selected run per quantizer recovers $60.42\%$ under KIVI K2V2 and $37.61\%$ under KVarN K4V2, while preserving 180-case associative retrieval. Gemma's score on an official 4K/8K RULER subset rises from 42.80 with the unadapted 4-bit cache to 48.33 after adaptation (46.15 floating), with substantial task heterogeneity. Finally, a 2-bit rank--token sweep reduces TinyLlama's 2-bit PPL from 576.10 to $11.4000\pm0.0059$ across three seeds, versus 10.3988 floating, but restores only 11--12 of 180 retrieval cases. These results show that low-rank projection adaptation can recover held-out quality across fixed cache formats, while perplexity recovery need not restore long-context retrieval.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2609.04263v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.