Semantic Communication Enhanced by Knowledge Graph Representation Learning

Nour Hello, Paolo Di Lorenzo, Emilio Calvanese Strinati

Introduction

Traditional communication paradigms, rooted in Shannon’s information theory, focus primarily on the accurate transmission of bits across a channel. While this approach has fueled the evolution from 1G to 5G, the impending 6G era demands a shift toward "semantic communication." This paradigm prioritizes the transmission of meaning and intent rather than raw data, aiming to optimize bandwidth and energy efficiency in AI-native ecosystems. This paper introduces a novel framework that utilizes Knowledge Graphs (KGs) as the primary medium for information representation, leveraging the combined power of Large Language Models (LLMs) and Graph Neural Networks (GNNs) to achieve unprecedented compression and noise resilience.

The Proposed Framework: LLM-GNN Cascade

The core innovation of this research lies in its end-to-end (E2E) semantic encoding architecture. Unlike conventional systems that treat text as a linear sequence of bits, this framework treats information as a structured graph of entities and relations.

1. Semantic Encoding

The encoder employs a two-stage cascade:

  • LLM Feature Extraction: A pre-trained LLM (all-MiniLM-L12-v2) generates initial 384-dimensional feature vectors from the text associated with nodes and edges.
  • GNN Structural Integration: These features are then processed by a Graph Neural Network. The GNN’s primary role is to "fuse" a node’s semantic information with its structural context—specifically, the properties of its neighbors and the nature of the edges connecting them. This ensures that the resulting embedding captures the topology of the knowledge, not just isolated definitions.

A baseline model, the LLM-FFN, was also developed. This version uses a standard Feed-Forward Network to compress LLM embeddings without considering the graph structure, serving as a control to measure the specific benefits of topological awareness.

2. Communication and Decoding

To bridge the gap between semantic embeddings and physical transmission, the system utilizes Mutual Information Neural Estimation (MINE). This optimizes the mapping of embeddings to complex symbols suitable for an Additive White Gaussian Noise (AWGN) channel.

At the receiver end, a Dual-Headed Semantic Decoder reconstructs the information:

  • Node Classifier: A Multi-Layer Perceptron (MLP) identifies specific entities from the received embeddings.
  • Edge Classifier: A Transformer-based module reconstructs the relationships between the identified nodes, effectively rebuilding the original Knowledge Graph.

Experimental Methodology

The framework was evaluated using the WebNLG Project dataset, which contains sets of triples (subject-predicate-object) representing complex relational data. The performance of the LLM-GNN system was compared against traditional digital communication benchmarks, including Huffman encoding and 6-bit encoding paired with 64-QAM modulation.

Results and Discussion

The experimental results highlight three critical advantages of the KG-based semantic approach:

1. Superior Accuracy and Structural Awareness

The GNN-based encoder achieved a node classification accuracy of 99.5%, significantly outperforming the FFN-based baseline (94%). This confirms that the "topology as a compression tool" hypothesis is valid; by understanding how entities relate, the system can maintain high fidelity even when the underlying embeddings are heavily compressed.

2. Extreme Noise Resilience

One of the most significant findings is the system's performance in low Signal-to-Noise Ratio (SNR) environments. The proposed framework reached its peak F1 score at an SNR 14 dB lower than traditional Huffman or 6-bit coding. In conditions where traditional bit-level signals would be rendered unintelligible by noise, the semantic system successfully inferred the core meaning of the transmitted data.

3. Massive Compression Gains

The system demonstrated a compression gain factor of 5.54x compared to Huffman encoding and 7.17x compared to 6-bit encoding. This efficiency stems from "pragmatic sparsification"—the ability to transmit only essential node embeddings and allow the receiver to infer edges based on shared context.

Limitations and Future Outlook

While the results are promising, several challenges remain for real-world deployment. First, the system assumes a mutual knowledge base between the transmitter and receiver; maintaining synchronization in dynamic environments is a non-trivial task. Second, the computational overhead of running LLMs and GNNs at the network edge may be prohibitive for low-power IoT devices. Finally, while the system excelled on graphs of up to 8 nodes, further research is required to determine how these semantic embeddings scale to massive, highly interconnected knowledge webs.

Conclusion

By moving from bit-centric to knowledge-centric communication, this framework offers a glimpse into the future of 6G. The integration of LLMs for semantic extraction and GNNs for structural representation allows for highly efficient, noise-resilient data transmission that prioritizes the "story" over the "bits."

Summary updated

BibTeX
@inproceedings{hello2024semantic,
  author = {Nour Hello and Paolo Di Lorenzo and Emilio Calvanese Strinati},
  title = {{Semantic Communication Enhanced by Knowledge Graph Representation Learning}},
  booktitle = {SPAWC},
  year = {2024},
  doi = {10.1109/spawc60668.2024.10694291},
}
Figure