Abstract
Despite the recent success of deep learning in the field of medicine, the issue of data scarcity is exacerbated by concerns about privacy and data ownership. Distributed learning approaches, including federated learning, have been investigated to address these issues. However, they are hindered by the need for cumbersome communication overheads and weaknesses in privacy protection. To tackle these challenges, we propose a self-supervised masked sampling distillation method for the vision transformer. This method can be implemented without continuous communication and can enhance privacy by utilizing a vision transformer-specific encryption technique. We conducted extensive experiments on two different tasks, which demonstrated the effectiveness of our method. We achieved superior performance compared to the existing distributed learning strategy as well as the fine-tuning only baseline. Furthermore, since the self-supervised model created using our proposed method can achieve a general semantic understanding of the image, we demonstrate its potential as a task-agnostic self-supervised foundation model for various downstream tasks, thereby expanding its applicability in the medical domain.
Introduction
Deep learning in medical imaging is fundamentally "data-hungry," yet the acquisition of large-scale datasets is often blocked by privacy regulations like HIPAA or GDPR. While Federated Learning (FL) was proposed to circumvent raw data sharing by exchanging model gradients, it suffers from three critical limitations:
- Communication Bottlenecks: FL requires hundreds of synchronization rounds, making it slow and resource-intensive.
- Privacy Vulnerabilities: Malicious servers can potentially reconstruct private patient images from intercepted gradients via inversion attacks.
- Client Computational Load: FL requires local institutions to perform heavy training, which may be unfeasible for smaller clinics.
To overcome these hurdles, we present MS-DINO (Masked Sampling Distillation with No Labels), a framework that enables single-round distributed training with robust privacy and minimal client-side computation.
Methods: The MS-DINO Framework
The core of MS-DINO lies in leveraging the unique properties of Vision Transformers (ViT) to decouple learning from spatial data organization.
Feature-Space Random Permutation
Instead of transmitting raw images, clients use a ViT to extract "patch features." These features are then randomly shuffled before being sent to the server. Because ViTs utilize self-attention—a mechanism that processes inputs as a set rather than a sequence—the model can still learn global context from shuffled patches. For an external observer, however, the data appears as an unsolvable jigsaw puzzle, providing a mathematical layer of encryption.
Masked Sampling Distillation
On the server, self-supervised learning is performed using stored features. Since the server cannot perform traditional image augmentations like cropping on shuffled data, we introduce Masked Sampling. The server selects a large subset of features to represent a "global view" for a teacher model and a smaller subset as a "local view" for a student model. The student is trained to match the teacher’s latent representations, effectively learning semantic features without human-annotated labels.
Privacy Analysis
A primary goal of MS-DINO is to protect against "honest-but-curious" servers that might attempt to hijack the training process to reconstruct private data.
By introducing the permutation module, the relationship between features and their spatial locations is severed. In our experiments, reconstruction attacks on unencrypted features yielded recognizable anatomy, whereas attacks on MS-DINO features resulted in unintelligible noise.
Experimental Results
We evaluated MS-DINO using the TCIA Head-Neck-PET-CT dataset for pre-training and tested downstream performance on MICCAI 2015 segmentation and Intracranial Hemorrhage (ICH) detection.
- Efficiency: MS-DINO reduced total communication overhead by approximately 75% compared to traditional Federated Learning (1,086 MB vs. 4,334 MB) by moving to a single-round upload model.
- Performance: In data-limited scenarios (8 patients), MS-DINO achieved a Dice Similarity Coefficient (DSC) of 0.550, significantly outperforming standard FL-based SSL (0.518).
- Qualitative Refinement: Attention map analysis revealed that MS-DINO pre-training allows the model to focus more accurately on specific anatomical structures compared to models pre-trained on generic natural images.
Conclusion
MS-DINO demonstrates that Vision Transformers can be utilized not just for their performance, but as a foundation for secure, efficient distributed learning. By shifting the heavy lifting to the server and using feature-space permutation for privacy, we provide a scalable path for developing medical foundation models. Future research will focus on expanding the framework's resilience to membership inference attacks and its robustness across heterogeneous data sources.
Summary updated