Boundary-Aware Test-Time Adaptation for Zero-Shot Medical Image Segmentation
Not on the map. Why?
Abstract (arXiv)
Due to the scarcity of annotated data and the substantial computational costs of model, conventional tuning methods in medical image segmentation face critical challenges. Current approaches to adapting pretrained models, including full-parameter and parameter-efficient fine-tuning, still rely heavily on task-specific training on downstream tasks. Therefore, zero-shot segmentation has gained increasing attention, especially with foundation models such as SAM demonstrating promising generalization capabilities. However, SAM still faces notable limitations on medical datasets due to domain shifts, making efficient zero-shot enhancement an urgent research goal. To address these challenges, we propose BA-TTA-SAM, a task-agnostic test-time adaptation framework that significantly enhances the zero-shot segmentation performance of SAM via test-time adaptation. This framework integrates two key mechanisms: (1) The encoder-level Gaussian prompt injection embeds Gaussian-based prompts directly into the image encoder, providing explicit guidance for initial representation learning. (2) The cross-layer boundary-aware attention alignment exploits the hierarchical feature interactions within the ViT backbone, aligning deep semantic responses with shallow boundary cues. Experiments on four datasets, including ISIC, Kvasir, BUSI, and REFUGE, show an average improvement of 12.4% in the DICE score compared with SAM's zero-shot segmentation performance. The results demonstrate that our method consistently outperforms state-of-the-art models in medical image segmentation. Our framework significantly enhances the generalization ability of SAM, without requiring any source-domain training data. Extensive experiments on publicly available medical datasets strongly demonstrate the superiority of our framework. Our code is available at https://github.com/Emilychenlin/BA-TTA-SAM.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 4 Dec 2025.
Builds on
34 of 42 references.
References · 34
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2023Segment Anythingcited by 8,158
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2018UNet++: A Nested U-Net Architecture for Medical Image Segmentationcited by 1,518
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
- 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
- 2022Continual Test-Time Domain Adaptationcited by 520
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
22 more
- 2023Customized Segment Anything Model for Medical Image Segmentationcited by 277
- 2019REFUGE Challenge: A Unified Framework for Evaluating Automated Methods for Glaucoma Assessment from Fundus Photographscited by 226
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
- 2024Segment Anything Model for Medical Image Segmentation: Current Applications and Future Directionscited by 97
- 2023DELTA: degradation-free fully test-time adaptationcited by 72
- 2020Tent: Fully Test-time Adaptation by Entropy Minimizationcited by 59
- 2024Segment Anything in Medical Images and Videos: Benchmark and Deploymentcited by 42
- 2023One-Prompt to Segment All Medical Imagescited by 38
- 2024Segment Any Changecited by 35
- 2022On-the-Fly Test-time Adaptation for Medical Image Segmentationcited by 34
- 2023Improving the Generalization of Segmentation Foundation Model under Distribution Shift via Weakly Supervised Adaptationcited by 31
- 2023Each Test Image Deserves A Specific Prompt: Continual Test-Time Adaptation for 2D Medical Image Segmentationcited by 29
- 2024CAT-SAM: Conditional Tuning for Few-Shot Adaptation of Segment Anything Modelcited by 27
- 2023From Denoising Training to Test-Time Adaptation: Enhancing Domain Generalization for Medical Image Segmentationcited by 20
- 2023Boosting Segment Anything Model Towards Open-Vocabulary Learningcited by 10
- 2024Label Anything: Multi-Class Few-Shot Semantic Segmentation with Visual Promptscited by 9
- 2024SAM-SP: Self-Prompting Makes SAM Great Againcited by 8
- 2022Piecewise Linear Neural Networks and Deep Learningcited by 7
- 2024BayTTA: Uncertainty-aware medical image classification with optimized test-time augmentation using Bayesian model averagingcited by 5
- 2024SEG-SAM: Semantic-Guided SAM for Unified Medical Image Segmentationcited by 5
- 2025Test-time Adaptation for Foundation Medical Segmentation Model without Parametric Updatescited by 5
- 2024MCP-MedSAM: A Powerful Lightweight Medical Segment Anything Model Trained with a Single GPU in Just One Daycited by 4
Built on by
Not cited yet.