Most models that outline organs in 3D medical scans, such as CT or MRI volumes, treat each scan as a frozen snapshot. Many clinically important organs move, though. The heart beats and the lungs breathe, and when a static 3D model is run on each time frame of a cardiac cycle, its outlines flicker from frame to frame. It also fails where tissue slides into and out of the imaging slices. The two usual fixes are both costly. True four-dimensional convolutions, which filter over space and time at once, use so much memory that the network has to be made shallower, and spatial accuracy drops (4D CNN for Semantic Segmentation of Cardiac Volumetric Sequences). Stacking time frames as extra input channels removes any built-in notion of temporal order and still costs thousands of GPU-hours (Forecasting Whole-Brain Neuronal Activity from Volumetric Video).
We propose a cheaper and safer route. We take a well-trained static 3D segmenter and insert small temporal residual adapters into it. Each adapter is a one-dimensional convolution that runs along the time axis at every voxel of the network's internal feature maps. Its output is added back to the features through a gate that starts at exactly zero. At initialization, the 4D model is therefore identical to the static 3D model. Training can only add temporal corrections, the "residual" in the name, that reduce the loss. The claim is specific and testable. This construction should match the static model's spatial accuracy on labeled frames. It should concentrate its gains at the basal and apical slices, where through-plane motion occurs. It should also track fast physiological motion more faithfully than approaches that simply penalize change between frames.
Core Claim
The two directions play different roles here. Temporal residual learning supplies the mechanism: dilated residual one-dimensional convolutions, of the kind that Convolutional Sequence Modeling Revisited showed beat recurrent networks across sequence tasks and that Wang et al. established for time series classification. "Dilated" means the kernel skips frames, so the window of time each layer sees grows exponentially with depth. Volumetric spatial context supplies the regime and the constraint. Spatial capacity must not be sacrificed, because that is exactly what went wrong for the 4D CNN, where left-ventricle Dice fell to 0.90 against 0.91 for its 3D counterpart. Through-plane motion must be handled natively rather than by slice-wise heuristics.
Let $h^{(l)}_{t}$ be the feature map at decoder or encoder level $l$ of the static 3D network for frame $t$. The adapted feature is
$$\tilde h^{(l)}_{t} = h^{(l)}_{t} + \alpha_l \, D_l\big(h^{(l)}_{1:T}\big)_t,$$
where $D_l$ is a small stack of dilated one-dimensional temporal convolutions. It has kernel size $k$ along time and size 1 along the three spatial axes, it is applied independently at every voxel, and its weights are shared across voxels. The scalar or per-channel gate $\alpha_l$ is initialized to zero. The spatial cost is unchanged. The temporal cost grows linearly in $T$ and in $k$, rather than as $k^4$ in the parameters and activations of a true 4D kernel.
Factorizing space and time into separate convolutions is a known trick in video recognition, and we do not claim it as new. What is new relative to the file's closest work falls into three parts. First, a zero-gated temporal residual path is grafted onto pretrained static volumetric networks. Second, the result is trained with the sparse, end-diastole and end-systole-only labels that 4D cardiac data actually provides. Third, it is evaluated on the quantities where temporal modeling should matter, not only on Dice at two phases.
Relation to Prior Work
Several papers motivate the gap. VoxResNet, 3D U-Net and SegVol build strong native 3D segmenters, with SegVol reaching 0.8593 Dice on AMOS22, but none of them has any temporal pathway. Our adapters are designed to sit on exactly such backbones.
Three works extend pretrained models along an extra axis, and they are the closest relatives in method. MA-SAM injects 3D adapters into a frozen 2D model but treats time as just another spatial axis with isotropic kernels. cineCMR-SAM adds temporal self-attention to 2D SAM, but it works on single 2D slices over time and discards cross-slice depth. DDaTR uses gated temporal residual flow between two radiograph exams and explicitly names 3D CT and MRI as future work. We differ from all three in the same way: our adapters act on 3D volumetric features, along a dense time axis, with a residual path that starts as the identity.
Two works constrain the design. The 4D CNN paper shows that joint space-time kernels force shallow networks. Its $L_2$ penalty on frame-to-frame differences also smooths away genuine rapid motion, so we treat that loss as a baseline rather than an ingredient. The ZAPBench forecasting study shows that frame stacking loses its advantage at long temporal contexts (C=256). We read this as a warning about unstructured temporal capacity, and it motivates dilated, weight-shared temporal kernels.
Two further works solve related problems differently. CSTM handles through-plane motion by propagating masks with patch memory, first across time and then along depth. It requires ground-truth anchor masks at the end-diastole and end-systole phases, so it is a guided propagator, not an automatic segmenter. Myocardial Segmentation with Temporal Consistency adds a bidirectional ConvLSTM, a recurrent network with convolutional internal operations, on top of 2D residual features, and reports a gain of 1–2% Dice. It stays slice-wise and recurrent.
Research Program
The build has three parts.
First, we train or reuse strong static 3D segmenters: a residual 3D U-Net in the style of VoxResNet, and, where weights allow, a SegVol-style volumetric transformer. These are trained on labeled frames of ACDC and M&Ms, and on the 4D coronary CT angiography (CCTA) sequences used by the 4D CNN paper if access can be obtained.
Second, we insert temporal residual adapters with zero-initialized gates at each resolution level. Each adapter has two dilated temporal layers with dilations 1 and 2, or 1, 2, 4 and 8 for long sequences. The temporal axis uses circular padding, which reflects the periodic cardiac cycle. We compare bidirectional and causal variants.
Third, we train the adapted model end to end on full cycles. The loss is computed only on labeled frames, following the sparse-loss idea of the 4D CNN paper and the zero-weight masking of 3D U-Net. Unlabeled frames still contribute context through the adapters. We will also test a lightly regularized variant that adds a cycle-consistency term, requiring the end-diastole prediction to be recovered after passing through the full cycle. This is an ablation, not the core method.
The analysis has two parts. We measure where in the volume and where in the cycle the learned gates $\alpha_l$ grow. We also measure whether the temporal branch's contribution concentrates in basal and apical slices, as the through-plane-motion hypothesis predicts. ACDC short-axis stacks are anisotropic, with roughly 10 mm between slices, and CSTM notes they suffer inter-slice misalignment from inconsistent breath-holds. We therefore treat 4D CCTA, with isotropic 1 mm voxels, as the cleaner volumetric test when it is available, and ACDC and M&Ms as the harder, more common one.
Baselines
The do-nothing reference is the same static 3D backbone run independently on every frame, with identical preprocessing and training data. The adapted model starts exactly at this point, so any gain is attributable to the temporal branch. Matching it on labeled-frame Dice while improving temporal metrics is the minimum bar. Falling below it on labeled-frame Dice would falsify the "cannot hurt" claim.
The first competitor is a true 4D convolutional residual U-Net with the temporal-derivative loss, reimplemented as in 4D CNN for Semantic Segmentation of Cardiac Volumetric Sequences under the same GPU memory ceiling as our model. It is the most direct existing 4D method. The paper reports left-ventricle Dice 0.90 (against 0.91 for 3D), myocardium Dice 0.85 for both, and temporal $L_2$ smoothness 1.05 (against 1.28 for 3D) on 4D CCTA. Beating it means higher Dice at equal or better smoothness, within the same memory.
The second competitor is frame-stacked 3D input as in Forecasting Whole-Brain Neuronal Activity from Volumetric Video, with matched parameters and compute.
The third competitor, which we consider the strongest adaptive one, is a temporal-attention adapter of matched parameter count. It follows cineCMR-SAM's factorized design, with self-attention across frames at each position, but is placed on our 3D backbone. cineCMR-SAM reports zero-shot M&Ms Dice 0.835 against 0.810 for U-transformer, and 0.890 on STACOM2011 against 0.877 for nnU-Net. This baseline isolates whether dilated residual convolution, rather than any temporal mixing, is what helps.
We also report the recurrent 2D approach of Myocardial Segmentation with Temporal Consistency, which reports a 1–2% Dice gain over Res U-Net on ACDC. CSTM's basal-slice Dice of 0.931 on ACDC, against 0.916 for STCN, is shown as a reference ceiling. It is not a fair competitor, because it receives ground-truth anchor masks at test time.
All trained methods get the same data splits, the same backbone where applicable, the same augmentation, and the same number of hyperparameter trials, with a fixed GPU-hour budget. Results are averaged over three seeds.
The key ablations target the specific ingredients. We compare zero-initialized against randomly initialized gates, dilated against undilated temporal kernels, and adapters at every level against bottleneck-only adapters. We also replace the adapters with the $L_2$ temporal loss applied to the static model.
Why not just…?
Why not just run the 3D model per frame and smooth the outputs over time? This is the real threat for Dice at end-diastole and end-systole, and we expect it may tie there. Post-hoc smoothing, however, cannot move a boundary that is wrong in every frame. At basal slices, the myocardium exits the imaging plane, and no per-frame model sees the evidence needed to place that boundary. Smoothing also flattens rapid systolic motion, which is exactly the shortcoming of the $L_2$ penalty in the 4D CNN paper. The dense-cycle and volume-curve metrics below are designed to separate the two. If smoothing matches us on those as well, the adapter idea is not worth its complexity, and we will say so.
Why not just stack frames as channels? Stacking has no weight sharing across time and no ordering. The ZAPBench study shows its benefit shrinking at long contexts and a cost of 1,920 GPU-hours. We run it at matched compute. The long-context experiment on ZAPBench tests whether dilated residual adapters degrade more gracefully as context grows.
Why not use temporal attention like cineCMR-SAM? Attention is a strong alternative, and cardiac cycles are short, so its quadratic cost in sequence length is not prohibitive. We include it at matched parameter count. Our hypothesis is that local, dilated temporal kernels generalize better across vendors on M&Ms because they encode the smoothness of motion structurally. If attention wins, the proposal reduces to "zero-gated temporal adapters on 3D backbones", with attention as the operator. That is still a useful result, but a narrower one.
Isn't this just a (2+1)D factorized convolution from video? The operator is borrowed, and we say so. The contribution under test is different. It is whether grafting such a path, identity-initialized, onto pretrained static volumetric segmenters and training it with only two labeled phases per cycle beats the 4D and attention alternatives at a fixed memory budget. That question has not been answered in the material we reviewed.
Proposed Experiments
On ACDC and M&Ms, we report Dice and 95th-percentile Hausdorff distance at end-diastole and end-systole, broken down by basal, mid and apical slices. We also report temporal $L_2$ smoothness, as defined in the 4D CNN paper, over the full cycle. Because ACDC labels only two phases, we will densely annotate full cycles for a small held-out set of about ten patients. On these we measure per-frame Dice and the error of the left-ventricular volume curve, including peak ejection and filling rates. These rates are the quantities that derivative-penalizing losses are expected to blunt. On 4D CCTA, if access allows, we use its roughly 20% labeled frames. We hold out some of the labeled middle frames for evaluation and report ejection-fraction classification alongside Dice. For M&Ms, we train on ACDC and test zero-shot across vendors, to probe generalization.
The decisive checks are as follows. The adapted model should match the per-frame static model within noise on labeled-frame Dice. It should improve basal-slice Dice and volume-curve error by more than the gap between seeds. It should beat the $L_2$-loss and temporal-attention variants on peak-rate error at equal memory. Finally, on ZAPBench one-step forecasting, a 3D UNet with temporal residual adapters should retain an advantage over the frame-stacked model at long contexts (C=256), where the frame-stacked model's advantage over trace-based models diminished. Failure on the first check would falsify the "cannot hurt" premise. Failure on the second or third would mean temporal residual adapters add nothing that cheap smoothing does not already provide.
References
- 4D CNN for Semantic Segmentation of Cardiac Volumetric Sequences
- Forecasting Whole-Brain Neuronal Activity from Volumetric Video
- Convolutional Sequence Modeling Revisited
- Time series classification from scratch with deep neural networks: A strong baseline
- VoxResNet: Deep Voxelwise Residual Networks for Volumetric Brain Segmentation
- 3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation
- SegVol: Universal and Interactive Volumetric Medical Image Segmentation
- MA-SAM: Modality-agnostic SAM adaptation for 3D medical image segmentation
- Temporal-Spatial Adaptation of Promptable SAM Enhance Accuracy and Generalizability of Cine CMR Segmentation
- DDaTR: Dynamic Difference-Aware Temporal Residual Network for Longitudinal Radiology Report Generation
- Continuous Spatio-Temporal Memory Networks for 4D Cardiac Cine MRI Segmentation
- Myocardial Segmentation of Cardiac MRI Sequences With Temporal Consistency for Coronary Artery Disease Diagnosis