CalibKV: Calibrated Budgets for Long-Context Attention
Import ICLR 2027 submission N62znCJMIz: 3 notes
@openreview[bot] · 2026-11-22 21:08 UTC · ff9ee0a63337
.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,19 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "N62znCJMIz"+ }+ ],+ "title": "CalibKV: Calibrated Budgets for Long-Context Attention",+ "authors": [],+ "abstract": "Sparse attention must decide which cached keys to use and how many to retain. Fixed budgets cannot adapt to each request, while sound score bounds in our measurements admit much of the cache. We propose CalibKV, which estimates a per-head retention budget from the request's keys and selects keys by exact score at decode. A learned query subspace and a separate calibration bank set the budget during prefill; the current query determines the selected keys. We establish pairwise residual coverage under exchangeability and evaluate quality and cost at the resulting budgets. On book-passage language modeling tasks using three War and Peace segments, mean $\\Delta\\mathrm{NLL}$ relative to Dense ranges from $-0.018$ to $+0.010$ over 8K to 128K contexts, while the mean budget falls from 31.2% to 2.1%. LongBench macro scores are within $0.12$ points of Dense on Llama and Qwen. On MATH-500, CalibKV chooses a 99.87% budget and scores 46.6%, compared with 44.6% for Dense. At long contexts, its single-layer attention calculation is faster than Dense.",+ "year": 2027,+ "venue": "ICLR 2027 (under review)",+ "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://potentialpaper.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://potentialpaper.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://potentialpaper.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$' },+]
reviews/openreview/n62zncjmiz/forms.json added
+++ b/reviews/openreview/n62zncjmiz/forms.json@@ -0,0 +1,183 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "additional_comments_on_reviewer_discussion",+ "label": "Reviewer discussion",+ "type": "text"+ },+ {+ "key": "recommendation",+ "label": "Recommendation",+ "type": "choice"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "soundness",+ "presentation",+ "informativeness"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "soundness",+ "label": "Soundness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "presentation",+ "label": "Presentation",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "informativeness",+ "label": "Informativeness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "paper_summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "critical_strengths",+ "label": "Strengths",+ "type": "text"+ },+ {+ "key": "critical_weaknesses",+ "label": "Weaknesses",+ "type": "text"+ },+ {+ "key": "questions_for_authors",+ "label": "Questions for the authors",+ "type": "text"+ },+ {+ "key": "flag_for_ethics_review",+ "label": "Flag for ethics review",+ "type": "choice",+ "omitWhen": [+ "No",+ "No ethics review needed."+ ]+ },+ {+ "key": "details_of_ethics_concerns",+ "label": "Ethics concerns",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/n62zncjmiz/notes/baxyqykiu5.json added
+++ b/reviews/openreview/n62zncjmiz/notes/baxyqykiu5.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "bAxyQyKiu5",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer VZii",+ "content": {+ "paper_summary": "The paper studies how many cached keys sparse attention should attend to at each decode step, treating this separately from which keys to attend to. It first measures several sound score-bound filters (Quest page bounds, Louver's ball bounds, Cauchy-Schwarz projection bands) and finds that they admit a large fraction of the cache at top-k thresholds. It then proposes CalibKV, a per-query selection method that keeps the full KV cache. An offline low-rank query subspace and a bank of calibration queries are used at prefill to estimate a per-head budget from the request's keys. At decode, the current query scores all keys exactly and attends to the top-budget keys plus sink, recent and outlier keys. A cheaper rank-m variant instead screens keys with approximate scores before exact reranking. The paper also gives a conformal-style coverage result under an exchangeability assumption.\n\n\nExperiments cover teacher-forced NLL on book passages, needle retrieval, LongBench, RULER and MATH-500 on models from 7B to 70B. The exact-score path stays close to Dense in quality, and its budget fraction decreases as context grows. Its single-layer attention time is lower than Dense at long contexts, but end-to-end time is slightly higher because of the extra prefill calibration and full-cache scoring at decode.",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1. Separating \"how many\" keys to attend to from \"which\" keys, with a budget set per request and per head, is a sensible idea, and the budget behaves as expected. It shrinks as the context grows (from about 31% to 2% of the cache on Llama-8B) while quality stays close to Dense, and it does not force sparsity where it hurts: on MATH-500 it keeps nearly the full cache and matches Dense, while fixed top-128 methods drop noticeably. I see this as the main strength of the paper.",+ "critical_weaknesses": "1. The method does not reduce cost. CalibKV keeps the full KV cache, and at each decode step it still scores all keys exactly before selecting the top $B_h$, so key reads and QK computation are the same as Dense; only softmax and value aggregation are reduced. Prefill also adds the calibration step. As a result, end-to-end time is higher than Dense at all tested lengths (Table 3). The cheaper rank-m path is not timed, has clearly worse quality, and under GQA does not even read fewer bytes at the rank used (Theorem 3). Since saving compute or memory is the purpose of sparse attention, this is the main reason for my score.\n\n2. The budget $B_h$ is not well motivated as a measure of how many keys attention needs. By construction, it grows with the approximation error: if the subspace were exact (m = d), the residual allowance would be zero and $B_h$ would fall to k = 128, turning the method into the top-128 Oracle, which has worse quality in Table 1. This suggests that the budget is driven mainly by how inexact the rank-64 approximation is, rather than by the attention demand of the request. The budget also depends heavily on the source of the calibration queries (Section 4.3). More importantly, the paper does not directly show that $B_h$ is the right size. For example, it does not report how much of the Dense attention weight is covered by the selected $B_h$ keys, or the attention-output error at $B_h$ compared with fixed budgets.\n\n3. There are no results with larger budgets for top-k selection. Oracle (exact top-k), Quest and Louver all attend to only 128 keys per step, while CalibKV attends to up to a few thousand. I could not find results for exact top-K with a larger K, especially K equal to CalibKV's average budget, so it is unclear whether the gains come from the estimated budget or simply from attending to more keys.",+ "questions_for_authors": "1. The exact-score path still scores every key and keeps the full KV cache, so I don't see where a real speedup could come from. Have you timed the rank-m path? What about KV memory and batch size > 1?\n\n2. How do you know $B_h$ is enough? I would like to see how much of the dense attention weight the selected $B_h$ keys cover, or the attention output error, compared with fixed budgets.\n\n3. Can you add exact top-K with larger K (e.g., 512 to 4K), and especially K equal to CalibKV's average budget? Right now all top-k baselines use 128 keys, so it's hard to tell whether the gain comes from the estimated budget or just from attending to more keys.\n\n4. Where do the calibration queries for LongBench, RULER and MATH-500 come from? Same bank as the book experiments, or one per task?\n\n5. On MATH-500 the budget is 99.87%. Is this mostly heads falling back to dense?",+ "flag_for_ethics_review": "No",+ "rating": 1,+ "confidence": 4+ },+ "createdAt": "2026-10-20T15:21:31.761Z",+ "modifiedAt": "2026-11-16T11:13:55.268Z",+ "url": "https://openreview.net/forum?id=N62znCJMIz¬eId=bAxyQyKiu5",+ "license": "CC-BY-4.0"+}
reviews/openreview/n62zncjmiz/notes/m9yumlkpmp.json added
+++ b/reviews/openreview/n62zncjmiz/notes/m9yumlkpmp.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "m9yumlKpMP",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer wjA3",+ "content": {+ "paper_summary": "This paper proposes the CalibKV method, which separates how much to retain from what problem to use it for. The method learns a low-rank subspace for each query head offline and independently stores calibration queries. In the prefill stage, it estimates the budget for each head based on the keys of the current request, and in the decode stage it computes exact scores for all keys and completes the entire attention computation according to the budget. The paper tests on instruct models such as Llama3.1-8B and Qwen2.5-7B, and experiments show that CalibKV achieves a $\\Delta$NLL close to full computation with a relatively low budget, and also performs well on downstream task tests.",+ "presentation": 1,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1. The models covered in the paper are relatively sufficient, and the disclosed limitations, such as the speed issue, are clear.\n\n2. Separating the retained budget from the actual selection computation makes the method's motivation clear.",+ "critical_weaknesses": "1. The paper is poorly written and difficult to read. For example, the setting part in Section 3 overlaps with the notation part in Section 4, symbols in the main text and concepts at their first appearance lack explanation, and the citation of Theorem 1 does not state that it is located in the appendix.\n\n2. The end-to-end results reported in the paper show that, because each decode step precisely scans all keys, the current method is actually slower in wall-clock computation time than dense computation. The explanations of the budget, retention ratio, and computation ratio in the tables remain unclear, making intuitive reproduction difficult.\n\n3. The baselines compared in the paper may be not enough; it would be worth conducting a clearer survey of and comparison with current related work, such as ada-KV , dynamic KV, etc.",+ "questions_for_authors": "see weakness",+ "flag_for_ethics_review": "No",+ "rating": 1,+ "confidence": 2+ },+ "createdAt": "2026-10-19T10:06:22.649Z",+ "modifiedAt": "2026-11-06T12:30:01.656Z",+ "url": "https://openreview.net/forum?id=N62znCJMIz¬eId=m9yumlKpMP",+ "license": "CC-BY-4.0"+}
reviews/openreview/n62zncjmiz/notes/twz4qobxg1.json added
+++ b/reviews/openreview/n62zncjmiz/notes/twz4qobxg1.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "TWz4QOBxG1",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 9HXQ",+ "content": {+ "paper_summary": "This paper proposes CalibKV, a method for adaptive sparse attention budgeting. It learns per-head query subspaces and calibration banks offline, estimates request-specific attention budgets during prefill, and selects top-ranked keys using exact attention scores during decoding. A rank-m screening variant is also introduced to reduce full-dimensional score computation. Experiments on language modeling and downstream benchmarks show that CalibKV maintains near-dense quality while attending to a small fraction of cached keys.",+ "presentation": 2,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "**1. Adaptive budget estimation.** CalibKV introduces a calibration-based approach to estimating per-request, per-head attention budgets, separating budget estimation from query-dependent token selection.\n\n**2. Promising quality retention.** CalibKV maintains near-dense language modeling quality with relatively small attention budgets.",+ "critical_weaknesses": "**1. Limited novelty.** The motivation of CalibKV substantially overlaps with Twilight [1], which already proposes adaptive attention budgets based on attention distributions. Although CalibKV adopts a different calibration approach, its advantages over existing methods remain unclear, and no direct comparison with Twilight is provided.\n\n**2. Insufficient experimental evaluation.**\n\n- **Incomplete benchmark coverage.** LongBench includes only 10 of the 21 datasets, while RULER covers only a small subset of its 13 tasks, with just 100 examples for variable tracking. This limits the generalizability of the results.\n\n- **Unfair budget comparisons.** Baselines operate at substantially different sparsity levels (e.g., 0.2% for Quest vs. 3.1% for CalibKV at 64K). Without matched-budget comparisons or quality–budget trade-off curves, the reported improvements are difficult to interpret.\n\n- **Limited efficiency benefits.** At 128K, its decoding latency increases from 48.05 to 53.05 ms/token compared with Dense, and its end-to-end latency is also higher. Moreover, efficiency is evaluated only at batch size 1.\n\n[1] Lin C, Tang J, Yang S, et al. Twilight: Adaptive attention sparsity with hierarchical top-$ p $ pruning[J]. Advances in Neural Information Processing Systems, 2026, 38: 119406-119432.",+ "questions_for_authors": "**1. Novelty.** What are the key advantages of CalibKV over Twilight? Can the authors provide a direct comparison?\n\n**2. Benchmark coverage.** Why are only 10 LongBench datasets and a small subset of RULER tasks evaluated? Can the authors provide results on the complete benchmarks?\n\n**3. Fair comparisons.** Can the authors provide matched-budget comparisons or quality–budget trade-off curves? How are candidate fractions and actual attention budgets distinguished across methods?\n\n**4. Efficiency.** Can the authors provide a breakdown of computational overhead and results under batched decoding?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-12T09:09:32.905Z",+ "modifiedAt": "2026-11-17T06:51:47.790Z",+ "url": "https://openreview.net/forum?id=N62znCJMIz¬eId=TWz4QOBxG1",+ "license": "CC-BY-4.0"+}
reviews/openreview/n62zncjmiz/submission.json added
+++ b/reviews/openreview/n62zncjmiz/submission.json@@ -0,0 +1,16 @@+{+ "schema": "submission/1",+ "id": "N62znCJMIz",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 35832,+ "keywords": [+ "KV cache",+ "sparse attention"+ ],+ "url": "https://openreview.net/forum?id=N62znCJMIz",+ "license": "CC-BY-4.0"+}
versions/v_nemnb7fg.json added
+++ b/versions/v_nemnb7fg.json@@ -0,0 +1,21 @@+{+ "date": "2026-09-18",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 35832,+ "url": "https://openreview.net/forum?id=N62znCJMIz",+ "reviews": "openreview/n62zncjmiz",+ "evidence": [+ "https://openreview.net/forum?id=N62znCJMIz"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=N62znCJMIz",+ "evidence": [+ "https://openreview.net/forum?id=N62znCJMIz"+ ]+}