paper-with-me

홈 › Papers

Towards Generalization of Block Attention via Automatic Segmentation and Block Distillation

2026-05-15 · Shuaiyi Li, Zhisong Zhang, Yan Wang, Lei Zhu, Dongyang Ma, Chenlong Deng, Yang Deng, Wai Lam 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.

📄 PDF Abstract BibTeX arXiv:2605.15913

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Segmentation

Similar Papers 제목 키워드 기반

AUNet: Attention-guided dense-upsampling networks for breast mass segmentation in whole mammograms

2018-10-24 · Hui Sun, Cheng Li, Boqiang Liu, Hairong Zheng 외

Mammography is one of the most commonly applied tools for early breast cancer screening. Automatic segmentation of breast masses in mammograms is essential but challenging due to the low signal-to-noise ratio and the wid…

Breast Mass Segmentation In Whole MammogramsDecoderSegmentation

PAANet: Progressive Alternating Attention for Automatic Medical Image Segmentation

2021-11-20 · Abhishek Srivastava, Sukalpa Chanda, Debesh Jha, Michael A. Riegler 외

Medical image segmentation can provide detailed information for clinical analysis which can be useful for scenarios where the detailed location of a finding is important. Knowing the location of disease can play a vital …

Decision MakingImage SegmentationMedical Image SegmentationSegmentation+1

AAU-net: An Adaptive Attention U-net for Breast Lesions Segmentation in Ultrasound Images

2022-04-26 · Gongping Chen, Yu Dai, Jianxun Zhang, Moi Hoon Yap

Various deep learning methods have been proposed to segment breast lesion from ultrasound images. However, similar intensity distributions, variable tumor morphology and blurred boundaries present challenges for breast l…

Lesion SegmentationSegmentation

CUAB: Convolutional Uncertainty Attention Block Enhanced the Chest X-ray Image Analysis

2021-05-05 · Chi-Shiang Wang, Fang-Yi Su, Tsung-Lu Michael Lee, Yi-Shan Tsai 외

In recent years, convolutional neural networks (CNNs) have been successfully implemented to various image recognition applications, such as medical image analysis, object detection, and image segmentation. Many studies a…

Image SegmentationMedical Image AnalysisMedical Image Segmentationobject-detection+3

RHA-Net: An Encoder-Decoder Network with Residual Blocks and Hybrid Attention Mechanisms for Pavement Crack Segmentation

2022-07-28 · Guijie Zhu, Zhun Fan, Jiacheng Liu, Duan Yuan 외

The acquisition and evaluation of pavement surface data play an essential role in pavement condition evaluation. In this paper, an efficient and effective end-to-end network for automatic pavement crack segmentation, cal…

Crack SegmentationDecoder