Manuscript Offprint

arXiv:2608.30458

Federated Multi-Task Learning for Bladder Tumor Segmentation and MIBC Classification Using a Hybrid CNN-Transformer Architecture

Malhar Udmale, Divyanshu Dwivedi, Aarohi Dhand, Sachin Dudda Nagaraju, Mayank Rai, Bagesh Kumar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Malhar Udmale 1∗^{1*}, Divyanshu Dwivedi 2∗^{2*}, Aarohi Dhand 2∗^{2*}, Sachin Dudda Nagaraju 3^{3}, Mayank Rai 2^{2}, and Bagesh Kumar 2^{2}

1^{1} Indian Institute of Information Technology Allahabad, Prayagraj, India

iib2024020@iiita.ac.in

2^{2} Manipal University Jaipur, Jaipur, India

{divyanshu.2427010047, aarohi.2430040138,

mayank.2430040139}@muj.manipal.edu, bagesh.kumar@jaipur.manipal.edu

3^{3} Norwegian University of Science and Technology, Trondheim, Norway

sachin.d.nagaraju@ntnu.no

Abstract. Accurate bladder tumor segmentation and assessment of muscle invasion from T2-weighted MRI are important for treatment planning, but developing robust models across institutions is challenging because patient data cannot be centrally pooled and imaging characteristics vary across scanners and acquisition protocols. We propose a federated multi-task learning framework for joint bladder tumor segmentation and MIBC/NMIBC classification across four clinical centers. The proposed Swin Hybrid model combines a ResNet-34 branch for local texture and boundary information with a Swin-Tiny Transformer for global anatomical context. A segmentation-guided classification mechanism further uses tumor localization information to support MIBC prediction. We also investigate several augmentation strategies under both centralized and federated training to improve robustness to multi-center variability. Experiments on the FedBCa dataset show that the Swin Hybrid provides the best overall balance between segmentation and classification among the evaluated architectures. Under federated training, Geo+Elastic augmentation achieved a DSC of 0.8100 and a patient-level AUC of 0.8931, yielding the highest combined score of 0.8474. These results demonstrate that joint segmentation and classification can be effectively performed across multiple institutions using federated training without centralizing patient data.

Keywords: Bladder Cancer · Federated Learning · Multi-task learning.

1 Introduction

Bladder cancer is one of the most common urological malignancies, and accurate staging is essential for determining appropriate treatment [2]. In particular, distinguishing non-muscle-invasive bladder cancer (NMIBC) from muscle-invasive

0^{0} * These authors contributed equally to this work.

Malhar et al.

bladder cancer (MIBC) directly influences clinical management, as MIBC typically requires more aggressive treatment than localized therapies for NMIBC [18]. In addition to staging, accurate tumor segmentation provides valuable anatomical information for treatment planning, disease monitoring, and quantitative assessment [5]. T2-weighted Magnetic Resonance Imaging (MRI) is widely used for bladder cancer evaluation because of its excellent soft-tissue contrast, but manual tumor delineation and staging remain labor-intensive and are subject to inter-observer variability [18]. These challenges have motivated the development of automated deep learning methods for the analysis of bladder cancer.

Deep learning has achieved promising performance in medical image segmentation and classification, but its success depends on access to diverse datasets of multiple centers [10]. In clinical practice, patient data are distributed across hospitals and cannot be centrally shared due to privacy regulations [9]. Federated learning (FL) addresses this limitation by enabling collaborative model training without transferring patient data between institutions [14]. However, multi-center MRI datasets introduce substantial scanner heterogeneity due to differences in scanner hardware and acquisition protocols [11]. These non-IID data distributions create domain shifts that reduce the robustness and generalizability of federated models across clinical sites [28]. Despite these challenges, few studies have explored federated multi-task learning that jointly addresses tumor segmentation and staging classification under scanner heterogeneity in bladder cancer MRI. Existing approaches commonly treat segmentation and classification as independent tasks [7], missing the complementary anatomical and pathological information shared between them. Jointly learning both tasks enables the network to learn shared feature representations that improve diagnostic performance while reducing overfitting [26]. Furthermore, a hybrid architecture combining convolutional neural networks with vision transformers can capture both fine local boundary information and long-range anatomical context, making it well suited to heterogeneous multi-center MRI data [22].

To address these challenges, we propose a privacy-preserving federated multi-task learning framework for joint bladder tumor segmentation and MIBC classification using the multi-center FedBCa dataset [4]. Motivated by recent work on augmentation-driven domain generalization in federated medical imaging [15], we conduct a systematic study of augmentation strategies designed to harmonize appearance variability across heterogeneous MRI scanners, identifying the combination that best improves cross-center robustness under FL.

The main contributions of this work are as follows:

– Federated Multi-Task Framework: We develop a federated learning framework using FedAvg that jointly optimizes bladder tumor segmentation and MIBC classification across four heterogeneous clinical centers without sharing patient data.

– Swin Hybrid Architecture: We propose a dual-stream encoder combining a pretrained ResNet-34 CNN branch for local texture and boundary features with a Swin-Tiny Transformer branch for global anatomical context, connected via segmentation-guided attention for classification.

– Augmentation Study for MRI Scanner Heterogeneity: We systematically evaluate six augmentation strategies under both centralized and federated training, identifying Geo+Elastic deformation as the optimal strategy, achieving DSC of 0.8100 and AUC of 0.8931 under FL.

References (29)