Swin Transformer-Based Dynamic Semantic Communication for Multi-User With Different Computing Capacity

Loc X. Nguyen, Ye Lin Tun, Yan Kyaw Tun, Minh N. H. Nguyen, Chaoning Zhang, Zhu Han, Choong Seon Hong

TL;DR

This paper introduces a Swin Transformer-based semantic communication (SemCom) system designed for multi-user environments where devices have varying computing power. By utilizing a "target embedding" at the transmitter and a dynamic compression module, the system can tailor image transmissions to specific hardware capacities and real-time network congestion while maintaining high perceptual quality through a novel hybrid loss function.

What Problem Does This Paper Address?

As we approach the Shannon physical-layer capacity limit, traditional communication methods struggle to keep up with the massive growth of connected devices and AI-powered applications. Semantic communication (SemCom) offers a solution by transmitting only the "meaning" or latent features of data rather than raw bits, significantly reducing bandwidth usage.

However, most existing SemCom research assumes a "one-size-fits-all" approach, where all receivers have identical hardware. In reality, a base station (BS) might serve a high-end smartphone alongside a low-power IoT sensor. Furthermore, network traffic is dynamic; a fixed compression ratio can lead to congestion during peak times or wasted quality during low-demand periods. This paper tackles the challenge of building a multi-user SemCom system that is both hardware-aware and network-adaptive.

Methods

The authors propose a framework based on the Swin Transformer, a hierarchical vision transformer that is more computationally efficient than standard Transformers for image tasks.

Key innovations include:

  • Target Embedding: The BS uses a single semantic encoder but injects a "target embedding" vector. This vector informs the encoder about the specific receiver's computing capacity (e.g., high vs. low), allowing it to extract features optimized for that user's specific decoder architecture.
  • Dynamic Compression Bit Ratio (CBR): The channel encoder includes a CBR module that adjusts the length of the transmitted feature vector based on network status (low, normal, or high demand). This allows the system to prioritize speed during congestion and quality when bandwidth is plentiful.
  • Hybrid Loss Function: Instead of relying solely on Mean Square Error (MSE)—which often leads to blurry images—the authors use a combination of Multi-Scale Structural Similarity Index (MS-SSIM), Absolute Error (AE), and MSE. This ensures the reconstructed images are both mathematically accurate and visually pleasing to humans.
The system model illustrates a single BS serving multiple users with different computing capacities.

Datasets

The models were trained and evaluated using:

  • DIV2K: A high-resolution image dataset commonly used for image restoration and super-resolution tasks.
  • Kodak: Used as a secondary testing set to validate the generalization capabilities of the proposed model across different image types.

Key Insights and Ideas

  • Specialization via Embedding: A single transmitter can serve diverse hardware by simply "tagging" the encoding process. This avoids the need for multiple separate encoders at the base station.
  • Perceptual vs. Mathematical Accuracy: The study highlights that high PSNR (Peak Signal-to-Noise Ratio) doesn't always equal a better image. By incorporating MS-SSIM into the loss function, the system preserves structural details that MSE-only models lose, especially in "harsh" low-signal environments.
  • Graceful Degradation: The dynamic CBR allows the system to degrade quality gracefully to maintain low latency during network spikes, rather than suffering from total connection failure or extreme lag.
The detailed architecture shows how target embeddings are injected into the Swin Transformer blocks.

Key Results

  • Hardware Advantage: As expected, the High-Computing Decoder (HCD) consistently outperformed the Low-Computing Decoder (LCD) in image reconstruction quality.
  • Targeting Effectiveness: Targeted encoding (where the encoder knows the receiver's type) significantly outperformed non-targeted scenarios. For instance, at 0dB SNR, a targeted LCD achieved an MS-SSIM of 0.8846 compared to 0.8216 when non-targeted.
  • Robustness to Noise: The hybrid loss function proved superior in low SNR conditions. While MSE-trained models showed "splotchy" artifacts in the sky of reconstructed images at -2dB, the hybrid-trained models remained seamless.
  • Dynamic Scaling: The CBR module successfully scaled performance. Increasing the CBR from 3/64 to 5/64 resulted in a measurable jump in both PSNR and MS-SSIM, validating the module's ability to trade bandwidth for quality.
The channel encoder leverages SNR and network conditions to adjust the compression ratio dynamically.

Limitations and Future Work

The authors acknowledge that while the framework is scalable, the current experiments were limited to two user categories (high and low computing). Future work could explore a wider spectrum of device capacities. Additionally, while the target embedding provides a degree of "privacy" (by making features uninterpretable to untargeted decoders), this was not the primary focus and could be explored more rigorously as a security feature in future iterations of 6G semantic communication.

Summary updated

BibTeX
@article{nguyen2024swin,
  author = {Loc X. Nguyen and Ye Lin Tun and Yan Kyaw Tun and Minh N. H. Nguyen and Chaoning Zhang and Zhu Han and Choong Seon Hong},
  title = {{Swin Transformer-Based Dynamic Semantic Communication for Multi-User With Different Computing Capacity}},
  journal = {IEEE Trans. Vehicular Technology},
  year = {2024},
  doi = {10.1109/tvt.2024.3362328},
}
Figure