SemProtector: A Unified Framework for Semantic Protection in Deep Learning-based Semantic Communication Systems

Xinghan Liu, Guoshun Nan, Qimei Cui, Zeju Li, Peiyuan Liu, Zebin Xing, Hanqing Mu, Xiaofeng Tao, Tony Q. S. Quek

Introduction

Traditional wireless communication, rooted in Shannon’s information theory, focuses primarily on the accurate transmission of raw bits. However, the emergence of AI-driven applications—such as Virtual Reality (VR) and Human-to-Machine (H2M) interaction—has shifted the paradigm toward Semantic Communication (SC). SC systems utilize neural networks to extract and transmit the underlying "meaning" of data, significantly improving bandwidth efficiency. Despite these gains, SC systems introduce unique security vulnerabilities, including eavesdropping via model inversion, privacy leaks from training data, and susceptibility to adversarial perturbations.

The Challenge of Securing Semantic Communication

Unlike bit-level communication, SC systems are vulnerable at the semantic level. Attackers can reconstruct source data from intercepted semantic symbols or exploit the fragility of neural networks using adversarial attacks, such as the Fast Gradient Sign Method (FGSM).

Existing defense mechanisms often rely on adversarial training, which requires computationally expensive offline retraining of the entire communication pipeline. This is impractical for real-world, online systems that are already deployed. There is a critical need for a modular, "hot-pluggable" security solution that can be integrated into existing pipelines without disrupting the underlying architecture.

The SemProtector Framework

To address these challenges, we present SemProtector, a unified security framework consisting of three independent, plug-and-play modules. These modules can be assembled based on specific security needs and added to existing SC systems dynamically.

1. SemEryp: Ensuring Secrecy

SemEryp focuses on preventing unauthorized eavesdropping. It employs a pair of convolutional neural networks—the Semantic Encryption Component (SEC) and the Semantic Decryption Component (SDC). By using a negotiated key, SemEryp encrypts semantic data, ensuring that even if a signal is intercepted, the attacker cannot reconstruct the original source data through model inversion.

2. SemPriv: Protecting Privacy

The SemPriv module leverages Adversarial Transformation Networks (ATN) to protect sensitive information. It injects "friendly" noise into the semantic representations. This noise is specifically engineered to mislead an attacker’s inference models while remaining transparent to the legitimate receiver, thereby preserving the utility of the communication for authorized users.

3. SemRect: Maintaining Integrity

SemRect is designed to counter adversarial attacks. It generates a "semantic signature"—a high-dimensional random vector—at the transmitter. The receiver uses this signature to "calibrate" the incoming signal, effectively identifying and subtracting malicious adversarial perturbations. This approach acts as a semantic "checksum," ensuring the integrity of the transmitted meaning rather than just the bits.

Experimental Evaluation

The SemProtector framework was evaluated using three widely recognized benchmarks:

  • MNIST: Handwritten digit classification (image classification).
  • CIFAR10: Complex color image classification.
  • SST-2 (Stanford Sentiment Treebank): Sentiment analysis (text classification).

Key Results

Empirical results demonstrate that SemProtector significantly hardens SC systems with only a minor impact on transmission quality:

  • Secrecy Performance: On the MNIST dataset, the success rate of an attacker’s model inversion dropped from 98.3% to just 13.4% when SemEryp was active.
  • Integrity Performance: In text-based communication (SST-2), adversarial attacks that previously crippled the system were mitigated, leaving the attacker with only a 6% success rate.
  • Quality Trade-offs: While the Peak Signal-to-Noise Ratio (PSNR) on MNIST decreased from 27.88 to 23.77 when all three modules were used, the Structural Similarity Index (SSIM) remained high (above 0.92). This indicates that the essential "meaning" of the images was clearly preserved for legitimate users.

Discussion and Insights

A critical insight from this research is the "hot-pluggable" advantage. By treating protection as a modular layer, security does not have to be "baked in" during initial training. Furthermore, the experiments revealed a complexity trade-off: protection is more effective on simpler datasets (MNIST) than complex ones (CIFAR10). This suggests that as the semantic complexity of the data increases, the potential attack surface expands, requiring more robust or specialized protection modules.

Limitations and Future Work

While SemProtector demonstrates strong empirical performance, several areas remain for future exploration:

  • Certified Robustness: Future work should aim to establish formal mathematical proofs for the lower bounds of accuracy under various attack scenarios.
  • Decentralized Environments: Adapting the framework for massive machine-type communications (mMTC) and decentralized IoT environments where many devices interact simultaneously.
  • Video Modality: Extending and testing the framework on high-bandwidth video semantic communication, as current tests were limited to text and static images.

Summary updated

Abstract

Recently proliferated semantic communications (SC) aim at effectively transmitting semantics conveyed by a source, and accurately interpreting the meaning at its destination. While such a paradigm holds the promise of making wireless communications more intelligent, it also suffers from severe semantic security issues - such as eavesdropping, privacy leaking, and spoofing - due to the open nature of wireless channels and the fragility of neural modules. Previous works focus more on the robustness of SC via offline adversarial training of a whole system, while online semantic protection - a more practical setting in the real world - is still largely under-explored. To this end, we present SemProtector, a unified framework that aims to secure an online SC system with three hot-pluggable semantic protection modules. Specifically, these modules are able to encrypt semantics to be transmitted by an encryption method, mitigate privacy risks from wireless channels by a perturbation mechanism, and calibrate distorted semantics at the destination by a semantic signature generation method. Our framework enables an existing online SC system to dynamically assemble the above three pluggable modules to meet customized semantic protection requirements, facilitating the practical deployment in real-world SC systems. Experiments on two public datasets show the effectiveness of our proposed SemProtector, offering some insights of how we reach the goal of secrecy, privacy, and integrity of an SC system. Finally, we discuss a few future directions for semantic protection.
BibTeX
@article{liu2023semprotector,
  author = {Xinghan Liu and Guoshun Nan and Qimei Cui and Zeju Li and Peiyuan Liu and Zebin Xing and Hanqing Mu and Xiaofeng Tao and Tony Q. S. Quek},
  title = {{SemProtector: A Unified Framework for Semantic Protection in Deep Learning-based Semantic Communication Systems}},
  journal = {IEEE Communications Magazine},
  year = {2023},
  url = {https://openreview.net/forum?id=wxYzwK9LbR},
}
Figure