Learning Network Sheaves for AI-native Semantic Communication

Enrico Grimaldi, Mario Edoardo Pandolfo, Gabriele D'Acunto, Sergio Barbarossa, Paolo Di LorenzoarXiv 2025 · DOI

Introduction

As we transition toward 6G networks, the paradigm of communication is shifting from transmitting raw bits to exchanging semantic representations. In this vision, AI agents communicate using abstract embeddings that capture the underlying "meaning" of data. However, a significant challenge arises when these agents are heterogeneous—trained on different architectures or datasets. This leads to semantic noise, where a latent representation of a "cat" in a Vision Transformer (ViT) model differs numerically from that in a Volo model.

This paper introduces a novel framework that leverages network sheaf theory and dictionary learning to align these disparate internal languages, enabling efficient, multi-agent semantic communication without requiring joint training.

Methodology

The proposed framework operates in two primary stages:

  1. Semantic Denoising via Dictionary Learning: Agents project their internal embeddings onto a shared "global dictionary." By applying an $\ell_{2,0}$-norm constraint to enforce sparsity, the system filters out model-specific noise and achieves significant data compression. This shared dictionary provides a common semantic ground for all agents in the network.
  2. Network Sheaf Learning: Utilizing tools from algebraic topology, the authors model the communication network as a Network Sheaf. In this structure, agents are nodes, and communication links are edges. Each edge is assigned a "restriction map" (an orthogonal matrix) that acts as a translator, rotating one agent's latent space to align with another's. The system optimizes both the network topology (which agents should talk to whom) and these translation maps simultaneously.

Experiments were conducted using the CIFAR-10 dataset and 10 distinct AI agents from the timm library, including ViT, LeViT, EfficientViT, and Volo architectures.

The Bimodality Effect in Semantic Alignment

A core finding of this research is the "unfolding" of the error landscape through dictionary learning. In traditional alignment tasks, the loss distribution between different models is often uniform and noisy. However, the introduction of a shared dictionary creates a bimodal distribution of alignment loss.

Figure 3: Visualization of the bimodality effect. Dictionary learning separates low-loss "homophilic" edges (similar models) from high-loss "heterophilic" edges (different families), enabling effective network pruning.

As shown in Figure 3, this bimodality allows the system to distinguish between "homophilic" edges (connections between architecturally similar models) and "heterophilic" edges. This separation is critical for pruning the network into a goal-oriented topology, where agents only maintain links with partners they can accurately understand.

Performance and Compression

The framework demonstrates remarkable robustness and efficiency. By adjusting the number of selected dictionary atoms ($d'$), the network can trade off communication bandwidth for accuracy.

Figure 2: Average accuracy and number of active edges vs. the number of selected atoms. The system maintains high accuracy even under heavy compression while naturally reducing the number of required communication links.

As illustrated in Figure 2, the system maintains strong classification performance even when embeddings are compressed to a fraction of their original size (e.g., using only 70 atoms). Furthermore, the sheaf-learning process automatically discovers the underlying architectural families, naturally grouping similar models and isolating semantic outliers as the error threshold is refined.

Conclusion and Future Work

By combining algebraic topology with sparse representation, this framework provides a scalable solution for heterogeneous AI-native communication. While currently tested on uniform classification tasks, future work will explore adaptive topology control—where network links shift dynamically based on real-time channel conditions—and the application of these sheaves to agents performing diverse, multi-modal tasks in massive-scale IoT environments.

Summary updated

Abstract

Recent advances in AI call for a paradigm shift from bit-centric communication to goal- and semantics-oriented architectures, paving the way for AI-native 6G networks. In this context, we address a key open challenge: enabling heterogeneous AI agents to exchange compressed latent-space representations while mitigating semantic noise and preserving task-relevant meaning. We cast this challenge as learning both the communication topology and the alignment maps that govern information exchange among agents, yielding a learned network sheaf equipped with orthogonal maps. This learning process is further supported by a semantic denoising end compression module that constructs a shared global semantic space and derives sparse, structured representations of each agent's latent space. This corresponds to a nonconvex dictionary learning problem solved iteratively with closed-form updates. Experiments with mutiple AI agents pre-trained on real image data show that the semantic denoising and compression facilitates AI agents alignment and the extraction of semantic clusters, while preserving high accuracy in downstream task. The resulting communication network provides new insights about semantic heterogeneity across agents, highlighting the interpretability of our methodology.
BibTeX
@misc{grimaldi2025learning,
  author = {Enrico Grimaldi and Mario Edoardo Pandolfo and Gabriele D'Acunto and Sergio Barbarossa and Paolo Di Lorenzo},
  title = {{Learning Network Sheaves for AI-native Semantic Communication}},
  year = {2025},
  eprint = {2512.03248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.03248},
}
Figure