Back to VIRLab Research
ICPR 2026

SRA-Seg: Synthetic to Real Alignment for Semi-Supervised Medical Image Segmentation

The University of Texas at San Antonio
89.34%
Dice on ACDC (10% labeled)
84.42%
Dice on FIVES (10% labeled)
10%
Real Data Required
90%
Synthetic Data
Overview of the SRA-Seg framework

Figure: Overview of the proposed SRA-Seg method. The framework integrates synthetic images generated by StyleGAN2-ADA with real labeled data through soft-mix augmentation, EMA-based pseudo-labeling, and similarity-alignment loss using frozen DINOv2 embeddings.

Abstract

Synthetic data, an appealing alternative to extensive expert-annotated data for medical image segmentation, consistently fails to improve segmentation performance despite its visual realism. The reason being that synthetic and real medical images exist in different semantic feature spaces, creating a domain gap that current semi-supervised learning methods cannot bridge. We propose SRA-Seg, a framework explicitly designed to align synthetic and real feature distributions for medical image segmentation. SRA-Seg introduces a similarity-alignment (SA) loss using frozen DINOv2 embeddings to pull synthetic representations toward their nearest real counterparts in semantic space. We employ soft edge blending to create smooth anatomical transitions and continuous labels, eliminating the hard boundaries from traditional copy-paste augmentation. The framework generates pseudo-labels for synthetic images via an EMA teacher model and applies soft-segmentation losses that respect uncertainty in mixed regions. Our experiments demonstrate strong results: using only 10% labeled real data and 90% synthetic unlabeled data, SRA-Seg achieves 89.34% Dice on ACDC and 84.42% on FIVES, significantly outperforming existing semi-supervised methods and matching the performance of methods using real unlabeled data.

Key Contributions

  • A framework explicitly designed to bridge the synthetic-to-real domain gap for semi-supervised medical image segmentation
  • A similarity-alignment (SA) loss using frozen DINOv2 embeddings to pull synthetic features toward real counterparts
  • Soft edge blending for smooth anatomical transitions, replacing hard copy-paste boundaries

Method

Synthetic Data Generation

High-fidelity synthetic images are generated using StyleGAN2-ADA trained on limited real labeled data (5% or 10%).

Soft-Mix Augmentation

Bidirectional patch exchange with soft edge blending creates smooth anatomical transitions, avoiding sharp boundaries.

Similarity-Alignment Loss

SA loss using frozen DINOv2 embeddings pulls synthetic features toward their nearest real counterparts in semantic space.

Soft-Segmentation Loss

Soft Dice and Cross-Entropy losses computed directly on continuous probability maps, respecting uncertainty in mixed regions.

Synthetic images generated by StyleGAN2-ADA for the ACDC and FIVES datasets

Figure: Synthetic data generated by StyleGAN2-ADA for ACDC (top) and FIVES (bottom) datasets. Left to right: first 3 are original images, next 3 generated using 5% real data, last 3 using 10% real data.

Domain Gap Visualization

KDE plot for UNet with real unlabeled data

(a) UNet + Real Unlabeled

KDE plot for UNet with synthetic unlabeled data

(b) UNet + Synthetic

KDE plot for BCP with synthetic unlabeled data

(c) BCP + Synthetic

KDE plot for SRA-Seg showing aligned distributions

(d) SRA-Seg (Ours)

Figure: KDE plots showing domain mismatch between labeled (green) and unlabeled (blue) data. Our method (d) effectively aligns the distributions.

Soft edge blending component of SRA-Seg

Figure: Soft Edge Blending component of SRA-Seg. The labeled and unlabeled images as well as the corresponding segmentation masks are mixed through cropping and soft mask blending to reduce sharp edges.

Results

ACDC Dataset (Cardiac MRI)

