프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection

ManifoldKV: 유클리드 이상치 탐지를 통한 학습 없이 가능한 KV 캐시 압축

  • 연구 문제 긴 문맥 추론에서 KV 캐시 메모리가 문맥 길이에 따라 늘어나므로, 어떤 토큰을 남길지 정하는 점수 기준이 중요합니다.
  • 연구 방법 ManifoldKV는 키 벡터 평균으로부터의 Euclidean distance로 토큰을 순위화하며 학습이 필요하지 않습니다. 64K 문맥에서는 슬라이딩 윈도우별 지역 중심을 쓰는 WindowedManifoldKV로 확장합니다.
  • 주요 결과 64K 조건에서 Windowed-4K는 84.3%로 KeyDiff의 81.1%보다 높았고, 3-key 다중 키 검색에서는 8K와 50% 압축 조건에서 92.4% 대 77.0%를 보고합니다.

긴 문맥에서 어떤 토큰을 남길지의 문제

긴 문맥을 처리하는 언어 모델은 과거 토큰의 키와 값을 KV 캐시에 저장하며, 이 캐시의 메모리는 문맥 길이에 따라 선형으로 늘어납니다. 이 논문이 든 예에서 Llama-3.1-8B가 64K 토큰을 처리할 때 캐시만으로 8.6 GB가 필요합니다. 압축은 캐시를 예산 M으로 줄이면서 어떤 토큰을 남길지 정해야 하며, 그 선택 기준이 점수 함수입니다. 기하 기반 방법인 KeyDiff는 키와 평균 방향 사이의 cosine similarity로 점수를 매깁니다. 이 논문은 코사인이 벡터의 크기를 정규화하여 크기 정보를 버리므로, 크기에서 드러나는 의미 있는 토큰을 놓칠 수 있다고 지적합니다.

L2 거리 기반 ManifoldKV 점수

ManifoldKV는 문맥의 모든 키 벡터 평균 µ를 기준점으로 삼고, 각 토큰의 점수를 \(s_i=\|k_i-\mu\|_2\)로 계산합니다. 이 점수는 Euclidean distance이며, 점수가 높은 토큰을 TopK로 상위 M개 유지합니다. 예산 M은 \(\lfloor(1-\rho)N\rfloor\)로 정해지고, 학습 없이 평균 계산, 거리 계산, 선택의 세 단계로 실행됩니다. 제곱 거리는 \(\|k_i-\mu\|_2^2=r_i^2+\|\mu\|_2^2-2r_i\|\mu\|_2\cos(k_i,\mu)\)로 펼쳐지며, 여기서 \(r_i\)는 키 벡터의 크기입니다. cosine similarity 점수는 \(r_i\)가 소거되므로 같은 방향에서 크기만 10배 다른 두 키를 구별하지 못합니다.

논문의 예에서는 L2 거리가 두 키의 차이를 9∥µ∥와 0.9∥µ∥로 구별하여 10배의 점수 차이를 만듭니다. 구현 부록에서 KeyDiff는 키를 먼저 정규화한 뒤 평균을 취하고, ManifoldKV는 원래 크기를 가진 평균을 씁니다.

Table 7: Distance Metric Ablation.L2 outperforms cosine by +40 points without AdaKV
framework

