Medical image segmentation is a cornerstone of modern computer-aided diagnosis. However, the state-of-the-art models, primarily based on the U-Net architecture, often carry a heavy "computational tax." Their massive parameter counts and high Floating Point Operations (FLOPs) hinder deployment on resource-constrained hardware, such as mobile diagnostic tools or edge devices in clinical settings.
In research presented at IJCAI-24, a team from Sichuan University introduced a novel approach to "slim down" these networks. By replacing traditional decoders with Neural Memory Ordinary Differential Equations (nmODEs), they achieved significant reductions in complexity without sacrificing accuracy.
The Challenge of Decoder Overhead
The standard U-Net architecture comprises an encoder for feature extraction and a decoder for image reconstruction. While much research has focused on enhancing encoders (e.g., via Transformers), the decoder remains a major source of computational overhead.
Existing lightweight models often use rigid modules that lack adaptability. Furthermore, standard Neural ODEs (NODEs)—which model network layers as continuous differential equations—suffer from topological constraints that limit their ability to map data effectively into different feature spaces. The researchers sought a universal, flexible solution to make decoders more efficient while preserving the fine-grained details necessary for medical imaging.
Methodology: Neural Memory ODEs
The core innovation lies in using nmODEs to formulate the decoder's upward path. Unlike standard NODEs, nmODEs treat skip-connection data as external inputs and separate the network's function into distinct "learning" and "memory" components.
The researchers developed three "plug-and-play" discretized decoders based on different numerical solvers:
- Explicit Euler Decoder (EED): A computationally simple first-order method.
- Heun Decoder (HD): A second-order method that averages derivatives at two points for higher accuracy.
- Linear Multistep Decoder (LMD): A two-step method utilizing information from multiple previous layers.
In this framework, the upward path of the decoder becomes essentially parameter-less. The computational burden shifts to the skip connections, which use a small, parameterized function to integrate features. The ODE solver then handles feature aggregation as a dynamical system, converging toward a "global attractor" that represents the final segmentation mask.
Experimental Results
The models were evaluated on three benchmark skin lesion segmentation datasets: PH2, ISIC2017, and ISIC2018. The nmODE decoders were successfully embedded into five different architectures: UNet, Att-UNet, MALUNet, EGE-UNet, and UNeXt.
The results were particularly striking for larger models:
- Att-UNet (EED): On the PH2 dataset, parameters were reduced from 34.88M to 18.91M, and FLOPs dropped by approximately 74% (from 66.63G to 17.34G). Notably, the mean Intersection over Union (mIoU) increased from 0.858 to 0.905.
- Standard UNet (HD): Parameters were reduced by ~30% and FLOPs by ~40%, while mIoU improved by nearly 3 percentage points on PH2.
- Lightweight Models: Even for already-slim models like EGE-UNet, the nmODE decoders further reduced parameter counts while maintaining state-of-the-art performance.
Discussion and Future Work
While the results are promising, the authors identified several areas for further study. Interestingly, the mathematically more sophisticated Heun Decoder (HD) sometimes performed slightly worse than the simpler Euler (EED) or Multistep (LMD) versions. Additionally, the performance is sensitive to the number of initial channels in the ODE state, requiring manual tuning.
Future research will explore how these ODE-based decoders generalize to 3D medical data, such as CT or MRI scans, where the potential for computational savings is even greater.
Paper Citation: Quansong He, Xiaojun Yao, Jun Wu, Zhang Yi, Tao He. "A Lightweight U-like Network Utilizing Neural Memory Ordinary Differential Equations for Slimming the Decoder." Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI-24), 2024.
Summary updated