TL;DR
Consispace is a novel medical image resampling framework that unifies voxel spacing across datasets to significantly boost downstream segmentation performance. By combining an ODE-based continuous interpolator for smooth inter-slice transitions with a pretrained vision foundation model for intra-slice semantic consistency, it overcomes the structural discontinuities and blurred boundaries caused by traditional linear interpolation.
What Problem Does This Paper Address?
Volumetric medical images, such as CT and MRI scans, frequently suffer from inconsistent physical voxel spacing, particularly along the axial direction. To train robust deep learning models, state-of-the-art segmentation frameworks like nnU-Net typically harmonize data during preprocessing by resampling all volumes to a uniform median spacing.
However, the standard tool for this job—linear interpolation—is fundamentally flawed for upsampling. Because it relies purely on local intensity averages, it struggles to model complex anatomical variations between slices. This leads to two major issues: anatomical non-smoothness (staircase-like structural discontinuities) and distorted boundaries between different tissues. While volumetric super-resolution methods exist, they treat resampling as an isolated upstream task, completely ignoring the semantic context needed to aid downstream segmentation.
Methods
The authors introduce Consispace, an arbitrary-scale resampling pipeline built on an Implicit Neural Representation (INR) framework. It bridges the gap between image reconstruction and semantic segmentation through two core components:
- ODE-based Inter-slice Dynamics: Instead of treating slices as discrete, isolated steps, Consispace treats the slice index as a pseudo-time variable. It models the spatial progression of anatomy as a continuous trajectory governed by an Ordinary Differential Equation (ODE). By utilizing bidirectional velocity fields, the network smoothly warps representations from both top-down and bottom-up directions to ensure inter-slice continuity.
- Intra-slice Semantic Constraints: To preserve sharp, class-wise boundaries, the framework extracts dense features from a pretrained vision foundation model (DINOv3). It computes an intra-slice contextual correlation map and applies a top-$k$ weighted aggregation mechanism to reweight the interpolated features, ensuring that voxels belonging to the same anatomical structure maintain semantic consistency.
Datasets
The framework was rigorously evaluated on three diverse, public medical imaging datasets:
- TopCow 2024: Brain-vessel MRI scans focusing on the complex, fine-grained topology of the Circle of Willis.
- BraTS 2020: Brain tumor MRI scans characterized by highly irregular morphologies and ambiguous boundaries.
- SPIDER: A lumbar-spine MRI dataset featuring distinct vertebrae, the spinal canal, and intervertebral discs.
Key Insights and Ideas
- Resampling is a Semantic Problem: Purely intensity-based upsampling lacks an understanding of what it is reconstructing. Incorporating rich, dense features from vision foundation models provides the structural context necessary to reconstruct realistic anatomical boundaries.
- Anatomy as a Continuous Flow: Modeling slice transitions via a continuous ODE formulation naturally enforces spatial smoothness, effectively eliminating the artificial "staircase" artifacts common to linear interpolation.
- The Power of Reversed Attention: For velocity field modeling, the authors found that standard attention (which highlights similarities) performs poorly. Instead, they introduce a reversed cosine similarity metric that highlights feature discrepancies between adjacent slices, allowing the model to accurately capture rapid anatomical changes.
Key Results
Improved Resampling Fidelity
Consispace consistently outperformed traditional interpolation (linear, cubic) and state-of-the-art volumetric super-resolution methods (SAINT, ArSSR, CycleINR, DP-INR) across all datasets, achieving the highest PSNR and lowest perceptual error (LPIPS).
Downstream Segmentation Boost
When used as a preprocessing step, Consispace delivered substantial performance gains across three strong segmentation baselines: nnU-Net, Swin UNETR, and MedSAM-2.
- SPIDER (nnU-Net): Switching from linear resampling to Consispace boosted the Dice score from 89.13% to 90.56% and slashed the 95% Hausdorff Distance (HD95) from 4.87mm to 3.48mm.
- TopCow24 (nnU-Net): Dice score improved from 88.42% to 90.83%, demonstrating its capability to preserve highly complex vascular connectivity.
Limitations and Future Work
While highly effective, Consispace currently operates in an anatomy-specific setting, meaning it requires dataset-specific training rather than acting as a universal, zero-shot plug-and-play model.
For future work, the authors plan to scale up both the model capacity and the diversity of the training data. This will help transition Consispace into a universal resampling-segmentation foundation model capable of generalizing across entirely unseen anatomical domains and imaging modalities.
Summary updated