Method Labeled Real Unlabeled Synthetic DICE ↑ Jaccard ↑ 95HD ↓ ASD ↓
5% labeled
UNet6800 47.8337.0131.1612.62
BCP (CVPR'23)68 (5%)1244 (95%)0 87.5978.671.900.67
SRA-Seg (Ours)68 (5%)1244 (95%)0 87.6278.682.010.64
BCP (CVPR'23)68 (5%)01244 (95%) 54.6441.2015.784.83
CrossMatch (JBHI'25)68 (5%)01244 (95%) 9.806.67377.9975.15
ABD(BCP) (CVPR'24)68 (5%)01244 (95%) 21.8414.8310.261.87
DiffRect (MICCAI'24)68 (5%)01244 (95%) 63.7453.5119.296.13
CGS (TMI'25)68 (5%)01244 (95%) 29.2318.9319.206.23
SRA-Seg (Ours)68 (5%)01244 (95%) 60.0246.5219.955.83
10% labeled
UNet13600 79.4168.119.352.70
BCP (CVPR'23)136 (10%)1176 (90%)0 88.8480.623.981.17
SRA-Seg (Ours)136 (10%)1176 (90%)0 88.9981.002.820.83
BCP (CVPR'23)136 (10%)01176 (90%) 87.4678.535.301.62
CrossMatch (JBHI'25)136 (10%)01176 (90%) 85.2676.283.721.00
ABD(BCP) (CVPR'24)136 (10%)01176 (90%) 87.0377.883.190.85
DiffRect (MICCAI'24)136 (10%)01176 (90%) 88.1479.655.721.60
CGS (TMI'25)136 (10%)01176 (90%) 87.7678.953.821.31
SRA-Seg (Ours)136 (10%)01176 (90%) 89.3481.243.031.14

Bold is best and underline is second best, ranked within the synthetic-unlabeled block of each split. The real-unlabeled rows are reference upper bounds and are not ranked.

FIVES Dataset (Fundus Images)

Method Labeled Real Unlabeled Synthetic DICE ↑ Jaccard ↑ 95HD ↓ ASD ↓
5% labeled
UNet2800 49.5034.3818.033.55
BCP (CVPR'23)28 (5%)532 (95%)0 80.3967.292.090.15
SRA-Seg (Ours)28 (5%)532 (95%)0 81.2368.462.070.13
BCP (CVPR'23)28 (5%)0532 (95%) 82.3470.051.760.17
CrossMatch (JBHI'25)28 (5%)0532 (95%) 62.2445.473.950.03
ABD(BCP) (CVPR'24)28 (5%)0532 (95%) 70.6154.003.280.14
DiffRect (MICCAI'24)28 (5%)0532 (95%) 82.7970.691.560.23
CGS (TMI'25)28 (5%)0532 (95%) 81.1468.381.840.20
SRA-Seg (Ours)28 (5%)0532 (95%) 82.8570.781.720.15
10% labeled
UNet5600 59.3643.7113.692.46
BCP (CVPR'23)56 (10%)504 (90%)0 81.8769.351.850.15
SRA-Seg (Ours)56 (10%)504 (90%)0 82.5870.381.800.16
BCP (CVPR'23)56 (10%)0504 (90%) 83.8672.251.510.17
CrossMatch (JBHI'25)56 (10%)0504 (90%) 60.6843.733.690.02
ABD(BCP) (CVPR'24)56 (10%)0504 (90%) 63.5346.766.372.46
DiffRect (MICCAI'24)56 (10%)0504 (90%) 84.2272.791.410.16
CGS (TMI'25)56 (10%)0504 (90%) 83.5571.801.590.17
SRA-Seg (Ours)56 (10%)0504 (90%) 84.4273.081.340.16

Bold is best and underline is second best, ranked within the synthetic-unlabeled block of each split. The real-unlabeled rows are reference upper bounds and are not ranked.

Qualitative Results

ACDC Dataset (10% labeled, 90% synthetic). Incorrectly segmented pixels are highlighted in red. Click any image to enlarge.

Image UNet BCP CrossMatch ABD DiffRect CGS SRA-Seg GT
ACDC case A, input image ACDC case A, UNet prediction ACDC case A, BCP prediction ACDC case A, CrossMatch prediction ACDC case A, ABD prediction ACDC case A, DiffRect prediction ACDC case A, CGS prediction ACDC case A, SRA-Seg prediction ACDC case A, ground truth
ACDC case B, input image ACDC case B, UNet prediction ACDC case B, BCP prediction ACDC case B, CrossMatch prediction ACDC case B, ABD prediction ACDC case B, DiffRect prediction ACDC case B, CGS prediction ACDC case B, SRA-Seg prediction ACDC case B, ground truth
ACDC case C, input image ACDC case C, UNet prediction ACDC case C, BCP prediction ACDC case C, CrossMatch prediction ACDC case C, ABD prediction ACDC case C, DiffRect prediction ACDC case C, CGS prediction ACDC case C, SRA-Seg prediction ACDC case C, ground truth

FIVES Dataset (10% labeled, 90% synthetic). Incorrectly segmented pixels are highlighted in red. Click any image to enlarge.

Image UNet BCP CrossMatch ABD DiffRect CGS SRA-Seg GT
FIVES case 1, input image FIVES case 1, UNet prediction FIVES case 1, BCP prediction FIVES case 1, CrossMatch prediction FIVES case 1, ABD prediction FIVES case 1, DiffRect prediction FIVES case 1, CGS prediction FIVES case 1, SRA-Seg prediction FIVES case 1, ground truth
FIVES case 2, input image FIVES case 2, UNet prediction FIVES case 2, BCP prediction FIVES case 2, CrossMatch prediction FIVES case 2, ABD prediction FIVES case 2, DiffRect prediction FIVES case 2, CGS prediction FIVES case 2, SRA-Seg prediction FIVES case 2, ground truth
FIVES case 3, input image FIVES case 3, UNet prediction FIVES case 3, BCP prediction FIVES case 3, CrossMatch prediction FIVES case 3, ABD prediction FIVES case 3, DiffRect prediction FIVES case 3, CGS prediction FIVES case 3, SRA-Seg prediction FIVES case 3, ground truth
Real-image usage versus Dice score for BCP and SRA-Seg

Figure: Comparison of real-image usage (bar height) and resulting Dice scores (red markers) for BCP versus SRA-Seg on ACDC and FIVES datasets. SRA-Seg achieves higher Dice with only 10% real data.

FID scores for synthetic images at the 5% and 10% splits

Figure: FID scores comparing synthetic and real images across 5% and 10% data splits. Lower FID indicates better synthetic data quality. FIVES achieves consistently lower FID scores.

Ablation Study

All configurations use 10% real labeled and 90% synthetic unlabeled data. The first row is the BCP baseline.

Soft-mix Soft-loss SA-loss ACDC DICE ↑ ACDC Jaccard ↑ ACDC 95HD ↓ ACDC ASD ↓ FIVES DICE ↑ FIVES Jaccard ↑ FIVES 95HD ↓ FIVES ASD ↓
87.4678.535.301.62 83.8672.251.510.17
87.6078.669.662.75 84.0272.501.510.16
88.1679.424.801.50 84.0872.581.540.17
88.0979.362.140.78 84.2572.831.440.16
88.9680.692.871.01 84.1672.711.510.16
89.3381.252.940.85 84.4273.081.340.16

Bold is best per metric. Soft-mix and soft-loss together give the largest Dice gain; SA-loss adds the final improvement and is what closes the distribution gap shown in the KDE plots.

BibTeX

@InProceedings{aranya2027sraseg,
  author    = {Aranya, OFM Riaz Rahman and Desai, Kevin},
  title     = {SRA-Seg: Synthetic to Real Alignment for Semi-Supervised Medical Image Segmentation},
  booktitle = {Pattern Recognition (ICPR)},
  publisher = {Springer Nature Switzerland},
  address   = {Cham},
  pages     = {698--715},
  year      = {2027},
  doi       = {10.1007/978-3-032-31335-5_47},
  isbn      = {978-3-032-31335-5}
}

Acknowledgments

This work builds upon BCP and utilizes StyleGAN2-ADA for synthetic data generation and DINOv2 for feature extraction.