HER-Seg: Holistically efficient segmentation for high-resolution medical images.
Authors
Affiliations (8)
Affiliations (8)
- School of Computer Science, University of Nottingham Ningbo China, China; School of Computer Science, University of Nottingham, UK.
- Sichuan University Pittsburgh Institute, Sichuan University, China.
- Department of Electronic Engineering, Chinese University of Hong Kong, Hong Kong Special Administrative Region of China.
- School of Computer Science, University of Nottingham Ningbo China, China. Electronic address: [email protected].
- School of Computer Science, University of Nottingham Ningbo China, China.
- School of Computer Science, University of Nottingham, UK.
- School of Engineering and Physical Science, University of Lincoln, UK.
- Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University, Hong Kong Special Administrative Region of China. Electronic address: [email protected].
Abstract
High-resolution segmentation is critical for precise disease diagnosis by extracting fine-grained morphological details. Existing hierarchical encoder-decoder frameworks have demonstrated remarkable adaptability across diverse medical segmentation tasks. While beneficial, they usually require the huge computation and memory costs when handling high-resolution segmentation, which limits their applicability in foundation model building. To address this limitation, we propose a holistically efficient framework for high-resolution medical image segmentation, called HER-Seg. Specifically, we first devise a computation-efficient gated-filtering image encoder (CG-Encoder) to model long-range dependencies with linear complexity while maintaining sufficient representations. In particular, we devise the dual-gated linear attention (DLA) mechanism to perform cascaded token filtering, selectively retaining important tokens while ignoring irrelevant ones to enhance attention computation efficiency. Then, we propose a memory-efficient cross-scale decoder (MC-Decoder) to eliminate the demand for the hierarchical structure by leveraging cross-scale segmentation decoding. Extensive experiments reveal that HER-Seg outperforms state-of-the-art methods in high-resolution medical 2D, 3D and video segmentation tasks. In particular, our HER-Seg requires only 0.59 GB training GPU memory and 9.39G inference FLOPs per 1024 × 1024 image, demonstrating superior memory and computation efficiency. The code is available at https://github.com/xq141839/HER-Seg.