FedRE: A Representation Entanglement Framework for Model-Heterogeneous Federated Learning

Yuan Yao, Lixu Wang, Jiaqi Wu, Jin Song, Simin Chen, Zehua Wang, Zijian Tian, Wei Chen, Huixia Li, Xiaoxiao Li

TL;DR

FedRE introduces a novel federated learning framework designed for model-heterogeneous clients by utilizing "entangled representations." By blending local data representations and labels using random weights before uploading them to the server, FedRE simultaneously slashes communication costs, boosts classification accuracy, and provides robust defense against privacy-leaking image reconstruction attacks.

What Problem Does This Paper Address?

Standard Federated Learning (FL) relies on a major assumption: all participating clients must share the exact same model architecture so their parameters can be averaged on a central server. In the real world, this is highly impractical. Clients (like smartphones or medical imaging centers) have vastly different hardware capabilities, local data distributions, and proprietary model constraints.

To handle this, model-heterogeneous FL allows clients to use different feature extractors while sharing a standardized classifier. However, existing approaches suffer from a nasty three-way trade-off between performance, privacy, and communication efficiency:

  • Sharing all raw representations yields high accuracy but incurs massive communication overhead and leaves clients vulnerable to representation inversion attacks (where an adversary reconstructs the original private images).
  • Sharing prototypes (category means) is lightweight and safer, but it strips away intra-class variability, biasing the global classifier and creating overly sharp, brittle decision boundaries.

FedRE steps in to break this trilemma.

Methods

The core innovation of FedRE (Federated Representation Entanglement) is the entangled representation. Instead of sending distinct feature vectors or simple category averages, each client compresses its entire local dataset's features into a single vector.

Figure 1. FedRE framework. Each client maintains a local model consisting of a representation extractor and a classifier. The client’s local representations and their corresponding one-hot label en- codings are integrated into a single entangled representation and entangled-label encoding, respectively, which are then uploaded to the server for training the global classifier.

The workflow operates in three main steps:

  1. Representation Mapping (RM): Clients pass their local data through their unique, heterogeneous feature extractors and map them to a consistent dimensionality.
  2. Representation Entanglement (RE): Each client generates a set of normalized random weights. It uses these weights to linearly combine all local representations into a single entangled representation. Crucially, the client applies the exact same random weights to combine the corresponding one-hot labels into an entangled-label encoding.
  3. Global Server Update: The client uploads just this single pair (one entangled representation vector and one entangled label vector) to the server. The server uses these pairs to train a global classifier, which is then broadcast back to the clients.

By re-sampling new random weights in every communication round, the clients continuously present the server with diverse, mixed-category perspectives of the data.

Datasets

The authors evaluated FedRE using three widely accepted computer vision benchmarks:

  • CIFAR-10
  • CIFAR-100
  • TinyImageNet

To rigorously test the system against real-world data imbalances, they simulated statistical heterogeneity using both Practical (Dirichlet distribution, $\alpha=0.1/0.07$) and Pathological non-IID settings, alongside long-tailed (imbalanced) data configurations.

Key Insights and Ideas

  • Smoother Decision Boundaries: Prototype-based methods force the global classifier to learn sharp, abrupt transitions because they only see cluster centers. Because FedRE entangles cross-category information, it naturally provides soft, continuous supervision signals. This prevents the global classifier from becoming overconfident and yields much smoother decision boundaries.
Figure 2. A toy experiment is conducted on 300 training and 200 test two-dimensional samples distributed across two clients. Red and blue denote predicted probabilities for classes 0 and 1, respectively, with darker colors indicating higher prediction confidence. FedAllRep uploads 300 representations from all clients to train the global classifier and achieves the best performance (63.50%). FedGH uploads 4 prototypes, yielding sharper decision boundaries with abrupt color transitions and slightly lower performance (60.50%). In contrast, FedRE uploads only 2 entangled representations that provide natural cross-category supervision, leading to smoother decision boundaries with gradual color transitions while maintaining competitive performance (62.00%).
  • Privacy Through Obfuscation: Because representations from multiple distinct categories are mathematically blended together before leaving the client, an attacker attempting a representation inversion attack cannot isolate individual sample features. The entangled vector acts as a natural cryptographic-like mask.
  • Extreme Communication Efficiency: Instead of scaling with the number of samples or categories, the upload overhead per client is reduced to a single vector pair per round, making it incredibly lightweight.

Key Results

FedRE was compared against eight state-of-the-art model-heterogeneous FL baselines (including LG-FedAvg, FedGH, FedProto, and FedKD) and demonstrated dominant performance:

  • Accuracy Gains: On TinyImageNet under the challenging pathological setting, FedRE achieved 38.52% accuracy, outperforming LG-FedAvg (32.26%), FedGH (31.98%), and FedKD (31.73%).
  • Communication Reduction: On CIFAR-100, FedRE reduced the upload communication overhead to just 5.12 scalars ($\times 10^3$), compared to 257.02 for prototype methods (FedProto/FedGH) and 513.00 for classifier-based methods (LG-FedAvg).
  • Privacy Verification: The authors launched optimization-based image reconstruction attacks against the shared knowledge. As shown below, images reconstructed from standard representations or prototypes still leak identifiable contours or colors. In contrast, attempts to reconstruct images from FedRE's entangled representations yield completely unidentifiable noise.
Figure 4. Comparison of privacy protection in restructuring results from representations, prototypes, and entangled representations on the TinyImageNet dataset.

Limitations and Future Work

While FedRE delivers impressive empirical results, the authors note that providing a fully rigorous, non-convex convergence analysis remains a challenge. The mathematical perturbations introduced by swapping local classifiers and dynamically entangling representations make theoretical proofs highly complex; this is left for future work. Additionally, the current evaluation is restricted to computer vision tasks, leaving its applicability to text, audio, or tabular data an open question.

Summary updated

BibTeX
@inproceedings{yao2026fedre,
  author = {Yuan Yao and Lixu Wang and Jiaqi Wu and Jin Song and Simin Chen and Zehua Wang and Zijian Tian and Wei Chen and Huixia Li and Xiaoxiao Li},
  title = {{FedRE: A Representation Entanglement Framework for Model-Heterogeneous Federated Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=1Gu93186PX},
}
Figure