Downloads · 30 days
0
ishrith-gowda/SA-CycleGAN-2.5D
SA-CycleGAN-2.5D is a image-to-image model from ishrith-gowda. Use it when you need one image transformed into another. The card lists the license as other.
[](https://arxiv.org/abs/2603.17219) [](https://github.com/ishrith-gowda/SA-CycleGAN-2.5D) [](https://creativecommons.org/licenses/by-nc-nd/4.0/)
Downloads · 30 days
0
Access
Public
Updated Apr 6, 2026
Repo size
771 MB
Likes
0
Public
Click a slice to open those files.
.pth771 MB · 100%
From the Hugging Face model README
Authors: Ishrith Gowda (UC Berkeley EECS), Chunwei Liu (Purdue University)
Paper: SA-CycleGAN-2.5D: Self-Attention CycleGAN with Tri-Planar Context for Multi-Site MRI Harmonization
multi-site neuroimaging analysis is fundamentally confounded by scanner-induced covariate shifts, where the marginal distribution of voxel intensities P(x) varies non-linearly across acquisition protocols while the conditional anatomy P(y|x) remains constant. this is particularly detrimental to radiomic reproducibility, where acquisition variance often exceeds biological pathology variance.
SA-CycleGAN-2.5D is a domain adaptation framework that reduces Maximum Mean Discrepancy (MMD) by 99.1% (1.729 → 0.015) across two institutional MRI domains (BraTS and UPenn-GBM) without paired training data, collapsing a trained scanner domain classifier to near-chance accuracy (59.7%).
| metric | value | detail |
|---|---|---|
| MMD reduction | 99.1% | 1.729 → 0.015 |
| domain classifier accuracy | 59.7% | vs. 50% random baseline |
| cohen's d (attention ablation) | 1.32 (p < 0.001) | global attention is statistically essential |
| SSIM (federated, 40 rounds) | 0.998 | FedAvg, zero raw data sharing |
| SSIM (neural compression) | 0.970 | factorized entropy model, 8.4 bpe |
| training cohort | 654 glioma patients | BraTS + UPenn-GBM, 52K slices |
SA-CycleGAN-2.5D integrates three architectural innovations:
| contribution | description | key metric |
|---|---|---|
| federated harmonization | FedAvg across distributed sites, zero raw data transfer | SSIM = 0.998, 40 rounds |
| neural compression | joint harmonization + factorized entropy model bottleneck | SSIM = 0.970, 8.4 bpe |
| multi-domain AdaIN | 4-scanner-domain style transfer with domain embedding | 4 domains: BraTS, UPenn 3T TrioTim, UPenn 3T other, UPenn 1.5T |
| PatchNCE loss | patch-level contrastive loss for structure preservation | — |
| downstream eval | cross-site U-Net segmentation transfer (Dice, HD95) | — |
intended uses:
out-of-scope uses:
| parameter | value |
|---|---|
| framework | PyTorch 2.6.0 + CUDA 12.4 |
| hardware | NVIDIA A100 80GB PCIe |
| batch size | 32 |
| image size | 128 × 128 |
| optimizer | Adam (β1=0.5, β2=0.999) |
| learning rate | 5e-5 (G), 5e-5 (D) |
| scheduler | cosine annealing with 5-epoch warmup |
| mixed precision | AMP (fp16) |
| data workers | 16-worker parallel I/O + full in-memory slice caching |
| throughput | 4× over standard PyTorch baseline |
import torch
from neuroscope.models.generator import UResNetGenerator
from neuroscope.models.cyclegan import SACycleGAN25D
# load model
model = SACycleGAN25D.from_pretrained("ishrith-gowda/SA-CycleGAN-2.5D")
model.eval()
# input: [B, 12, H, W] — 3 adjacent axial slices × 4 modalities (T1, T1ce, T2, FLAIR)
# normalized to [-1, 1] per modality
input_25d = torch.randn(1, 12, 128, 128) # replace with real volume
with torch.no_grad():
harmonized = model.generator_A2B(input_25d) # [B, 4, H, W] — center slice, all modalities
see the official repository for full preprocessing pipeline, dataset loading, and inference scripts.
trained on:
see ishrith-gowda/MRI-Harmonization-BraTS-UPenn for the preprocessed dataset card.
@article{gowda2026sacyclegan25d,
title={SA-CycleGAN-2.5D: Self-Attention CycleGAN with Tri-Planar Context for Multi-Site MRI Harmonization},
author={Gowda, Ishrith and Liu, Chunwei},
journal={arXiv preprint arXiv:2603.17219},
year={2026},
url={https://arxiv.org/abs/2603.17219},
doi={10.48550/arXiv.2603.17219}
}
data provided by The Cancer Imaging Archive (TCIA) under the BraTS-TCGA-GBM and UPenn-GBM collections. compute provided by Chameleon Cloud (NSF-funded research infrastructure). research conducted under the supervision of Dr. Chunwei Liu.