ReFresh: Learning When to Retrieve for Long-Context Prefilling
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:05 UTC · 3d317ccf02cb ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "UyNKm8dbZE"- }- ],- "title": "ReFresh: Learning When to Retrieve for Long-Context Prefilling",- "authors": [],- "abstract": "Long-context language models enable retrieval and reasoning over large documents, but quadratic self-attention makes prefilling a major bottleneck. Hybrid attention mitigates this cost by combining a few full-attention heads with cheaper streaming heads, yet its efficiency remains limited by the full-attention budget, whose reduction can hurt long-range retrieval.\nWe observe that full attention serves two roles---computing attention outputs and identifying relevant context regions---and that the latter exhibits substantial redundancy across layers: the same key/value (KV) head in neighboring layers often attends to highly overlapping context regions.\nExisting cross-layer reuse methods exploit this redundancy, but typically reuse indices or attention according to fixed or heuristic schedules.\nBuilding on this observation, we introduce \\textbf{ReFresh}, a hybrid attention framework that learns where global retrieval should be refreshed or reused across layers, yielding a binary Anchor/Reuse map through dense-to-sparse distillation with the language model frozen.\nAnchor slots perform full attention, derive block scores from the resulting attention probabilities, and cache the selected KV-block indices for each query block.\nReuse slots attend sparsely using the latest indices from an earlier Anchor of the same KV head, preserving global access to distant blocks without recomputing selection---unlike streaming heads, whose access is restricted to attention sinks and a recent window.\nAcross Qwen3-8B and Llama-3.1-8B on LongBench, LongBench v2, and RULER, ReFresh preserves long-context quality with 80\\% Reuse and achieves a $2.62\\times$ prefill speedup for Qwen3-8B at 256K tokens over FlashAttention-2.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "fcea8109-cdeb-4082-bd49-25509a1eeefe"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "ReFresh: Learning When to Retrieve for Long-Context Prefilling",+ "authors": [],+ "abstract": "Long-context language models enable retrieval and reasoning over large documents, but quadratic self-attention makes prefilling a major bottleneck. Hybrid attention mitigates this cost by combining a few full-attention heads with cheaper streaming heads, yet its efficiency remains limited by the full-attention budget, whose reduction can hurt long-range retrieval.\nWe observe that full attention serves two roles---computing attention outputs and identifying relevant context regions---and that the latter exhibits substantial redundancy across layers: the same key/value (KV) head in neighboring layers often attends to highly overlapping context regions.\nExisting cross-layer reuse methods exploit this redundancy, but typically reuse indices or attention according to fixed or heuristic schedules.\nBuilding on this observation, we introduce \\textbf{ReFresh}, a hybrid attention framework that learns where global retrieval should be refreshed or reused across layers, yielding a binary Anchor/Reuse map through dense-to-sparse distillation with the language model frozen.\nAnchor slots perform full attention, derive block scores from the resulting attention probabilities, and cache the selected KV-block indices for each query block.\nReuse slots attend sparsely using the latest indices from an earlier Anchor of the same KV head, preserving global access to distant blocks without recomputing selection---unlike streaming heads, whose access is restricted to attention sinks and a recent window.\nAcross Qwen3-8B and Llama-3.1-8B on LongBench, LongBench v2, and RULER, ReFresh preserves long-context quality with 80\\% Reuse and achieves a $2.62\\times$ prefill speedup for Qwen3-8B at 256K tokens over FlashAttention-2.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}