Performance Optimization for Semantic Communications: An Attention-Based Reinforcement Learning Approach

Yining Wang, Mingzhe Chen, Tao Luo, Walid Saad, Dusit Niyato, H. Vincent Poor, Shuguang Cui

TL;DR

This paper introduces a semantic communication framework that transmits the "meaning" of text via Knowledge Graphs rather than raw bits. By using an attention-based Reinforcement Learning (RL) algorithm to prioritize the most important information, the system achieves a 41.3% reduction in transmitted data and a two-fold improvement in semantic similarity compared to traditional communication methods.

What Problem Does This Paper Address?

Traditional wireless communications are designed around Shannon’s first level: technical accuracy in transmitting symbols (bits). As we move toward data-heavy applications like extended reality (XR) and digital twinning, bit-level transmission is hitting a capacity wall.

Semantic communication aims for Shannon’s second level: the successful transmission of meaning. The challenge lies in three areas:

  1. Representation: How do you mathematically model "meaning" for text?
  2. Measurement: If the received text isn't a bit-for-bit match but conveys the same idea, how do you score its success?
  3. Resource Constraints: In a real-world wireless network with limited bandwidth and strict delay requirements, a base station (BS) often cannot transmit the entire semantic meaning. It must intelligently decide which parts of the message are most important to send.

Methods

The authors propose an end-to-end framework consisting of four phases: extraction, resource allocation/selection, recovery, and evaluation.

  • Semantic Extraction via Knowledge Graphs (KG): Instead of sending sentences, the BS extracts "triples" in the form of entity-relation-entity (e.g., "stochastic lexicon model — used for — speech recognizer"). This significantly reduces redundancy. Example of text converted to a Knowledge Graph
  • Metric of Semantic Similarity (MSS): The authors argue that standard metrics like BLEU only capture accuracy. They propose MSS, which jointly measures semantic accuracy (is the recovered info correct?) and semantic completeness (does it contain all the info from the original?).
  • Attention-based Proximal Policy Optimization (APPO): To solve the complex problem of matching users to resource blocks while selecting the best triples to transmit, the authors developed a specialized RL algorithm.
  • Attention Network: This evaluates the "importance" of each semantic triple by calculating its correlation with the original text. Architecture of the attention network used for importance evaluation
    • PPO: Unlike standard policy gradient methods, PPO uses a dynamic learning rate and a "clipped" objective function to ensure stable, reliable convergence to an optimal transmission policy.
Example of text converted to a Knowledge Graph
Architecture of the attention network used for importance evaluation

Datasets

The framework was trained and evaluated using two major NLP datasets:

  • AGENDA (Abstract GENeration DAtaset): A collection of 40,000 paper titles and abstracts from AI conferences, used to train the graph-to-text generation and semantic extraction models.
  • DocRED: A large-scale document-level relation extraction dataset consisting of over 5,000 Wikipedia documents, used to simulate complex semantic structures.

Key Insights and Ideas

  • Graphs as a Universal Language: By modeling text as a KG, the system creates a structured representation that is much smaller than the original text but retains its logical core.
  • Importance is Contextual: The attention mechanism allows the BS to realize that some facts in a sentence are "load-bearing" for the overall meaning, while others are secondary. When bandwidth is tight, the BS drops the secondary triples first.
  • Stability Matters in RL: Traditional RL algorithms often struggle with the high-dimensional, continuous state spaces of wireless networks. Integrating the attention mechanism directly into the PPO framework allows the agent to "understand" the relationship between triple importance and the final MSS score, leading to much faster and more stable training.

Key Results

  • Efficiency: The proposed framework reduced the amount of data the BS needed to transmit by 41.3% compared to standard bit-level transmission.
  • Quality: It achieved a two-fold improvement in the total MSS compared to standard networks.
  • Convergence Speed: The APPO algorithm reached convergence in roughly 100 iterations, whereas baseline RL methods like Deep Q-Networks (DQN) required 250 to 300 iterations.
  • Robustness: The system proved highly resilient to "noise" (masked or missing tokens). While traditional networks saw a 67% drop in performance when tokens were masked, the semantic framework's performance only dropped by about 2.75%, as the underlying graph structure remained intact.

Limitations and Future Work

While the paper provides a robust foundation for textual semantic communication, a few areas remain for exploration:

  • Modality Expansion: The current model is strictly for text. The authors suggest it could be extended to audio and images, but the specific graph-based representation for those media isn't detailed here.
  • Computational Overhead: Extracting KGs and running graph-to-text models requires significant local processing power. Future work could look at how to distribute this load between the BS and user devices.
  • Model Sharing: The system assumes the graph-to-text generation model is well-trained and shared between the BS and all users beforehand. Managing these shared "knowledge bases" in a dynamic network is a significant logistical challenge.

Summary updated

BibTeX
@article{wang2022performance,
  author = {Yining Wang and Mingzhe Chen and Tao Luo and Walid Saad and Dusit Niyato and H. Vincent Poor and Shuguang Cui},
  title = {{Performance Optimization for Semantic Communications: An Attention-Based Reinforcement Learning Approach}},
  journal = {IEEE J. Sel. Areas Commun.},
  year = {2022},
  url = {https://openreview.net/forum?id=A0PPZICb6_},
}
Figure