Table 7 :Distance Metric Ablation.L2 outperforms cosine by +40 points without AdaKV framework.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.
Figure 5: Method Comparison.Distance metric ablation showing L2’s superiority over cosine,
L1, and max-norm. The magnitude information captured by L2 (but disc…

Figure 5 :Method Comparison.Distance metric ablation showing L2’s superiority over cosine, L1, and max-norm. The magnitude information captured by L2 (but discarded by cosine) accounts for the +40 point improvement.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

64K에서 전역 중심이 흐려지는 문제와 윈도우 중심

저자들은 문맥이 길어져 여러 주제가 섞이면 평균 µ가 의미 없는 중심이 되어 모든 토큰이 비슷한 거리에 놓인다고 해석하며, 이를 Centroid Dilution Problem이라고 부릅니다. 이 설명은 저자의 해석이고, 실험으로 확인된 사실은 전역 ManifoldKV의 정확도가 32K에서 82.3%이던 것이 64K에서 35.2%로 떨어진다는 점입니다. 이를 완화하기 위해 WindowedManifoldKV는 문맥을 W 토큰의 윈도우로 나누고 각 윈도우의 지역 중심으로 L2 점수를 계산합니다. 점수는 전체 문맥에서 TopK로 선택되며, 기본 윈도우 크기는 4096 토큰입니다. 명제 3.2는 윈도우 안의 의미 클러스터가 적다는 조건에서 지역 중심이 판별력을 유지한다고 제시합니다.

따라서 이 보정은 윈도우 안이 비교적 일관된 경우를 전제로 합니다.

Table 1: Average RULER accuracy (Llama-3.1-8B-Instruct) under standard compression settings:
20% compression for 4K–32K and 25% for 64K. Global (single-centroi…

Table 1 : Average RULER accuracy (Llama-3.1-8B-Instruct) under standard compression settings: 20% compression for 4K–32K and 25% for 64K. Global (single-centroid) ManifoldKV collapses at 64K due to centroid dilution.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 2: Window size ablation at 64K context on RULER benchmark (Llama-3.1-8B, 25% compres-
sion). 4K windows achieve optimal accuracy

Table 2 : Window size ablation at 64K context on RULER benchmark (Llama-3.1-8B, 25% compres- sion). 4K windows achieve optimal accuracy.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Figure 2: Performance Across Context Lengths.ManifoldKV matches KeyDiff at 4K–32K. At
64K, Global ManifoldKV collapses to 35.2% (centroid dilution); WindowedMa…

Figure 2 :Performance Across Context Lengths.ManifoldKV matches KeyDiff at 4K–32K. At 64K, Global ManifoldKV collapses to 35.2% (centroid dilution); WindowedManifoldKV recovers +49 pts to 84.3%.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.
Table 16: Performance Degradation by Context Length.Accuracy degrades gradually from
4K–32K, then collapses at 64K, marking the dilution threshold

Table 16 :Performance Degradation by Context Length.Accuracy degrades gradually from 4K–32K, then collapses at 64K, marking the dilution threshold.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Table 17: Window Size Effectiveness at 64K Context.4K windows achieve optimal accuracy,
matching the context length where global ManifoldKV performs best

Table 17 :Window Size Effectiveness at 64K Context.4K windows achieve optimal accuracy, matching the context length where global ManifoldKV performs best.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.

다중 키 검색에서 크기 정보가 주는 차이

Multi-key NIAH는 긴 문맥에서 여러 핵심 정보를 동시에 보존해야 하는 RULER 계열 과제입니다. 표 6의 8K 문맥, 50% 압축 조건에서 3-key 과제의 정확도는 ManifoldKV가 92.4%, KeyDiff가 77.0%로 +15.4포인트입니다. 같은 표의 2-key 과제는 99.8%와 92.6%로 +7.2포인트입니다. 40% 압축에서는 3-key가 96.8%와 92.8%(+4.0), 2-key가 99.8%와 95.0%(+4.8)입니다. 저자들은 이 차이를 cosine 기준이 방향은 비슷하고 크기만 다른 중요 토큰을 같은 점수로 묶는 directional collision으로 해석합니다.

이 해석은 다중 키 과제에서 관찰된 차이를 설명하는 가설이며, 직접 측정된 원인은 아닙니다.

Table 6: Multi-Key Retrieval (8K).ManifoldKV’s advantage grows with task complexity: +7
on 2-key, +15 on 3-key

Table 6 :Multi-Key Retrieval (8K).ManifoldKV’s advantage grows with task complexity: +7 on 2-key, +15 on 3-key.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

64K 결과와 비교 조건

64K 비교는 Llama-3.1-8B-Instruct를 쓰고 RULER의 6,497개 샘플에서 25% 압축을 적용한 조건입니다. 표 5에서 Windowed-4K는 84.3%(+3.2)이고 Windowed-8K는 83.9%(+2.8), Windowed-16K는 82.4%(+1.3)입니다. 같은 조건의 KeyDiff는 81.1%입니다. 전역 ManifoldKV는 35.2%로 같은 조건에서 크게 낮아, 윈도우 보정의 효과는 전역 중심의 붕괴를 되돌리는 데서 나타납니다. 실험은 구성마다 5개 랜덤 시드로 반복되며, 64K에서 ManifoldKV와 KeyDiff의 대응표본 t 검정 결과는 p<10^-15로 보고됩니다.

이 결과는 해당 모델과 데이터 설정에서 얻은 것입니다.

Table 5: 64K Results.Windowed variants dominate

Table 5 :64K Results.Windowed variants dominate.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Table 10: Complete 64K benchmark results (6,497 samples, 25% compression)

Table 10 : Complete 64K benchmark results (6,497 samples, 25% compression).

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

키 벡터의 낮은 내재 차원과 샘플 복잡도

이론 분석은 일반 토큰이 k차원 부분공간 근처에 모인다는 가정 아래, L2 거리가 \(n=O(k\sigma^2/\epsilon^2)\) 샘플로 이상치를 식별한다고 주장합니다. 반면 radial outliers인 \(k_o=\alpha\mu\)는 cosine similarity가 1이므로 샘플 수와 무관하게 구분되지 않는다고 설명합니다. 이 가정은 Two-NN 추정으로 뒷받침됩니다. 표 3과 부록 E에서 Gemma-3-12B, Qwen3-8B, Ministral-8B의 Two-NN 추정치는 8.2에서 8.9이고, Llama-3.1-8B는 약 9로 표시됩니다. 이 측정은 키 벡터가 낮은 차원 구조를 가진다는 관찰이며, 샘플 복잡도 정리를 실험으로 증명한 것은 아닙니다.

Table 3: Manifold Dimension.Key vectors occupy a universal ∼9D manifold regardless of
architecture

Table 3 :Manifold Dimension.Key vectors occupy a universal ∼9D manifold regardless of architecture.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 15: Intrinsic Dimension Analysis.Key vectors occupy a universal ∼9-dimensional manifold
regardless of head dimension (128 vs 256). Results averaged acros…

Table 15 :Intrinsic Dimension Analysis.Key vectors occupy a universal ∼9-dimensional manifold regardless of head dimension (128 vs 256). Results averaged across all layers.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.

적용 범위와 남은 질문

이 결과는 64K까지의 실험에서 보고되었고, 저자들은 128K 이상에 대한 체계적 검증이 필요하다고 밝힙니다. 일부 검색 중심 과제에서는 SnapKV 같은 주의 기반 방법이 ManifoldKV와 대등해지는 경우도 있다고 기술됩니다. 또한 스트리밍 적용에서는 근사 중심 계산이 필요할 수 있다고 제시됩니다. 표 4의 AdaKV 조건에서 ManifoldKV는 95.73%이고 KeyDiff는 95.66%로 차이가 0.07포인트에 그칩니다. 한편 표 7의 cosine 단독 점수는 52.8%이고 표 4의 KeyDiff 단독 점수는 92.93%이므로, 이 두 수치는 같은 비교 대상으로 묶기 어렵습니다. 교차 모델 검증은 주로 4K에서 16K 조건에서 이루어졌습니다.

Table 4: RULER Results (Llama-3.1-8B).With AdaKV framework, ManifoldKV achieves
95.73% vs KeyDiff’s 95.66%

Table 4 :RULER Results (Llama-3.1-8B).With AdaKV framework, ManifoldKV achieves 95.73% vs KeyDiff’s 95.66%.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 14: Cross-Architecture Generalization (16K Context).ManifoldKV maintains consis-
tent 95%+ accuracy at 16K across all models, demonstrating architecture-…

Table 14 :Cross-Architecture Generalization (16K Context).ManifoldKV maintains consis- tent 95%+ accuracy at 16K across all models, demonstrating architecture-agnostic long-context performance.

원문 · CC BY 4.0 · Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee · ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 2월 9일
등록일
2026년 10월 30일
수정일
2026년 2월 9일
버전
v1
arXiv
2602.08343
분류
cs.LG · cs.AI · cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Long-context inference is constrained by KV-cache memory, which grows linearly with sequence length; KV-cache compression therefore hinges on reliably selecting which past tokens to retain. Most geometry-based eviction methods score keys by cosine similarity to a global centroid, but cosine is scale-invariant and can discard magnitude cues that distinguish semantically salient tokens. We propose ManifoldKV, a training-free scorer that ranks tokens by Euclidean distance to the key centroid, capturing both angular and radial deviations. On the RULER benchmark, ManifoldKV achieves 95.7% accuracy at 4K-16K contexts with 20% compression; matching the best geometric baseline while improving robustness in two regimes where cosine scoring fails. First, on multi-key retrieval, ManifoldKV reduces directional collisions, achieving 92.4% vs KeyDiff's 77.0% (+15.4 points) on 3-key NIAH at 50% compression. Second, to address dilution and performance collapse of global centroids at 64K context, we introduce WindowedManifoldKV, which restores accuracy to 84.3% at 25% compression, a 49-point recovery over global L2 and +3.2 points over KeyDiff. The method requires only 3 lines of code and works across 4 architectures without tuning.

원문 인용

Debajyoti Datta, Trishala Neeraj, Bibek Paudel, Vyom Sharma, Subhabrata Mukherjee (2026). ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection. arXiv:2602.08343v1. https://arxiv.org/abs/2602.08343v1

BibTeX
@misc{datta2026manifoldkv,
  title = {{ManifoldKV: Training-Free KV Cache Compression via Euclidean Outlier Detection}},
  author = {Debajyoti Datta and Trishala Neeraj and Bibek Paudel and Vyom Sharma and Subhabrata Mukherjee},
  year = {2026},
  eprint = {2602.08343},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.08343v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입