TTT-Unet: Enhancing U-Net with Test-Time Training Layers for Biomedical Image Segmentation
Rong Zhou, Zhengqing Yuan, Zhiling Yan, Weixiang Sun, Kai Zhang, Yiwei Li, Yanfang Ye, Xiang Li, Lifang He, Lichao Sun
TL;DR
The paper addresses the challenge of long-range dependency modeling in biomedical image segmentation by integrating Test-Time Training layers into U-Net, creating TTT-UNet. It introduces TTT layers that treat the hidden state as a trainable model updated via self-supervised learning, enabling dynamic adaptation during inference without altering the training objective. The authors demonstrate consistent, state-of-the-art improvements across 3D abdomen CT/MRI, 2D Endoscopy, and Microscopy segmentation datasets, highlighting enhanced generalization and boundary precision with manageable yet nontrivial computational cost. The work provides a practical, adaptable framework for clinical image analysis and shares a public codebase for replication and extension.
Abstract
Biomedical image segmentation is crucial for accurately diagnosing and analyzing various diseases. However, Convolutional Neural Networks (CNNs) and Transformers, the most commonly used architectures for this task, struggle to effectively capture long-range dependencies due to the inherent locality of CNNs and the computational complexity of Transformers. To address this limitation, we introduce TTT-Unet, a novel framework that integrates Test-Time Training (TTT) layers into the traditional U-Net architecture for biomedical image segmentation. TTT-Unet dynamically adjusts model parameters during the testing time, enhancing the model's ability to capture both local and long-range features. We evaluate TTT-Unet on multiple medical imaging datasets, including 3D abdominal organ segmentation in CT and MR images, instrument segmentation in endoscopy images, and cell segmentation in microscopy images. The results demonstrate that TTT-Unet consistently outperforms state-of-the-art CNN-based and Transformer-based segmentation models across all tasks. The code is available at https://github.com/rongzhou7/TTT-Unet.
