A Secure Semantic Communication System Based on Knowledge Graph

Qin Guo, Haonan Tong, Sihua Wang, Peiyuan Si, Jun Zhao, Changchuan YinarXiv 2025 · DOI

Abstract

As 6G networks evolve, Semantic Communication (SemCom) is emerging as a key technology to transmit "meaning" rather than just bits, significantly reducing data volume. However, this shift introduces new security vulnerabilities. This paper proposes a secure semantic communication system that leverages Knowledge Graphs (KGs) for efficient data representation and a hybrid encryption scheme—combining Constellation Diagonal Transformation and Multi-Parameter Weighted Fractional Fourier Transform (MP-WFRFT)—to protect semantic information. Experimental results on the WebNLG dataset demonstrate that the system achieves high recovery accuracy for legitimate users while effectively thwarting eavesdroppers.

Introduction

Traditional communication systems focus on the "engineering problem" of accurately reconstructing bit sequences. In contrast, Semantic Communication (SemCom) prioritizes the "semantic problem"—ensuring the receiver understands the intent of the message. While SemCom is highly efficient for bandwidth-intensive applications like Extended Reality (XR) and digital twins, it is susceptible to eavesdropping. Existing security measures often rely on non-interpretable neural networks or computationally expensive encryption. This research addresses these challenges by integrating structured Knowledge Graphs with robust physical-layer encryption.

System Architecture

The proposed framework is designed to ensure both semantic efficiency and physical-layer security. The end-to-end architecture involves a sender, a legitimate receiver, and a potential eavesdropper monitoring the wireless channel.

Overview of the secure semantic communication system architecture.

The system operates in three primary stages: semantic extraction, hybrid channel encryption, and semantic recovery.

Methods

Semantic Extraction

The sender first processes raw text to extract core semantic information. This involves identifying topics using Latent Dirichlet Allocation (LDA) and K-means clustering. Subsequently, Conditional Random Fields (CRF) and Word2Vec are employed to extract entities and their relationships, forming a structured Knowledge Graph (KG). To further optimize transmission, a modified PageRank algorithm identifies and prioritizes the most significant nodes within the graph.

Detailed flow diagram of the semantic extraction and knowledge graph construction process.

Hybrid Channel Encryption

To protect the extracted semantic data, the system applies a two-layer encryption strategy:

  • Constellation Diagonal Transformation: After QPSK modulation, signal points are rotated and scaled using chaotic sequences. This transforms the standard constellation map into a noise-like distribution.
  • MP-WFRFT: A Multi-Parameter Weighted Fractional Fourier Transform further obfuscates the signal in the frequency domain. This ensures the transmitted signal mimics Gaussian noise, making it difficult for an eavesdropper to detect or decrypt the transmission without the shared private key.

Semantic Recovery

The legitimate receiver uses the shared key to reverse the encryption and demodulation processes. A Transformer-based generative model then utilizes the decrypted KG and a shared Knowledge Base (KB) to reconstruct the original text.

Key Results

The system was evaluated using the WebNLG dataset, a standard benchmark for Natural Language Generation. Key findings include:

  • High Fidelity for Legitimate Users: The legitimate receiver maintained a BLEU score of 0.9, indicating high-quality text reconstruction.
  • Robustness Against Eavesdropping: Eavesdroppers were left with unintelligible noise, with BLEU scores remaining below 0.3.
  • Enhanced Security: The proposed method showed a 20% improvement in security metrics over standard neural network-based encryption models.
  • Stealthiness: The use of MP-WFRFT improved the Detection Failure Probability (DFP) by up to 69% compared to hash-based methods, as the signal effectively blends into the channel noise.

Conclusion

By combining the structural advantages of Knowledge Graphs with sophisticated frequency-domain encryption, this system provides a secure and efficient pathway for 6G semantic communications. While challenges remain regarding computational overhead and synchronization, the integration of shared context and mathematical obfuscation offers a promising solution for future secure wireless networks.

Summary updated

BibTeX
@misc{guo2025secure,
  author = {Qin Guo and Haonan Tong and Sihua Wang and Peiyuan Si and Jun Zhao and Changchuan Yin},
  title = {{A Secure Semantic Communication System Based on Knowledge Graph}},
  year = {2025},
  eprint = {2511.13246},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.13246},
}
Figure