Byzantine Resilient Federated Multi-Task Representation Learning

Tuan Le, Shana MoothedatharXiv 2025 · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices without compromising raw data privacy. However, standard FL faces three critical challenges: personalization for non-IID data distributions, transferability to new users with limited data, and vulnerability to Byzantine attacks—where malicious or faulty clients send corrupted updates to poison the global model.

This paper introduces BR-MTRL (Byzantine Resilient Multi-Task Representation Learning), a unified framework designed to address these hurdles simultaneously. By combining shared neural representations with personalized local components and robust statistical aggregation, BR-MTRL ensures high performance and security in adversarial environments.

Methodology

The core of the BR-MTRL architecture is a strategic split of the neural network into two distinct parts: a shared representation (base layers) and a personalized head (the final layer). This structure allows the system to learn general features globally while maintaining local specificity.

Overview of the BR-MTRL architecture featuring shared representations and robust aggregation.

Training is conducted via an Alternating Gradient Descent strategy. In each local update, a client first freezes the shared base to train their personalized head. Subsequently, they freeze the head and update their local version of the shared representation. To defend against adversarial interference, the central server employs robust aggregation methods instead of simple averaging:

  • Geometric Median (GM): A robust estimator that identifies a central update less sensitive to extreme outliers.
  • Krum: A selection-based method that identifies the update most similar to its neighbors, effectively filtering out suspicious noise.

Experimental Setup

The framework was rigorously evaluated on two computer vision benchmarks partitioned to simulate federated settings: CIFAR-10 and FEMNIST (Federated Extended MNIST). To test resilience, the authors simulated two types of adversarial behavior: Scaled Random (SR) attacks, which introduce Gaussian noise, and Mislabeling (ML) attacks, which flip data labels to confuse the model.

Beyond simulations, the authors deployed BR-MTRL on a real-world distributed testbed using Amazon Web Services (AWS) EC2 instances. This allowed for the measurement of actual runtime and communication overhead in a practical environment.

Results and Discussion

Experimental results demonstrate that BR-MTRL consistently outperforms Byzantine-adapted versions of previous state-of-the-art algorithms like FedPer and FedRep.

Comparative performance of BR-MTRL against state-of-the-art baselines under various attack scenarios.

Key findings include:

  • Resilience to Attacks: Under a Scaled Random attack on CIFAR-10, standard personalized models saw accuracy drop significantly (to ~54%). In contrast, BR-MTRL+GM maintained a high accuracy of 81.48%.
  • Aggregation Performance: Geometric Median (GM) generally outperformed Krum. While Krum is effective, it is often "overly conservative" by selecting only one client update, whereas GM aggregates information from all honest clients while naturally down-weighting outliers.
  • Meta-Learning Capabilities: The shared representation serves as a robust foundation for new users. Meta-tests showed that new clients joining the system could achieve high accuracy in just 10 local training epochs by leveraging the pre-trained base.
  • Operational Efficiency: AWS experiments confirmed the practicality of the approach, with the federated implementation running approximately 4.6x faster per round than sequential simulations.

Conclusion and Future Work

BR-MTRL provides a robust solution for personalized federated learning in the presence of malicious actors. While highly effective, the framework currently faces limitations, such as Krum's requirement for prior knowledge of the number of adversaries and its quadratic computational complexity. Future research may explore defenses against more sophisticated "backdoor" or model replacement attacks to further harden the system.

Summary updated

Abstract

In this paper, we propose BR-MTRL, a Byzantine-resilient multi-task representation learning framework that handles faulty or malicious agents. Our approach leverages representation learning through a shared neural network model, where all clients share fixed layers, except for a client-specific final layer. This structure captures shared features among clients while enabling individual adaptation, making it a promising approach for leveraging client data and computational power in heterogeneous federated settings to learn personalized models. To learn the model, we employ an alternating gradient descent strategy: each client optimizes its local model, updates its final layer, and sends estimates of the shared representation to a central server for aggregation. To defend against Byzantine agents, we employ two robust aggregation methods for client-server communication, Geometric Median and Krum. Our method enables personalized learning while maintaining resilience in distributed settings. We implemented the proposed algorithm in a federated testbed built using Amazon Web Services (AWS) platform and compared its performance with various benchmark algorithms and their variations. Through experiments using real-world datasets, including CIFAR-10 and FEMNIST, we demonstrated the effectiveness and robustness of our approach and its transferability to new unseen clients with limited data, even in the presence of Byzantine adversaries.
BibTeX
@misc{le2025byzantine,
  author = {Tuan Le and Shana Moothedath},
  title = {{Byzantine Resilient Federated Multi-Task Representation Learning}},
  year = {2025},
  eprint = {2503.19209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.19209},
}
Figure