Contrastive Language-Image Pre-Training Model based Semantic Communication Performance Optimization

Shaoran Yang, Dongyu Wei, Hanzhi Yu, Zhaohui Yang, Yuchen Liu, Mingzhe ChenarXiv 2025 · DOI

Abstract

This paper introduces a novel semantic communication framework that leverages CLIP (Contrastive Language-Image Pre-Training) to extract data meanings without the need for intensive joint training of encoders and decoders. By using a Proximal Policy Optimization (PPO) reinforcement learning algorithm, the system dynamically optimizes CLIP model selection and wireless resource allocation, achieving 40% faster convergence and 4x higher rewards compared to traditional reinforcement learning methods.

Introduction

Traditional communication systems focus on transmitting every bit accurately. Semantic communication, by contrast, aims to transmit only the "meaning" of data to save bandwidth. However, most existing semantic systems are "rigid": they require the transmitter and receiver to be jointly trained on a specific dataset for a specific task (like image classification). This process is time-consuming, energy-intensive, and lacks flexibility.

Furthermore, semantic information is highly sensitive to wireless noise. If the "meaning" is corrupted during transmission, the final task (like regenerating an image) fails. This research addresses the challenge of deploying a flexible, training-free semantic encoder while balancing the trade-offs between task performance, transmission delay, and energy consumption in a noisy wireless environment.

Proposed Semantic Communication Framework

The proposed framework consists of three main pillars designed to enable flexible and robust data transmission:

  1. CLIP-Based Semantic Encoding: Instead of a custom-trained neural network, the transmitter uses a pre-trained CLIP model. This allows the transmitter to map images into a semantic embedding space without any additional training, facilitating "plug-and-play" deployment.
  2. Dual-Task Decoding: The receiver uses the received semantic features for two possible follow-up tasks: image classification (via cosine similarity) and image regeneration (using a Stable Diffusion model).
  3. PPO-Based Resource Optimization: To handle the complex task of choosing the right CLIP model (e.g., ViT-B/32 vs. ViT-L/14) and allocating spectrum Resource Blocks (RBs), the authors use Proximal Policy Optimization (PPO). PPO ensures stability by preventing radical policy updates that could degrade performance in fluctuating wireless channels.
Proposed semantic communication framework architecture showing the interaction between the base station and multiple users.

Performance Evaluation

The authors evaluated the framework using the Open Image V6 dataset and tested three CLIP variants: CLIP-ViT-B/32, CLIP-ViT-B/16, and CLIP-ViT-L/14.

Key Insights

  • Model Capacity Trade-off: Larger models like ViT-L/14 provide significantly better noise robustness and higher-quality image reconstruction. However, they also increase extraction delay and energy consumption at the transmitter.
  • Efficiency and Stability: In wireless environments where interference fluctuates, standard RL algorithms like Soft Actor-Critic (SAC) can be unstable. PPO’s clipping mechanism ensures the strategy remains robust.

Quantitative Results

As shown in the reward analysis, the PPO-based approach significantly outperforms baseline methods. The system achieved a 4x increase in accumulated reward over SAC when the number of training epochs exceeded 100, and improved the convergence rate by up to 40%.

Reward convergence comparison showing the superiority of the proposed PPO-based method over SAC and DQN.

Conclusion

By utilizing pre-trained CLIP models, this framework removes the training barrier for semantic communication. The integration of PPO allows for intelligent resource management that balances reconstruction quality with transmission efficiency. Future work will explore multi-cell scenarios and high-mobility environments to further test the adaptability of the PPO algorithm.

Summary updated

BibTeX
@misc{yang2025contrastive,
  author = {Shaoran Yang and Dongyu Wei and Hanzhi Yu and Zhaohui Yang and Yuchen Liu and Mingzhe Chen},
  title = {{Contrastive Language-Image Pre-Training Model based Semantic Communication Performance Optimization}},
  year = {2025},
  eprint = {2507.08873},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.08873},
}
Figure