NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Swiss Army Knife for Heterogeneous Federated Learning: Flexible Coupling via Trace Norm

Tianchi Liao, Lele Fu, Jialong Chen, Zhen Wang, Zibin Zheng, Chuan Chen

TL;DR

FedSAK is a novel Federated Multi-Task Learning (FMTL) framework designed to simultaneously tackle data, model, and task heterogeneity. By utilizing a tensor trace norm to discover low-rank relationships among diverse client models, FedSAK enables participants to share knowledge effectively—even when utilizing different architectures or optimizing for different objectives.

The Problem: The Heterogeneity Triple Threat

Standard Federated Learning (FL) typically operates on a "one size fits all" assumption: every client uses the identical model architecture to solve the exact same task. In real-world deployments, this assumption quickly breaks down due to three primary types of heterogeneity:

  1. Data Heterogeneity: Clients possess fundamentally different data distributions (Non-IID data).
  2. Model Heterogeneity: Varying hardware constraints across clients necessitate different model sizes or architectures.
  3. Task Heterogeneity: Clients may process similar data but for entirely different objectives (e.g., one client uses portrait photos to predict age, while another predicts gender).

While existing methods often address one of these issues (such as personalized FL for data heterogeneity), they struggle when all three collide. Distillation-based methods can handle different models but typically require a large, shared public dataset, which is often impractical or violates privacy constraints.

Methods: Flexible Coupling via Trace Norm

To address these challenges, the authors introduce FedSAK. The "Swiss Army Knife" moniker reflects its adaptable approach to client-server connections.

FedSAK Architecture
  • Model Splitting: Each client's local model is decoupled into a feature extractor and a prediction head.
  • Flexible Sharing: Depending on the specific heterogeneity scenario, clients choose which component to share. If tasks align but models differ, they might share only the prediction head. If models are identical but tasks diverge, they share the feature extractor.
  • Tensor Trace Norm: Instead of simply averaging weights—which fails when models or tasks differ—the server stacks the shared parameters into a multi-dimensional tensor. It then applies a Tucker-based trace norm regularization. This mathematical constraint forces the server to find a "low-rank" structure, effectively identifying underlying correlations and shared knowledge between clients without forcing their parameters to be identical.
  • Optimization: The framework employs a subgradient descent approach to update these shared structures, facilitating knowledge transfer across coupled subspaces.

Datasets and Evaluation

The researchers evaluated FedSAK across six diverse real-world datasets to simulate various heterogeneity scenarios:

  • Human Activity (HumA): Sensor data for activity recognition.
  • MNIST & CIFAR-10/100: Standard image classification benchmarks, heavily partitioned to simulate extreme data skew.
  • PACS: A dataset spanning four distinct domains (Art, Cartoon, Photo, Sketch) to test model and domain heterogeneity.
  • Adience Faces: Utilized specifically for task heterogeneity, where clients performed either gender classification (2 classes) or age group classification (8 classes).

Key Insights

  • Moving Beyond the "Global Model": Unlike standard FedAvg, FedSAK discards the pursuit of a single master model. It treats FL as a multi-task problem, aiming to improve every client's performance on their specific local task by mining relationships with peers.
  • Low-Rank is the Key to Collaboration: By inducing a low-rank structure via the trace norm, the model automatically discovers which clients are "related." This enables "soft" knowledge sharing, bypassing the brittle "hard" parameter averaging that fails in heterogeneous environments.
  • No Public Data Needed: Unlike many model-heterogeneous FL algorithms that rely on Knowledge Distillation (KD), FedSAK operates entirely on the model parameters themselves, sidestepping the privacy and logistical hurdles of sourcing a representative public dataset.

Key Results

FedSAK was rigorously compared against 13 advanced FL baselines (including FedAvg, FedProx, Ditto, and FedMD), demonstrating dominant performance across the board.

Accuracy on CIFAR-100
  • Accuracy Gains: In severe data heterogeneity tests, FedSAK achieved an average accuracy improvement of +13.2% over the baseline FedAvg.
  • Task Heterogeneity: On the Adience Faces dataset, FedSAK significantly outperformed "FedAvg-c" (a modified version for task sharing), particularly when the task distribution was highly skewed.
  • Efficiency: When tested with a ResNet18 backbone, FedSAK proved highly memory-efficient, utilizing significantly less memory (0.918 G compared to 1.75 G - 3.50 G for baselines). It was also faster than most personalized FL methods because it only requires uploading specific, shared layers rather than the entire model.

Limitations and Future Work

The primary limitation of FedSAK is its computational complexity. The tensor trace norm calculation requires singular value decomposition (SVD) on unfolded tensors. As the number of clients and the dimensionality of the model layers increase, the computational burden on the server grows significantly.

While the authors note that "flexible uploading" (sharing only small parts of the model) helps mitigate this issue, future work will likely need to focus on more efficient approximations of the tensor trace norm to scale the system to thousands of clients with massive deep-learning models.

Summary updated

BibTeX
@inproceedings{liao2024swiss,
  author = {Tianchi Liao and Lele Fu and Jialong Chen and Zhen WANG and Zibin Zheng and Chuan Chen},
  title = {{A Swiss Army Knife for Heterogeneous Federated Learning: Flexible Coupling via Trace Norm}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=3YkeHuT1o6},
}
Figure