<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kv-Cache on Jaehun's Blog</title><link>https://jaehun.me/categories/kv-cache/</link><description>Recent content in Kv-Cache on Jaehun's Blog</description><generator>Hugo</generator><language>ko-kr</language><lastBuildDate>Tue, 15 Sep 2026 08:56:51 +0900</lastBuildDate><atom:link href="https://jaehun.me/categories/kv-cache/index.xml" rel="self" type="application/rss+xml"/><item><title>SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking</title><link>https://jaehun.me/posts/sas-simple-attention-sparsification-via-end-to-end-optimization-of-context-ranking/</link><pubDate>Tue, 15 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/sas-simple-attention-sparsification-via-end-to-end-optimization-of-context-ranking/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.13141"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="sas-증류-없이-문맥-랭킹을-직접-학습하는-단순한-어텐션-스파시피케이션"&gt;SAS: 증류 없이 문맥 랭킹을 직접 학습하는 단순한 어텐션 스파시피케이션&lt;a href="#sas-%ec%a6%9d%eb%a5%98-%ec%97%86%ec%9d%b4-%eb%ac%b8%eb%a7%a5-%eb%9e%ad%ed%82%b9%ec%9d%84-%ec%a7%81%ec%a0%91-%ed%95%99%ec%8a%b5%ed%95%98%eb%8a%94-%eb%8b%a8%ec%88%9c%ed%95%9c-%ec%96%b4%ed%85%90%ec%85%98-%ec%8a%a4%ed%8c%8c%ec%8b%9c%ed%94%bc%ec%bc%80%ec%9d%b4%ec%85%98" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 사후 학습(post-training) 어텐션 스파시피케이션에서, 선택기(selector)가 만든 연속 점수를 어텐션 로짓에 &lt;strong&gt;로그 게이트(log gate)&lt;/strong&gt; 로 주입한다. 이렇게 하면 이산 Top-K 선택이 막고 있던 기울기를 우회해, 보조 증류(distillation) 없이 &lt;strong&gt;언어모델링 손실로 선택기를 종단 간 학습&lt;/strong&gt;할 수 있다. 결과적으로 Qwen3-4B/8B/14B에서 타이트한 예산(1024 토큰)일 때 SeerAttention-R 대비 GPQA-Diamond를 최대 &lt;strong&gt;+15.5점&lt;/strong&gt; 끌어올렸고, 디코딩 지연은 512K 문맥에서 최대 &lt;strong&gt;5.6×&lt;/strong&gt; 절감했다.&lt;/p&gt;</description></item><item><title>VestigeKV: The NoPE-MLA KV Cache Carries Its Own Eviction Signal in a Vestigial Branch</title><link>https://jaehun.me/posts/vestigekv-the-nope-mla-kv-cache-carries-its-own-eviction-signal-in-a-vestigial-branch/</link><pubDate>Wed, 09 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/vestigekv-the-nope-mla-kv-cache-carries-its-own-eviction-signal-in-a-vestigial-branch/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.03949v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="vestigekv-퇴화한-rope-가지가-스스로-캐시-축출-신호를-품고-있다"&gt;VestigeKV: 퇴화한 RoPE 가지가 스스로 캐시 축출 신호를 품고 있다&lt;a href="#vestigekv-%ed%87%b4%ed%99%94%ed%95%9c-rope-%ea%b0%80%ec%a7%80%ea%b0%80-%ec%8a%a4%ec%8a%a4%eb%a1%9c-%ec%ba%90%ec%8b%9c-%ec%b6%95%ec%b6%9c-%ec%8b%a0%ed%98%b8%eb%a5%bc-%ed%92%88%ea%b3%a0-%ec%9e%88%eb%8b%a4" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h2 id="한-줄-요약-tldr"&gt;한 줄 요약 (TL;DR)&lt;a href="#%ed%95%9c-%ec%a4%84-%ec%9a%94%ec%95%bd-tldr" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;NoPE-MLA&lt;/strong&gt; 모델(Kimi Linear 48B)에서, 훈련이 &lt;em&gt;샐리언스 채널&lt;/em&gt; 로 재용도한 64차원 &lt;strong&gt;decoupled branch&lt;/strong&gt; — RoPE의 &amp;ldquo;퇴화 기관(vestige)&amp;rdquo; — 를 행의 &lt;strong&gt;11%&lt;/strong&gt; 만 읽어 쿼리 독립적인 중요도 신호를 얻고, &lt;strong&gt;8~32배&lt;/strong&gt;(회수 계층 포함 시 &lt;strong&gt;128배&lt;/strong&gt;) KV 캐시 압축을 해내면서 검색 성능을 유지한다. 가중치·커널·연산은 전혀 건드리지 않는 &lt;strong&gt;순수 캐시 정책&lt;/strong&gt; 이다 (근거: Abstract).&lt;/p&gt;</description></item><item><title>ShallowStream: Index Shallow then Answer Deep for Streaming Video Understanding</title><link>https://jaehun.me/posts/shallowstream-index-shallow-then-answer-deep-for-streaming-video-understanding/</link><pubDate>Tue, 08 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/shallowstream-index-shallow-then-answer-deep-for-streaming-video-understanding/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.02780v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="shallowstream-얕게-인덱싱하고-깊게-답하라--스트리밍-비디오-이해의-계산-병목을-푸는-방법"&gt;ShallowStream: 얕게 인덱싱하고, 깊게 답하라 — 스트리밍 비디오 이해의 계산 병목을 푸는 방법&lt;a href="#shallowstream-%ec%96%95%ea%b2%8c-%ec%9d%b8%eb%8d%b1%ec%8b%b1%ed%95%98%ea%b3%a0-%ea%b9%8a%ea%b2%8c-%eb%8b%b5%ed%95%98%eb%9d%bc--%ec%8a%a4%ed%8a%b8%eb%a6%ac%eb%b0%8d-%eb%b9%84%eb%94%94%ec%98%a4-%ec%9d%b4%ed%95%b4%ec%9d%98-%ea%b3%84%ec%82%b0-%eb%b3%91%eb%aa%a9%ec%9d%84-%ed%91%b8%eb%8a%94-%eb%b0%a9%eb%b2%95" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 스트리밍 비디오 이해에서 가장 비싼 비용은 매 프레임을 MLLM의 &lt;strong&gt;전체 깊이(28~32개 레이어)&lt;/strong&gt; 로 prefill하는 것이다. ShallowStream은 &lt;strong&gt;얕은 레이어 4~5개&lt;/strong&gt; 만으로 프레임 인코딩과 검색 인덱스를 동시에 구축하고, &lt;strong&gt;질문이 들어온 순간에만&lt;/strong&gt; 검색된 증거에 대해 전체 깊이 연산을 수행한다. 그 결과 SOTA 수준의 성능(OVO-Bench 69.5 / StreamingBench 78.2)을 유지하면서, 프레임당 prefill은 &lt;strong&gt;최대 52.1배&lt;/strong&gt;, 10초 구간 엔드투엔드 지연은 &lt;strong&gt;최대 11.9배&lt;/strong&gt; 줄였다 (근거: Abstract).&lt;/p&gt;</description></item><item><title>BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference</title><link>https://jaehun.me/posts/beaconkv-key-value-cache-compression-guided-by-beacon-queries-for-efficient-large-reasoning-model-inference/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/beaconkv-key-value-cache-compression-guided-by-beacon-queries-for-efficient-large-reasoning-model-inference/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.04971v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="모델이-생각을-다시-꺼내-보는-순간을-잡아라-beaconkv가-비콘-쿼리로-추론-kv-캐시를-58배-압축하는-법"&gt;모델이 &amp;lsquo;생각을 다시 꺼내 보는&amp;rsquo; 순간을 잡아라: BeaconKV가 비콘 쿼리로 추론 KV 캐시를 5.8배 압축하는 법&lt;a href="#%eb%aa%a8%eb%8d%b8%ec%9d%b4-%ec%83%9d%ea%b0%81%ec%9d%84-%eb%8b%a4%ec%8b%9c-%ea%ba%bc%eb%82%b4-%eb%b3%b4%eb%8a%94-%ec%88%9c%ea%b0%84%ec%9d%84-%ec%9e%a1%ec%95%84%eb%9d%bc-beaconkv%ea%b0%80-%eb%b9%84%ec%bd%98-%ec%bf%bc%eb%a6%ac%eb%a1%9c-%ec%b6%94%eb%a1%a0-kv-%ec%ba%90%ec%8b%9c%eb%a5%bc-58%eb%b0%b0-%ec%95%95%ec%b6%95%ed%95%98%eb%8a%94-%eb%b2%95" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&#10; &lt;blockquote&#10; class="border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1"&#10; &gt;&#10; &lt;div class="prose prose-sm max-w-none"&gt;&#10; &lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — Large Reasoning Model(LRM)은 긴 Chain-of-Thought(CoT)를 생성할수록 KV 캐시가 선형으로 불어나, Qwen3-4B가 32K 토큰을 배치 크기 16으로 생성하면 KV 캐시만 &lt;strong&gt;77 GB&lt;/strong&gt; 를 넘어 80 GB GPU 한계에 닿는다 (근거: §1). 기존 압축 기법들은 &lt;strong&gt;최근 쿼리(recent queries)&lt;/strong&gt; 로 미래의 중요 토큰을 예측하는데, 추론 중에는 모델이 &lt;strong&gt;멀리 떨어진 과거 맥락(문제 정의·풀이 계획)을 다시 읽는 Thought Revisiting Token(TRT)&lt;/strong&gt; 이라는 현상 때문에 이 가정이 무너진다 (근거: §3). BeaconKV는 TRT를 유발하는 &lt;strong&gt;전역 쿼리(global query)&lt;/strong&gt; 가 임베딩 공간에서 소수의 군집을 이룬다는 기하학적 통찰을 바탕으로, 각 군집을 대표하는 &lt;strong&gt;비콘 쿼리(beacon query)&lt;/strong&gt; 를 Continual FPS로 온라인 선정해 KV 캐시를 압축한다. 그 결과 &lt;strong&gt;최대 5.8× 메모리 절감(77.0 → 13.3 GB)&lt;/strong&gt;, &lt;strong&gt;4.3× 처리량 향상(82.3 → 356.4 tokens/s)&lt;/strong&gt; 을 달성하면서, RPC·R-KV 대비 최대 &lt;strong&gt;31.7 pp&lt;/strong&gt; 의 정확도 향상을 얻는다 (근거: §5.4, Fig. 8).&lt;/p&gt;</description></item><item><title>Language Models Can Control Their Own Attention</title><link>https://jaehun.me/posts/language-models-can-control-their-own-attention/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/language-models-can-control-their-own-attention/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.02737v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="언어-모델이-스스로-어텐션을-통제한다-declarative-attention"&gt;언어 모델이 스스로 어텐션을 통제한다: Declarative Attention&lt;a href="#%ec%96%b8%ec%96%b4-%eb%aa%a8%eb%8d%b8%ec%9d%b4-%ec%8a%a4%ec%8a%a4%eb%a1%9c-%ec%96%b4%ed%85%90%ec%85%98%ec%9d%84-%ed%86%b5%ec%a0%9c%ed%95%9c%eb%8b%a4-declarative-attention" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 기존의 희소 어텐션(sparse attention)은 매 디코딩 스텝마다 어떤 토큰이 중요한지 &lt;em&gt;외부에서 근사&lt;/em&gt; 하느라 여전히 $O(N)$ 비용을 지불했다. 이 논문은 방향을 틀어, 모델이 Chain-of-Thought(CoT) 안에서 자신이 &lt;strong&gt;어디를 볼지 직접 &amp;ldquo;선언&amp;rdquo;&lt;/strong&gt; 하게 한다. 추론 엔진은 이 선언을 도구 호출(tool call)처럼 파싱해 KV 캐시 읽기를 대부분 생략한다. 학습 없이(zero-shot) Gemma-4-31B에서 디코딩 어텐션 비용 &lt;strong&gt;52.0%&lt;/strong&gt; 절감, 정확도 하락은 &lt;strong&gt;1.27pp&lt;/strong&gt; 에 불과하다 (근거: §1, §5.1).&lt;/p&gt;</description></item><item><title>Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Serving</title><link>https://jaehun.me/posts/same-request-different-answer-quantization-amplifies-cache-induced-divergence-in-llm-serving/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/same-request-different-answer-quantization-amplifies-cache-induced-divergence-in-llm-serving/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.04748v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="같은-요청-다른-답-프리픽스-캐시가-서빙을-비재현적으로-만들고-양자화가-이를-증폭시킨다"&gt;같은 요청, 다른 답: 프리픽스 캐시가 서빙을 비재현적으로 만들고, 양자화가 이를 증폭시킨다&lt;a href="#%ea%b0%99%ec%9d%80-%ec%9a%94%ec%b2%ad-%eb%8b%a4%eb%a5%b8-%eb%8b%b5-%ed%94%84%eb%a6%ac%ed%94%bd%ec%8a%a4-%ec%ba%90%ec%8b%9c%ea%b0%80-%ec%84%9c%eb%b9%99%ec%9d%84-%eb%b9%84%ec%9e%ac%ed%98%84%ec%a0%81%ec%9c%bc%eb%a1%9c-%eb%a7%8c%eb%93%a4%ea%b3%a0-%ec%96%91%ec%9e%90%ed%99%94%ea%b0%80-%ec%9d%b4%eb%a5%bc-%ec%a6%9d%ed%8f%ad%ec%8b%9c%ed%82%a8%eb%8b%a4" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&#10; &lt;blockquote&#10; class="border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1"&#10; &gt;&#10; &lt;div class="prose prose-sm max-w-none"&gt;&#10; &lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 프리픽스 캐시는 &amp;ldquo;투명한 최적화&amp;quot;로 여겨지지만 투명하지 않다. 캐시를 끄면 동일 워크로드의 반복 실행이 &lt;strong&gt;10개 설정 × 80에피소드 = 800개 전부 비트 단위로 동일&lt;/strong&gt; 하게 재현되는 반면 (근거: Tab. 2), 캐시를 켜면 에이전트의 궤적이 &lt;strong&gt;16비트에서 36.2%, 4비트 양자화에서 75.0%&lt;/strong&gt; 나 바뀐다 (근거: §IV-D). 그런데 평균 정확도는 움직이지 않는다 — 이것은 &amp;ldquo;열화(degradation)&amp;ldquo;가 아니라 &amp;ldquo;불안정성(instability)&amp;ldquo;이며, 둘은 다른 대응을 요구한다 (근거: §IV-F, §V).&lt;/p&gt;</description></item><item><title>SGD-KV: Summarization Guided KV Cache Compression</title><link>https://jaehun.me/posts/sgd-kv-summarization-guided-kv-cache-compression/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/sgd-kv-summarization-guided-kv-cache-compression/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.03235v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="sgd-kv-요약을-잘하는-헤드를-찾아-1m-토큰의-kv-캐시를-75까지-줄인다"&gt;SGD-KV: &amp;lsquo;요약을 잘하는 헤드&amp;rsquo;를 찾아 1M 토큰의 KV 캐시를 75%까지 줄인다&lt;a href="#sgd-kv-%ec%9a%94%ec%95%bd%ec%9d%84-%ec%9e%98%ed%95%98%eb%8a%94-%ed%97%a4%eb%93%9c%eb%a5%bc-%ec%b0%be%ec%95%84-1m-%ed%86%a0%ed%81%b0%ec%9d%98-kv-%ec%ba%90%ec%8b%9c%eb%a5%bc-75%ea%b9%8c%ec%a7%80-%ec%a4%84%ec%9d%b8%eb%8b%a4" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&#10; &lt;blockquote&#10; class="border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1"&#10; &gt;&#10; &lt;div class="prose prose-sm max-w-none"&gt;&#10; &lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 어텐션 헤드는 모두 같은 일을 하지 않는다. &amp;lsquo;요약&amp;rsquo;이라는 고차원 정보 압축을 담당하는 &lt;strong&gt;summarization heads&lt;/strong&gt; 를 진단 태스크로 찾아내고, 그 점수에 비례해 KV 캐시 예산을 나눠주는 &lt;strong&gt;SGD-KV&lt;/strong&gt; 가 최대 100만(1M) 토큰 컨텍스트에서 KV 캐시 메모리를 최대 &lt;strong&gt;75%&lt;/strong&gt; 줄이면서도 기존 헤드 단위 압축 기법들을 압도한다.&lt;/p&gt;</description></item><item><title>Random Attention: Rethinking KV Cache Eviction for Efficient Reasoning</title><link>https://jaehun.me/posts/random-attention-rethinking-kv-cache-eviction-for-efficient-reasoning/</link><pubDate>Sun, 06 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/random-attention-rethinking-kv-cache-eviction-for-efficient-reasoning/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.03430v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="점수는-낭비였다-kv-캐시-eviction에서-무작위-추출이-최강자와-동률이-되는-역설--random-attention-심층-리뷰"&gt;점수는 낭비였다: KV 캐시 eviction에서 &amp;lsquo;무작위 추출&amp;rsquo;이 최강자와 동률이 되는 역설 — Random Attention 심층 리뷰&lt;a href="#%ec%a0%90%ec%88%98%eb%8a%94-%eb%82%ad%eb%b9%84%ec%98%80%eb%8b%a4-kv-%ec%ba%90%ec%8b%9c-eviction%ec%97%90%ec%84%9c-%eb%ac%b4%ec%9e%91%ec%9c%84-%ec%b6%94%ec%b6%9c%ec%9d%b4-%ec%b5%9c%ea%b0%95%ec%9e%90%ec%99%80-%eb%8f%99%eb%a5%a0%ec%9d%b4-%eb%90%98%eb%8a%94-%ec%97%ad%ec%84%a4--random-attention-%ec%8b%ac%ec%b8%b5-%eb%a6%ac%eb%b7%b0" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&#10; &lt;blockquote&#10; class="border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1"&#10; &gt;&#10; &lt;div class="prose prose-sm max-w-none"&gt;&#10; &lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 추론 특화 KV 캐시 eviction 연구는 전부 &amp;ldquo;어떤 토큰이 나중에 중요한가&amp;quot;를 &lt;strong&gt;점수화&lt;/strong&gt;해서 top-K 를 고르는 문제였다. Random Attention 은 프롬프트만 +∞로 강제 보존하고 나머지는 &lt;strong&gt;점수 없이 헤드별로 균등 무작위&lt;/strong&gt; eviction 하는데, 4개 모델·6개 추론 태스크에서 최강 베이스라인(TriAttention)과 동급 정확도(60개 비교 셀 중 31개에서 통계적 우위, 1개에서만 유의 열세)를 보이면서 vLLM 서빙에서는 스코어링 패스가 없어 &lt;strong&gt;32–43% 높은 처리량&lt;/strong&gt;을 낸다 (근거: §1, Fig. 1, Tab. 1, Tab. 4).&lt;/p&gt;</description></item></channel></rss>