Sheaf-Based Federated Representation Learning

Gabriele D'Acunto, Enrico Grimaldi, Valeria Avino, Mario Edoardo Pandolfo, Leonardo Di Nino, Sergio Barbarossa, Paolo Di LorenzoarXiv 2026

TL;DR

Standard federated learning assumes all clients share a common global latent space, an assumption that quickly falls apart when clients use different model architectures or encounter varying data distributions. This paper introduces Sheaf-based Federated Representation Learning (SFRL), a decentralized framework that allows each agent to maintain its own unique latent space while learning geometric transport maps to align representations across neighbors. By optimizing a sheaf Laplacian regularizer on a small set of shared "pilot" samples, SFRL achieves superior alignment and robustness to compression without requiring a unified global model.

What Problem Does This Paper Address?

In typical Federated Learning (FL) setups, agents collaborate by averaging model parameters or sharing a standardized encoder. This implicitly assumes that the features learned by every device are directly comparable and share the same dimensionality.

However, real-world edge networks—like collaborative robots, multimodal sensing arrays, or semantic communication systems—are highly heterogeneous. Agents often have different data distributions, distinct neural network architectures, and varying latent space dimensions. Forcing these diverse agents into a single, rigid global latent space degrades local performance and hinders knowledge transfer. The challenge is to allow agents to collaborate and understand each other's representations without stripping away their architectural freedom or local optimization goals.

Methods

The authors turn to algebraic topology, specifically cellular sheaves on graphs (or network sheaves), to model the relationships between heterogeneous agents.

Figure 1: An illustration of our sheaf-based representation learning framework. In this example, we consider a supervised setting and equip local agents with task-specific heads.

Key components of their approach include:

  • Node Stalks (Local Latent Spaces): Each agent $i$ maintains its own latent space $\mathcal{F}(i)$ with its own dimensionality $d_i$.
  • Manifold-Constrained Restriction Maps: Instead of a global space, edges between nodes are equipped with learnable geometric transport maps. To account for different dimensions, they use orthogonal transformations (to handle rotations/reflections) and Stiefel matrices (semi-orthogonal maps that act as isometric embeddings to project lower-dimensional spaces into higher-dimensional ones).
  • Sheaf Total Variation Regularizer: A soft quadratic gluing penalty induced by the sheaf Laplacian minimizes the misalignment between neighboring representations. To keep communication costs low, this penalty is only evaluated on a small, fixed set of shared reference samples called pilots.
  • The Sheaf-FRL Algorithm: A fully decentralized algorithm that alternates between two steps:
  • Local Parameter Updates: Standard gradient descent updates on local encoder and head parameters.
  • Restriction Map Updates: Closed-form Procrustes updates of the transport maps using thin Singular Value Decomposition (SVD).

The authors also introduce a modified protocol variant to handle strict privacy constraints, where agents exchange mathematically transformed representations rather than raw pilot features.

Datasets

  • MNIST: The classic handwritten digit dataset is used as the global data pool. It is partitioned disjointly across 15 agents using a distribution-shift parameter ($s$) to simulate varying degrees of non-IID (independent and identically distributed) label skew.
  • Global Pilot Set: A uniformly sampled 10% subset of MNIST is held out before partitioning. This set is shared across all agents exclusively to align and communicate their latent representations.

Key Insights and Ideas

  • Embracing Gauge Freedom: Neural networks have an inherent "gauge freedom"—meaning two completely different coordinate orientations can represent the exact same information. Instead of forcing networks to learn identical coordinates, SFRL simply learns how to translate between their preferred orientations.
  • Global Consistency from Local Rules: Global alignment doesn't require a centralized server or a shared global embedding. It emerges naturally from local compatibility relations across the network sheaf.
  • Embedding Over Compression: When aligning two spaces of different sizes, traditional methods project both down to a lower-dimensional subspace, losing information. SFRL embeds the smaller space into the larger one, preserving the full semantic richness of the local representations.

Key Results

The framework was evaluated on a collaborative supervised classification task within a semantic communication setting:

  • Superior Accuracy: Sheaf-FRL consistently outperformed heterogeneous federated baselines (such as ComFed and Sheaf-FMTL) in both private local accuracy and communication accuracy. Notably, the performance gap widened as data heterogeneity increased.
  • Graceful Degradation Under Compression: In a two-agent bottleneck sweep, Sheaf-FRL demonstrated remarkable robustness to extreme dimensionality compression. It maintained high classification accuracy even when the bottleneck dimension was squeezed down to 16, significantly outperforming FedProto and FedMuscle.

Limitations and Future Work

  • Aligned Pilot Assumption: The current formulation assumes that a common set of pilot indices or aligned semantic concepts is available across the agents a priori.
  • Privacy vs. Computation Trade-off: Under strict privacy constraints (where raw pilots cannot be shared), the communication payload scales up, and the local computational burden increases due to a higher volume of SVD calculations.
  • Future Directions: The authors plan to extend SFRL to fully multi-modal, semi-supervised, and self-supervised learning paradigms. They also aim to explore replacing full pilot matrices with compressed "prototype pilots" to further optimize communication efficiency.

Summary updated

BibTeX
@misc{dacunto2026sheaf,
  author = {Gabriele D'Acunto and Enrico Grimaldi and Valeria Avino and Mario Edoardo Pandolfo and Leonardo Di Nino and Sergio Barbarossa and Paolo Di Lorenzo},
  title = {{Sheaf-Based Federated Representation Learning}},
  year = {2026},
  eprint = {2608.10016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.10016},
}
Figure