Enhancing Feature Fusion of U-like Networks with Dynamic Skip Connections

Yue Cao, Quansong He, Kaishen Wang, Jianlong Xiong, Tao HearXiv 2025 · DOI

Abstract

Traditional U-Net architectures rely on static skip connections that fail to adapt to the high variability of medical images. This paper introduces the Dynamic Skip Connection (DSC) block, a plug-and-play module that uses Test-Time Training (TTT) and Dynamic Multi-Scale Kernels (DMSK) to adaptively refine features for every individual patient during inference. By enabling per-sample adaptation, the DSC block leads to significant performance gains across CNN, Transformer, and Mamba-based networks.

The Challenge of Medical Image Segmentation

Medical image segmentation is inherently difficult due to the immense diversity of human anatomy. Organs vary in size, shape, and contrast across different patients and imaging modalities such as CT, MRI, and ultrasound. Current U-like networks face two primary constraints:

  1. Inter-feature constraint: Standard skip connections are "static." Once trained, the pathway from encoder to decoder is fixed, regardless of whether the input image is a clear scan or a noisy, atypical one.
  2. Intra-feature constraint: Skip connections usually use fixed-size convolutional kernels, making it difficult to capture both fine-grained details (like small lesions) and large-scale structures (like the liver) simultaneously.

While "Attention U-Nets" attempt to address these issues, their attention weights are calculated using fixed parameters learned during training and do not truly adapt to new, unseen patients at test time.

The Dynamic Skip Connection (DSC) Block

The proposed DSC block addresses these constraints through two primary components designed for targeted feature adaptation at the bottleneck layer.

Dynamic Multi-Scale Kernel (DMSK) Module

To handle the intra-feature problem, the DMSK module adaptively weights a combination of small and large kernels. It utilizes a cascade strategy, processing local details first and then using that information to inform the extraction of global context. This hierarchical refinement (local $\rightarrow$ global) proves more effective for medical features than simply merging different scales in parallel.

Test-Time Training (TTT) Module

The TTT module is the most novel aspect of the architecture. Instead of keeping the network weights frozen during inference, it treats each test image as a unique learning opportunity. It uses a self-supervised task to update a set of hidden state weights during the actual inference process. This allows the skip connection to "specialize" its feature transmission for the specific anatomy of the patient currently being scanned, effectively overcoming distribution shifts.

Overview of the DSC architecture, including the DMSK and TTT modules.

Experimental Results

The researchers evaluated the DSC block on five diverse medical imaging benchmarks, including dermoscopy, CT, MRI, endoscopy, and microscopy. The DSC block provided consistent improvements across all tested backbones:

  • Significant Boosts: On the Endoscopy dataset, SegResNet saw a massive jump in Dice score from 0.5820 to 0.6620 after adding the DSC block.
  • State-of-the-Art Integration: When added to U-Mamba, it reached a Dice score of 0.6733 on endoscopy tasks, outperforming the baseline.
  • Robustness: In 3D Abdomen CT segmentation, nnU-Net + DSC achieved a Dice score of 0.8718, outperforming the standard nnU-Net (0.8615).

Qualitative visual results show that DSC-enabled networks produce much cleaner boundaries and maintain better connectivity in complex organs compared to baseline models.

Qualitative segmentation results on microscopy (top) and endoscopy (bottom) datasets showing improved boundary definition.

Conclusion and Future Work

The Dynamic Skip Connection block demonstrates that skip connections are an optimal "tuning knob" for targeted feature adaptation without breaking the underlying architecture. While the TTT module provides significant accuracy gains, it does introduce computational latency; for example, UNETR’s inference time increased from ~39ms to ~84ms per sample. Future research will focus on making TTT more lightweight to achieve these adaptive benefits with less computational overhead for real-time clinical use.

Summary updated

BibTeX
@misc{cao2025enhancing,
  author = {Yue Cao and Quansong He and Kaishen Wang and Jianlong Xiong and Tao He},
  title = {{Enhancing Feature Fusion of U-like Networks with Dynamic Skip Connections}},
  year = {2025},
  eprint = {2509.14610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.14610},
}
Figure