NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Codebook-Based Adaptive Feature Compression With Semantic Enhancement for Edge-Cloud Systems

Xinyu Wang, Zikun Zhou, Yingjian Li, Xin An, Hongpeng WangarXiv 2025 · DOI

Abstract

In edge-cloud collaborative systems, transmitting high-quality visual data under bandwidth constraints is a significant challenge. Traditional image codecs optimized for human perception often fail to preserve the semantic information necessary for downstream AI tasks at low bitrates. This paper introduces CAFC-SE, a framework that utilizes Vector Quantization (VQ) and CLIP-guided semantic enhancement to achieve robust "Coding for Machines." By mapping images to discrete visual primitives and adaptively selecting task-relevant tokens, CAFC-SE maintains high classification accuracy even at extremely low bitrates, significantly outperforming existing hand-crafted and learned compression methods.

Introduction

The proliferation of IoT devices has led to the rise of edge-cloud systems where lightweight edge devices capture data for processing by powerful cloud-based AI models. However, the "transmission gap" remains a bottleneck. Standard codecs like JPEG or BPG are designed for human vision and introduce artifacts at low bitrates that degrade AI performance. Feature compression methods, while promising, often suffer from quantization noise that destroys semantic meaning. CAFC-SE addresses these issues by focusing on semantic preservation through a discrete codebook approach and high-level semantic guidance.

Methodology

The proposed CAFC-SE framework consists of three primary components: a VQ-Tokenizer, semantic-guided pre-training, and adaptive token selection.

  1. VQ-Tokenizer: The edge device employs a pre-trained Vector Quantization (VQ) tokenizer to map image patches to discrete indices in a learned codebook. This discretization makes the representation more robust to transmission noise compared to continuous features.
  2. Semantic-Guided Masked Token Modeling: To ensure the discrete indices capture meaningful concepts, a Token Encoder is pre-trained using a masked approach. A frozen CLIP model serves as a "semantic teacher," providing a loss function that aligns the encoder's output with high-level semantic embeddings.
  3. Adaptive Token Selection: To handle fluctuating network conditions, a lightweight module predicts token importance. The system can then transmit only the top-$K$ most relevant indices, enabling variable-bitrate compression without retraining.
Overview of the CAFC-SE framework including VQ-Tokenization, pre-training with CLIP-guided semantic enhancement, and adaptive fine-tuning.

Key Results

Evaluated on the ImageNet-1K dataset, CAFC-SE demonstrates superior performance at low bitrates.

Performance at Low Bitrates: At bitrates below 0.1 bpp, CAFC-SE significantly outperforms traditional codecs like BPG and learned methods like TransTIC. While baseline accuracies drop sharply as bandwidth decreases, CAFC-SE maintains high Top-1 accuracy, degrading gracefully.

Top-1 accuracy vs. bits-per-pixel (bpp) on ImageNet-1K, comparing CAFC-SE against traditional and learned compression baselines.

Impact of Semantic Enhancement: Ablation studies confirm the effectiveness of Semantic Enhancement (SE). Incorporating CLIP guidance improved Top-1 accuracy by approximately 4% over a baseline without SE. Furthermore, the variable-finetuning strategy, where the model is trained with a varying number of tokens, showed better generalization across different bitrates than fixed-bitrate training.

Conclusion and Future Work

CAFC-SE provides a robust solution for edge-cloud visual tasks under constrained bandwidth. By prioritizing semantic integrity over pixel-level reconstruction, it achieves state-of-the-art performance for machine vision tasks at low bitrates. Future work will explore the framework's applicability to spatially complex tasks like object detection and address the computational overhead of VQ-tokenization on resource-constrained edge devices.

Summary updated

BibTeX
@misc{wang2025codebook,
  author = {Xinyu Wang and Zikun Zhou and Yingjian Li and Xin An and Hongpeng Wang},
  title = {{Codebook-Based Adaptive Feature Compression With Semantic Enhancement for Edge-Cloud Systems}},
  year = {2025},
  eprint = {2509.18481},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.18481},
}
Figure