mlsanityData to 7 Oct 2026

Towards Generalization of Block Attention via Automatic Segmentation and Block Distillation

arXiv 2605.15913 ↗First posted 15 May 2026cs.CL cs.AIcited by 0

On the map: Retrieval-augmented generation → Multimodal RAG

also in 1 more
Abstract (arXiv)

Block attention, which processes the input as separate blocks that cannot attend to one another, offers significant potential to improve KV cache reuse in long-context scenarios such as Retrieval-Augmented Generation (RAG). However, its broader application is hindered by two key challenges: the difficulty of segmenting input text into meaningful, self-contained blocks, and the inefficiency of existing block fine-tuning methods that risk degrading performance. To address these, we first construct SemanticSeg, a large and diverse semantic segmentation dataset containing over 30k instances across 16 categories-including books, code, web text, and conversations with text lengths ranging from 2k to 32k. Using this dataset, we train a lightweight segmenter to automatically partition text into human-instinct-aligned blocks with controllable granularity. Second, we propose block distillation, a training framework that is more efficient than block fine-tuning, which uses a frozen full-attention teacher model to guide the block-attention student. This framework integrates three novel components: block sink tokens to mitigate information loss at block boundaries, block dropout to leverage training signals from all blocks, and token-level loss weighting to focus learning on block-attention-sensitive tokens. Experiments across multiple models and benchmarks demonstrate that our segmenter outperforms heuristic and statistical baselines, and block distillation achieves near-full-attention performance under block attention, establishing a practical and scalable pathway for deploying block attention.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 32 of its 34 references that are in the map. First posted on arXiv 15 May 2026.

Builds on

32 of 34 references.

References · 32

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  5. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  6. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
  7. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
  8. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  9. 2018Universal Transformerscited by 613
  10. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  11. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
  12. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
20 more
  1. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  2. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
  3. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
  4. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 223
  5. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
  6. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  7. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 180
  8. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 151
  9. 2025Scaling Latent Reasoning via Looped Language Modelscited by 145
  10. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 135
  11. 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 123
  12. 2023SlimPajama-DC: Understanding Data Combinations for LLM Trainingcited by 72
  13. 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 52
  14. 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulationcited by 48
  15. 2024Block-Attention for Efficient Prefillingcited by 34
  16. 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Modelscited by 26
  17. 2024Language Models as Science Tutorscited by 17
  18. 2024Superposition Prompting: Improving and Accelerating Retrieval-Augmented Generationcited by 15
  19. 2026The Pensieve Paradigm: Stateful Language Models Mastering Their Own Contextcited by 8
  20. 2025InComeS: Integrating Compression and Selection Mechanisms into LLMs for Efficient Model Editingcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026FlashBlock: Attention Caching for Efficient Long-Context Block Diffusion
  2. 2025MoBA: Mixture of Block Attention for Long-Context LLMs
  3. 2025Seg4Diff: Unveiling Open-Vocabulary Segmentation in Text-to-Image Diffusion Transformers
  4. 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
  5. 2026The Structural Attention Tax: How Retrieval Format Hijacks In-Context Learning Independent of Content
  6. 2026Block Sparse Attention with Log-Linear Complexity
  7. 2025TRIM: Token-wise Attention-Derived Saliency for Data-Efficient Instruction Tuning
  8. 2025Beyond RAG vs. Long-Context: Learning Distraction-Aware Retrieval for Efficient Knowledge Grounding