Vision Transformers (ViTs) excel in 3D medical segmentation but require massive annotated datasets. While Self-Supervised Learning (SSL) mitigates this using unlabeled data, it still faces strict privacy and logistical barriers. Formula-Driven Supervised Learning (FDSL) offers a privacy-preserving alternative by pre-training on synthetic mathematical primitives. However, a critical semantic gap limits its efficacy: generic shapes lack the morphological fidelity, fixed spatial layouts, and inter-organ relationships of real anatomy, preventing models from learning essential global structural priors. To bridge this gap, we propose an Anatomy-Informed Synthetic Supervised Pre-training framework unifying FDSL's infinite scalability with anatomical realism. We replace basic primitives with a lightweight shape bank with de-identified, label-only segmentation masks from 5 subjects. Furthermore, we introduce a structure-aware sequential placement strategy to govern the patch synthesis process. Instead of random placement, we enforce physiological plausibility using spatial anchors for correct localization and a topological graph to manage inter-organ interactions (e.g., preventing impossible overlaps). Extensive experiments on BTCV and MSD datasets demonstrate that our method significantly outperforms state-of-the-art FDSL baselines and SSL methods by 1.74% and up to 1.66%, while exhibiting a robust scaling effect where performance improves with increased synthetic data volume. This provides a data-efficient, privacy-compliant solution for medical segmentation. The code will be made publicly available upon acceptance.
Figures & tables
Figure 1: Overall framework. By extracting morphological and spatial priors from minimal real masks, our generator iteratively synthesizes unlimited, biologically plausible data to bridge the semantic gap of FDSL for robust model pre-training and downstream fine-tuning.
Pre-training
PT Num
Avg.
Spl
RKid
LKid
Gall
Eso
Liv
Sto
Aor
IVC
Veins
Pan
rad
lad
UNETR
Scratch
0
75.86
93.02
89.79
90.60
51.34
71.12
95.02
72.90
82.95
76.71
69.05
76.29
62.02
55.33
PrimGeoSeg [ 11 ]
5K
78.90
93.19
93.47
93.35
54.49
68.91
95.88
78.83
87.82
82.47
72.73
80.08
65.06
59.35
Ours
5K
80.64
94.23
93.61
93.32
62.66
71.76
95.79
80.51
90.13
84.11
73.67
79.98
66.49
62.08
SwinUNETR
Scratch
0
80.12
95.32
94.01
93.51
61.17
73.83
94.40
71.19
88.13
85.20
73.12
80.60
67.15
63.88
Table 1: Comparison of segmentation performance on the BTCV dataset. The best results are highlighted in bold.
Method
MSD Dataset
Task 02
Task 06
Task 09
UNETR
SwinUNETR
UNETR
SwinUNETR
UNETR
SwinUNETR
Scratch
95.14
95.34
70.68
76.14
92.52
95.92
PrimGeoSeg
95.61
95.77
78.81
80.39
96.30
96.96
Ours
96.02
95.93
80.47
81.45
96.20
97.38
Table 2: Comparison of segmentation performance on the MSD dataset across different pre-training strategies. Results are reported for both UNETR and SwinUNETR architectures.
Method
Pre-train Data
Data Amount
Avg. Dice
Scratch
None
0
80.12
SwinMM [ 15 ]
Real (CT)
5,000
76.72
SwinUNETR [ 13 ]
Real (CT)
5,000
80.56
PrimGeoSeg
Synthetic
5,000
80.08
Ours
Synthetic
5,000
81.51
Table 3: Comparison with Self-Supervised Learning (SSL) methods pre-trained on real medical datasets. All models use the SwinUNETR backbone and are fine-tuned on BTCV. (Note: values differ slightly from Table 1 due to foreground cropping during fine-tuning, but relative improvements remain consistent.)
Figure 2: Left: Qualitative comparison results. Red dashes indicate misidentified areas and blue dashes indicate more accurately identified areas. Right: Scaling effect when controlling the generated data number from 500 to 50000.
Medical image segmentation delineates organs, lesions, and other structures in scans to support measurement, diagnosis, treatment planning, and research.
Vision Transformers (ViTs) have revolutionized medical image analysis, yet their data-hungry nature clashes with the scarcity and privacy constraints of clinical archives. Formula-Driven Supervised Learning (FDSL) has emerged as a promising solution to this bottleneck, synthesizing infinite annotated samples from mathematical formulas without utilizing real patient data. However, existing FDSL paradigms rely on simple geometric shapes with homogeneous intensities, creating a substantial gap by neglecting tissue textures and noise patterns inherent in modalities like CT and MRI. In this paper, we identify a critical optimization conflict termed boundary aliasing: when high-frequency synthetic textures are naively added, they corrupt the image gradient signals necessary for learning structural boundaries, causing the model to fail in delineating real anatomical margins. To bridge this gap, we propose a novel Physics-inspired Spatially-Decoupled Synthesis framework. Our approach orthogonalizes the synthesis process: it first constructs a gradient-shielded buffer zone based on boundary distance to ensure stable shape learning, and subsequently injects physics-driven spectral textures into the object core. This design effectively reconciles robust shape representation learning with invariance to acquisition noise. Extensive experiments on the BTCV and MSD datasets demonstrate that our method significantly outperforms previous FDSL, as well as SSL methods trained on real-world medical datasets, by 1.43% on BTCV and up to 1.51% on MSD task, offering a scalable, annotation-free foundation for medical ViTs. The code will be made publicly available upon acceptance.
Jiaqi Tang, Weixuan Xu, Shu Zhang +2
Peking University · Central South University · Deepwise Ltd.
Deep learning-based 3D medical image segmentation methods relies on large-scale labeled datasets, yet acquiring such data is difficult due to privacy constraints and the high cost of expert annotation. Formula-Driven Supervised Learning (FDSL) offers an appealing alternative by generating training data and labels directly from mathematical formulas. However, existing voxel-based approaches are limited in geometric expressiveness and cannot synthesize realistic textures. We introduce Formula-Driven supervised learning with Implicit Functions (FDIF), a framework that enables scalable pre-training without using any real data and medical expert annotations. FDIF introduces an implicit-function representation based on signed distance functions (SDFs), enabling compact modeling of complex geometries while exploiting the surface representation of SDFs to support controllable synthesis of both geometric and intensity textures. Across three medical image segmentation benchmarks (AMOS, ACDC, and KiTS) and three architectures (SwinUNETR, nnUNet ResEnc-L, and nnUNet Primus-M), FDIF consistently improves over a formula-driven method, and achieves performance comparable to self-supervised approaches pre-trained on large-scale real datasets. We further show that FDIF pre-training also benefits 3D classification tasks, highlighting implicit-function-based formula supervision as a promising paradigm for data-free representation learning. Code is available at https://github.com/yamanoko/FDIF.
Deep learning and generative models are advancing rapidly, with synthetic data increasingly being integrated into training pipelines for downstream analysis tasks. However, in medical imaging, their adoption remains constrained by the scarcity of reliable annotated datasets. To address this limitation, we propose 3D-LLDM, a label-guided 3D latent diffusion model that generates high-quality synthetic magnetic resonance (MR) volumes with corresponding anatomical segmentation masks. Our approach uses hepatobiliary phase MR images enhanced with the Gd-EOB-DTPA contrast agent to derive structural masks for the liver, portal vein, hepatic vein, and hepatocellular carcinoma, which then guide volumetric synthesis through a ControlNet-based architecture. Trained on 720 real clinical hepatobiliary phase MR scans from Samsung Medical Center, 3D-LLDM achieves a Fréchet Inception Distance (FID) of 28.31, improving over GANs by 70.9% and over state-of-the-art diffusion baselines by 26.7%. When used for data augmentation, the synthetic volumes improve hepatocellular carcinoma segmentation by up to 11.153% Dice score across five CNN architectures.
Kyeonghun Kim, Jaehyeok Bae, Youngung Han +10
OUTTA, Republic of Korea · Stanford University, USA · Seoul National University, Republic of Korea +6