FermatSyn: SAM2-Enhanced Bidirectional Mamba with Isotropic Spiral Scanning for Multi-Modal Medical Image Synthesis
Organizations: School of Biomedical Engineering (Suzhou), Division of Life Science and Medicine, University of Science and Technology of China, Hefei, China · Suzhou Institute of Biomedical Engineering and Technology, Chinese Academy of Sciences, Suzhou, China · Shanghai Innovation Institute, Shanghai, China
Abstract
Multi-modal medical image synthesis is pivotal for alleviating clinical data scarcity, yet existing methods fail to reconcile global anatomical consistency with high-fidelity local detail. We propose FermatSyn, which addresses three persistent limitations: (1) SAM2-based Prior Encoder that injects domain-aware anatomical knowledge via LoRA efficient fine-tuning of a frozen SAM2 Vision Transformer; (2) Hierarchical Residual Downsampling Module (HRDM) coupled with a Cross-scale Integration Network (CIN) that preserves high-frequency lesion details and adaptively fuses global--local representations; and (3) continuity constrained Fermat Spiral Scanning strategy within a Bidirectional Fermat Scan Mamba (BFS-Mamba), constructing an approximately isotropic receptive field that substantially reduces the directional bias of raster or spiral serialization. Experiments on SynthRAD2023, BraTS2019, BraTS-MEN, and BraTS-MET show FermatSyn surpasses state-of-the-art methods in PSNR, SSIM, FID, and 3D structural consistency. Downstream segmentation on synthesized images yields no significant difference from real-image training (), confirming clinical utility. Code is available at https://github.com/exsinger-hub/ FermatSyn.
Figures & tables
| Method | T1n T1c | T2w T1c | T2f T1c | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SSIM | PSNR | FID | SSIM | PSNR | FID | SSIM | PSNR | FID | |
| MM-GAN [ 18 ] | |||||||||
| MC-cGAN [ 5 ] | |||||||||
| ResViT [ 4 ] | |||||||||
| TransUNet [ 3 ] | |||||||||
| SA-LDM [ 22 ] | |||||||||
| Task | Reg. | Real | Ours | I2I-Mamba | SA-LDM | VMamba | TransU. | ResViT |
|---|---|---|---|---|---|---|---|---|
| T1n T2w | WT | 0.863 | ||||||
| ET | 0.785 | |||||||
| TC | 0.812 | |||||||
| T1n T2f | WT | 0.869 | ||||||
| ET | 0.791 | |||||||
| TC | 0.818 |
| (a) Step-wise | SynthRAD | BraTS | (b) Scanning | SynthRAD | BraTS | ||||
|---|---|---|---|---|---|---|---|---|---|
| SSIM | PSNR | SSIM | PSNR | SSIM | PSNR | SSIM | PSNR | ||
| GAN baseline | Raster-Scan | ||||||||
| +SAM2-VTE | Rect. Spiral | ||||||||
| +HRDM+CIN | Fermat | 0.905 | 28.67 | 0.901 | 29.53 | ||||
| Full | 0.905 | 28.67 | 0.901 | 29.53 | |||||
Medical Image Synthesis
Medical image synthesis creates, translates, reconstructs, and edits clinical images to fill missing data and support analysis.
See all 310 papers