arXiv:2608.27178cs.CVAug 2026

Manuscript Offprint

arXiv:2608.27178

Parameter-Efficient pretrained-CT-to-MRI Transfer for Rectal Cancer Segmentation: Performance-Calibration Trade-offs

Aneesh Rangnekar, Jorge Tapias Gomez, Joseph O Deasy, Harini Veeraraghavan

Aneesh Rangnekar [0000−0002−0079−9495]^{[0000-0002-0079-9495]}, Jorge Tapias Gomez, Joseph O Deasy, and Harini Veeraraghavan

Memorial Sloan Kettering Cancer Center, New York, USA

Corresponding author: veerarah@mskcc.org

Abstract. Accurate rectal cancer segmentation from magnetic resonance imaging (MRI) is essential for adaptive radiotherapy and tumor response assessment, but deployment also requires computational efficiency and informative, calibrated uncertainty estimates. We therefore introduce SWIFT, a SWin pretrained model with parameter-eEfficient and Tumor-aware fine-tuning for rectal cancer segmentation. A Swin V2 encoder pretrained on 10,444 public 3D CT volumes using a DINov2-style objective was adapted to T2-weighted MRI through four cumulative configurations: full fine-tuning (SWIFT), decoder compression (SWIFTe), low-rank adaptation (SWIFTe-LoRA), and a four-member LoRA-decoder ensemble (SWIFTe-LDE4). Geometric accuracy, tumor detection, radiomic agreement, and probability calibration were evaluated on a held-out 247-case test set from a single-institution cohort acquired using 1.5 or 3 Tesla GE scanners. Compared with SWIFT, SWIFTe reduced total parameters by 70.1% (from 72.8M to 21.8M) and increased tumor detection rate from 89.9% to 93.9%, while achieving a slightly lower median surface DSC (0.61 versus 0.62) and improved radiomic agreement. In a separate SWIFTe ablation, removing tumor-aware augmentation reduced detection from 93.9% to 89.9% but increased surface DSC from 0.61 to 0.64, demonstrating a detection-boundary-agreement trade-off. SWIFTe-LoRA used 14.6% of SWIFTe's trainable parameters while retaining similar segmentation performance. SWIFTe-LDE4 achieved the lowest calibration errors among the four configurations after temperature scaling (expected calibration error, 0.217; Brier score, 0.222), although the absolute expected calibration error indicates residual miscalibration. Similar efficiency-calibration patterns were observed using the public VoCo checkpoint, supporting robustness across pretrained initializations rather than external clinical generalizability. Code and selected model checkpoints are available in our GitHub repository.

Keywords: Rectal cancer segmentation · Efficient decoder · LoRA · Uncertainty · Performance-calibration trade-off

A. Rangnekar et al.

1 Introduction

MR-guided adaptive radiotherapy (MRgART) enables daily treatment adaptation to deliver ablative tumor doses while limiting exposure to adjacent radiosensitive gastrointestinal organs [6]. Daily rectal tumor contouring is a major bottleneck in MRgART [9]. Self-supervised training of high-capacity deep learning (DL) models with diverse imaging datasets has demonstrated adaptability to multiple medical imaging tasks [23,11,4,26] and robustness to some imaging variations [10]. However, models can fail in clinical scenarios not captured during training, requiring manual contouring [13]. Uncertainty metrics generated from voxel-wise probabilistic predictions can provide information about segmentation confidence [22,20] and potentially guide the manual correction process [25,15]. However, poorly calibrated models may fail confidently in unfamiliar testing regimes [16,12,21]. Furthermore, large models require significant computational resources for adaptation, inference, and uncertainty estimation, creating a computational bottleneck in a complex adaptive radiotherapy (aRT) workflow.

Published rectal-tumor MRI studies reported DSC values of 0.68–0.70 on multiparametric MRI [24], while patient-specific adaptation on daily MR-Linac images reduced median HD95 from 22.0 mm to 4.8 mm [13]. Differences in cohorts, protocols, and metrics preclude direct ranking against our results.

DL models deployed in time-sensitive aRT settings must often satisfy three requirements: (i) acceptable geometric accuracy, (ii) practical computational costs, and (iii) calibrated uncertainty estimates to guide when user intervention is needed. Prior works have individually examined methods to improve geometric accuracy [13], reliability of uncertainties [22,21], and strategies to address computational bottlenecks, including streamlined decoders [19], low-rank adaptation (LoRA) for efficient tuning [8], and probabilistic inference with shared heads and LoRA [3,1,17]. However, none have studied the interplay of parameter efficiency, performance, and calibration for reliably accurate tumor segmentation considering clinical deployment. Our key contribution is therefore a benchmarking framework that holistically evaluates performance-calibration trade-offs with parameter efficiency in pretrained models.

We benchmarked a cumulative four-stage curriculum by first creating a model called Swin pretrained model with parameter eFicient and Tumor-aware fine-tuning (SWIFT) applied to rectal cancer segmentation from MRI. SWIFT uses Swin transformer V2 to extract computationally efficient attention, integrating local and global anatomical context while supporting stable training for improved transferability [5]. It retains the standard Swin UNETR V2 decoder [5] and is fine-tuned end-to-end, providing a full-adaptation reference. Besides imaging differences, rectal cancers exhibit a highly variable appearance on T2-weighted MRI due to tumor morphology, histologic composition, lymph node invasion, and extracellular mucin, confounding accurate segmentation [7,2,14,27]. To address this, we developed a tumor-aware intensity augmentation that selectively varies the intensity statistics within tumors to capture intermediate, dark, and bright tumors. All model variants were fine-tuned with tumor-aware augmentation. Second, we evaluated the impact of reducing decoder capacity and model complexity.

by replacing the original decoder with an efficient EffiDec3D decoder [19] within SWIFT (or SWIFTe). Third, we analyzed the impact of freezing the pretrained encoders to reduce the parameters for fine-tuning using LoRA [8] within SWIFTe (or SWIFTe-LoRA). Fourth, we evaluated whether extending SWIFTe-LoRA with member-specific adapter-decoder pairs and shared pretrained encoder (or SWIFTe-LDE4) enhanced uncertainty calibration [17].

References (27)