TL;DR
Measuring heart function from MRI scans usually forces an awkward choice: either color in tens of thousands of pixels to count volumes (transparent, but computationally heavy and label-hungry) or have a neural network guess the volume directly (compact, but a black box). Fourier Contour Learning bridges this divide by representing heart chambers as smooth mathematical curves defined by just a handful of parameters. This elegant geometry lets a single model learn simultaneously from pixel masks, text-report volume numbers, and completely unlabeled scans—running 8x faster while keeping every clinical number visually traceable.
What Problem Does This Paper Address?
Cardiac magnetic resonance (CMR) imaging is the gold standard for measuring how well a heart pumps—specifically by tracking chamber volumes to calculate biomarkers like ejection fraction. Automating this usually splits into two camps:
- Dense Segmentation: Predicting pixel-by-pixel masks and counting voxels. Clinicians can visually verify the masks, which builds trust. However, pixel-level annotations are scarce and expensive. Plus, dense masks create massive token bloat (over 76,000 tokens for a 30-frame scan) when fed into modern Vision-Language Models (VLMs).
- Direct Regression: Predicting scalar volume numbers straight from the image. This can train on abundant clinical reports (like the UK Biobank's 96,000+ subjects), where volume numbers exist without drawn masks. Yet, it offers zero visual proof of how it got the answer.
How do you build a representation that is visually auditable like a mask, compact like regression, and capable of learning from all available data types at once?
Methods
Instead of pixels or raw scalars, the authors parameterize heart boundaries in polar coordinates using truncated Fourier series—representing closed shapes as a sum of smooth sine and cosine waves.
For each 2D MRI slice, the network predicts three nested curves: the left ventricular inner wall (LV), outer wall (LVE), and a biventricular outer contour (BV) wrapping the right ventricle. With a default truncation order of $M=4$ frequencies, each contour requires just 11 numbers (center coordinates, average radius, and 8 shape coefficients) plus a presence score—totaling 36 parameters per slice.
What is standard vs. novel here:
- Architecture: They adapt a standard DETR-style CNN-Transformer encoder-decoder, stripping away the 100 generic object queries (and slow bipartite matching) in favor of just 3 dedicated anatomical queries. A lightweight cross-slice attention module shares 3D context across anisotropic MRI slice stacks.
- Analytic Differentiable Volume: Thanks to Green’s theorem / Parseval's identity in polar coordinates, the exact area inside a Fourier contour can be computed analytically from its coefficients ($A = \pi R_0^2(1 + 2\sum |c_m|^2)$) without ever drawing a pixel! Summing across slices makes 3D volume directly differentiable, unlocking training on text-report measurements.
- Self-Supervised Unlabeled Learning: For raw, unlabeled scans, they introduce a clever polarity-aware edge alignment loss that nudges predicted contour normals to snap onto Sobel image gradients (knowing, for instance, that blood pools are brighter than heart muscle), alongside scale-consistency regularization.
Datasets
A single unified model is trained and evaluated across five datasets:
- Public Benchmarks (Mask-labeled at End-Diastole & End-Systole): ACDC (150 scans), M&Ms (345 multi-center/multi-vendor scans, including 25 unlabeled), and M&Ms-2 (360 scans).
- Newly Introduced In-House Cohorts:
- RO1K: 1,072 scans paired only with clinical text reports (LV/RV volumes, no masks) used for measurement-supervised training.
- ACP (Arbitrary Cardiac Phases): 95 cine scans densely annotated across all 30 frames of the heartbeat, used purely as an external test set to verify generalization beyond standard end-diastolic/end-systolic snapshots.
Key Insights and Ideas
- Calculus beats voxel counting: Because volume is a smooth algebraic function of the wave coefficients, backpropagating clinical report numbers directly shapes the anatomical geometry. You don't need pixel labels to teach the model where the chamber walls are.
- Built-in anatomical priors: Dense pixel networks occasionally hallucinate disconnected "islands" of heart tissue, especially around noisy medical implants (like pacemakers/ICDs). A low-frequency Fourier curve mathematically cannot fragment—it guarantees a closed, continuous, smooth boundary by construction.
- Free 3D meshes and VLM compression: Because every contour is sampled at ordered angles $\theta \in [0, 2\pi]$, point #12 on slice 3 naturally corresponds to point #12 on slice 4, yielding instant, template-free 3D surface meshes without jagged "Marching Cubes" staircase artifacts. Furthermore, compressing an entire slice's anatomy into 3 query tokens makes feeding 3D/4D heart scans into VLMs computationally trivial.
Key Results
- Speed & Efficiency: Compared to the powerhouse
nnU-Netbaseline on a $10 \times 256 \times 256$ volume, Fourier Contour Learning uses roughly 1/3 the FLOPs (137.4G vs. 400.3G) and runs 8.2x faster (23.2 ms vs. 189.5 ms). - Boundary & Volume Accuracy: On ACDC, the ConvNeXt variant matches or beats
nnU-Neton LV Dice (94.17% vs. 93.43%), substantially improves boundary agreement via Normalized Surface Dice (LV NSD: 95.81% vs. 90.97%), and lowers clinical volume errors across LV, myocardium, and RV (e.g., MYO error drops from 8.36 mL to 6.31 mL). - Full-Cycle Generalization: On the unseen 30-frame ACP benchmark, it outperforms
nnU-Netacross nearly all metrics, cutting LV volume error from 8.02 mL down to 4.71 mL. - VLM Reasoning: Plugging the learned anatomical tokens into
Qwen3-VLboosts cardiac disease classification accuracy on ACDC from 67.5% to 85.0% while reducing ejection fraction estimation error.
Limitations and Future Work
- Complex Shapes Struggle: While low-order Fourier series effortlessly hug circular structures like the left ventricle, they are less expressive for the crescent-shaped, sharply cornered right ventricle (where RV Dice trails dense baselines by ~2–3%). Cranking up the frequency order ($M=8$) overfits rather than fixes this.
- Asymmetric Data Advantage: Strict apples-to-apples baseline comparisons are tricky because standard segmentation networks simply cannot ingest the 1,072 measurement-only scans that boost this model.
- Future Work: The authors envision scaling these ultra-compact anatomical tokens to full 4D spatiotemporal cine MRI sequences, giving Vision-Language Models a lightweight, clinically grounded way to "watch" and diagnose heart motion across time without drowning in tens of thousands of video tokens.
Summary updated