Multi-Task Distributed Learning using Vision Transformer with Random Patch Permutation

Sangjoon Park, Jong Chul Ye

Abstract

The widespread application of artificial intelligence in health research is currently hampered by limitations in data availability. Distributed learning methods such as federated learning (FL) and shared learning (SL) are introduced to solve this problem as well as data management and ownership issues with their different strengths and weaknesses. The recent proposal of federated split task-agnostic (FeSTA) learning tries to reconcile the distinct merits of FL and SL by enabling the multi-task collaboration between participants through Vision Transformer (ViT) architecture, but they suffer from higher communication overhead. To address this, here we present a multi-task distributed learning using ViT with random patch permutation. Instead of using a CNN based head as in FeSTA, p-FeSTA adopts a randomly permuting simple patch embedder, improving the multi-task learning performance without sacrificing privacy. Experimental results confirm that the proposed method significantly enhances the benefit of multi-task collaboration, communication efficiency, and privacy preservation, shedding light on practical multi-task distributed learning in the field of medical imaging.

Introduction

In medical AI, data is the ultimate bottleneck. Single institutions rarely have enough diverse data to build robust models, but strict regulations like HIPAA and GDPR make sharing patient images nearly impossible. Existing solutions like Federated Learning (FL) and Split Learning (SL) have major drawbacks: FL requires heavy computation on the client side and is vulnerable to gradient inversion attacks, while SL suffers from massive communication overhead and "feature hijacking." The previously proposed FeSTA framework attempted to bridge these gaps using Vision Transformers (ViT), but its reliance on heavy CNN "heads" limited the benefits of the shared model and remained communication-intensive.

Methodology: The p-FeSTA Architecture

The authors introduce p-FESTA (Federated Split Task-Agnostic learning with permutation). Its architecture shifts the heavy lifting from the client to a shared server-side model while ensuring privacy through spatial shuffling.

Comparison between the original FeSTA architecture and the proposed p-FeSTA, highlighting the shift from a CNN-based head to a simple patch embedder with a permutation module.

The framework consists of four primary components:

  1. The Head (Client): A simple, task-agnostic patch embedder. Keeping this component minimal forces the shared server-side model to learn more generalized and powerful features.
  2. The Permutation Module (Client): Before data transmission, the client randomly shuffles the image patches. Due to the permutation equivariance of Transformers, the server can process these patches in any order without accuracy loss.
  3. The Body (Server): A large, shared ViT that learns from all participating clients simultaneously.
  4. The Tail (Client): A task-specific module that receives processed features and un-shuffles them using a private key to produce the final output.

Distributed Learning Workflow

A key innovation in p-FeSTA is the two-stage learning process. By replacing complex CNN heads with simple patch embedders, the shared Transformer "body" learns more generalized representations, boosting performance especially in data-scarce scenarios.

Comparison of the distributed learning workflows. p-FeSTA introduces an initial feature preparation stage that allows for significant communication savings during subsequent on-line learning rounds.

Because the patch embedder is simple and fixed, clients can save and reuse features, drastically reducing the need to constantly sync heavy model weights. This makes p-FeSTA much faster than standard Split Learning or the original FeSTA.

Experimental Evaluation

The framework was evaluated on three Chest X-ray (CXR) tasks: COVID-19 classification, severity prediction, and pneumothorax segmentation.

  • Superior Accuracy: p-FeSTA achieved an average AUC of 0.884 for COVID-19 classification, significantly outperforming standard Federated Learning (0.601) and even data-centralized training (0.671).
  • Communication Savings: Communication costs were less than half of the original FeSTA and significantly lower than both FL and SL.
  • Privacy Robustness: The random permutation module effectively prevents image reconstruction via GAN-based inversion attacks, even if an attacker hijacks the intermediate features.

Conclusion

p-FeSTA represents a significant step toward practical multi-task distributed learning in medical imaging. By leveraging the unique properties of Vision Transformers, it achieves a superior balance of accuracy, efficiency, and privacy. Future work will focus on testing the framework's resilience against model poisoning attacks and its performance across other medical modalities such as MRI and CT scans.

Summary updated

Abstract

The widespread application of artificial intelligence in health research is currently hampered by limitations in data availability. Distributed learning methods such as federated learning (FL) and shared learning (SL) are introduced to solve this problem as well as data management and ownership issues with their different strengths and weaknesses. The recent proposal of federated split task-agnostic (FeSTA) learning tries to reconcile the distinct merits of FL and SL by enabling the multi-task collaboration between participants through Vision Transformer (ViT) architecture, but they suffer from higher communication overhead. To address this, here we present a multi-task distributed learning using ViT with random patch permutation. Instead of using a CNN based head as in FeSTA, p-FeSTA adopts a randomly permuting simple patch embedder, improving the multi-task learning performance without sacrificing privacy. Experimental results confirm that the proposed method significantly enhances the benefit of multi-task collaboration, communication efficiency, and privacy preservation, shedding light on practical multi-task distributed learning in the field of medical imaging.
BibTeX
@article{park2023multi,
  author = {Sangjoon Park and Jong Chul Ye},
  title = {{Multi-Task Distributed Learning using Vision Transformer with Random Patch Permutation}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2023},
  url = {https://openreview.net/forum?id=opqoJalOxg},
}
Figure