Which Heads Matter for Reasoning? RL-Guided KV Cache Compression
Import the versions from OpenReview: the same title at other venues
@openreview[bot] · 2026-11-22 19:29 UTC · 6d85c32ecd5e
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,25 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "HGdg76iVo6"+ }+ ],+ "title": "Which Heads Matter for Reasoning? RL-Guided KV Cache Compression",+ "authors": [+ "Wenjie DU",+ "Li Jiang",+ "Keda TAO",+ "Xue Liu",+ "Huan Wang"+ ],+ "abstract": "Reasoning large language models exhibit complex reasoning behaviors through the extended chain-of-thought generation, creating unprecedented Key-Value (KV) cache overhead during the decoding phase.\nExisting KV cache compression methods underperform on reasoning models: token-dropping methods break reasoning integrity by discarding critical information, while head-reallocation methods mistakenly compress reasoning-critical heads since they are designed for retrieval tasks, resulting in significant performance degradation as compression rates increase.\nWe hypothesize that KV heads exhibit functional heterogeneity in reasoning models-some heads are critical for chain-of-thought consistency while others are compressible.\nTo validate and exploit this insight, we propose RLKV, a novel reasoning-critical head identification method, which uses reinforcement learning to directly optimize the relationship between each head's cache usage and reasoning quality.\nAs RLKV produces rewards from actual generated samples during training, it naturally identifies heads relevant to reasoning behaviors.\nWe then allocate full KV cache to these heads while applying compressed constant KV cache to others for efficient inference.\nOur experiments reveal that only a small fraction of attention heads is essential for reasoning, enabling our KV compression approach to outperform baseline methods while achieving 20-50% cache reduction with near lossless performance compared to uncompressed results.",+ "year": 2026,+ "venue": "ICLR 2026 submission",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
versions/v_2q3i9hrf.json added
+++ b/versions/v_2q3i9hrf.json@@ -0,0 +1,18 @@+{+ "date": "2025-09-03",+ "kind": "submitted",+ "label": "ICLR 2026",+ "submissions": [+ {+ "venue": "ICLR 2026",+ "status": "rejected",+ "url": "https://openreview.net/forum?id=HGdg76iVo6"+ }+ ],+ "title": "Which Heads Matter for Reasoning? RL-Guided KV Cache Compression",+ "url": "https://openreview.net/forum?id=HGdg76iVo6",+ "evidence": [+ "https://openreview.net/forum?id=HGdg76iVo6"+ ],+ "abstract": "Reasoning large language models exhibit complex reasoning behaviors through the extended chain-of-thought generation, creating unprecedented Key-Value (KV) cache overhead during the decoding phase.\nExisting KV cache compression methods underperform on reasoning models: token-dropping methods break reasoning integrity by discarding critical information, while head-reallocation methods mistakenly compress reasoning-critical heads since they are designed for retrieval tasks, resulting in significant performance degradation as compression rates increase.\nWe hypothesize that KV heads exhibit functional heterogeneity in reasoning models-some heads are critical for chain-of-thought consistency while others are compressible.\nTo validate and exploit this insight, we propose RLKV, a novel reasoning-critical head identification method, which uses reinforcement learning to directly optimize the relationship between each head's cache usage and reasoning quality.\nAs RLKV produces rewards from actual generated samples during training, it naturally identifies heads relevant to reasoning behaviors.\nWe then allocate full KV cache to these heads while applying compressed constant KV cache to others for efficient inference.\nOur experiments reveal that only a small fraction of attention heads is essential for reasoning, enabling our KV compression approach to outperform baseline methods while achieving 20-50% cache reduction with near lossless performance compared to uncompressed results."+}
versions/v_dkejbu3m.json added
+++ b/versions/v_dkejbu3m.json@@ -0,0 +1,18 @@+{+ "date": "2026-02-05",+ "kind": "submitted",+ "label": "LIT @ ICLR 2026",+ "submissions": [+ {+ "venue": "LIT @ ICLR 2026",+ "status": "accepted",+ "url": "https://openreview.net/forum?id=RvjpYNYpbU"+ }+ ],+ "title": "Which Heads Matter for Reasoning? RL-Guided KV Cache Compression",+ "url": "https://openreview.net/forum?id=RvjpYNYpbU",+ "evidence": [+ "https://openreview.net/forum?id=RvjpYNYpbU"+ ],+ "abstract": "Reasoning large language models exhibit complex reasoning behaviors via extended chain-of-thought generation that are highly fragile to information loss during decoding, creating critical challenges for KV cache compression.\nExisting token-dropping methods directly disrupt reasoning chains by removing intermediate steps, while head-reallocation methods, designed for retrieval tasks, fail to preserve the heads essential for generative reasoning.\nHowever, no existing method can identify which attention heads genuinely maintain reasoning consistency and control generation termination.\nTo address this, we propose RLKV, which uses reinforcement learning as a probe to discover which heads contribute to reasoning quality by directly optimizing their cache usage against actual generation outcomes.\nThis discovery naturally leads to an efficient compression strategy: we allocate full KV cache to reasoning-critical heads while aggressively compressing others with constant-size KV cache.\nExperiments reveal that a fraction of heads proves essential for reasoning, enabling 20--50% cache reduction with near-lossless performance across diverse tasks and models."+}
versions/v_sgh5zggx.json added
+++ b/versions/v_sgh5zggx.json@@ -0,0 +1,18 @@+{+ "date": "2026-01-09",+ "kind": "submitted",+ "label": "ICML 2026",+ "submissions": [+ {+ "venue": "ICML 2026",+ "status": "accepted",+ "url": "https://openreview.net/forum?id=fBRIgbTvId"+ }+ ],+ "title": "Which Heads Matter for Reasoning? RL-Guided KV Cache Compression",+ "url": "https://openreview.net/forum?id=fBRIgbTvId",+ "evidence": [+ "https://openreview.net/forum?id=fBRIgbTvId"+ ],+ "abstract": "Reasoning large language models exhibit complex reasoning behaviors via extended chain-of-thought generation that are highly fragile to information loss during decoding, creating critical challenges for KV cache compression.\nExisting token-dropping methods directly disrupt reasoning chains by removing intermediate steps, while head-reallocation methods, designed for retrieval tasks, fail to preserve the heads essential for generative reasoning.\nHowever, no existing method can identify which attention heads genuinely maintain reasoning consistency and control generation termination.\nTo address this, we propose RLKV, which uses reinforcement learning as a probe to discover which heads contribute to reasoning quality by directly optimizing their cache usage against actual generation outcomes.\nThis discovery naturally leads to an efficient compression strategy: we allocate full KV cache to reasoning-critical heads while aggressively compressing others with constant-size KV cache.\nExperiments reveal that a fraction of heads proves essential for reasoning, enabling 20--60% cache reduction with near-lossless performance across diverse tasks and models, and up to 2.06x end-to-end speedup at 60% reduction."+}