Back-and-Forth prediction for deep tensor compression

Hyomin Choi, Robert A. Cohen, Ivan V. Bajic · DOI

Introduction

Collaborative Intelligence (CI) involves splitting a Deep Neural Network (DNN) between a mobile device and the cloud. While this offloads heavy computation, it introduces a significant communication bottleneck: transmitting large intermediate feature tensors. Standard image codecs often fail to compress these tensors efficiently without substantial accuracy loss or requiring expensive end-to-end retraining.

The "Back-and-Forth" (BaF) prediction scheme addresses this by transmitting only a subset of highly informative channels and reconstructing the remainder in the cloud using a specialized, lightweight network.

Methodology

The BaF framework operates across the mobile-cloud boundary without altering the original model's weights. The process consists of three primary stages: channel selection, quantization/tiling, and the BaF predictor.

Overview of the Collaborative Intelligence pipeline using BaF prediction across mobile and cloud components.
  1. Channel Selection: The mobile device identifies and transmits only a subset $C$ of the total $P$ channels. Selection is based on channel correlation with the layer's input, prioritizing the most informative data.
  2. Quantization and Tiling: Selected channels are quantized and tiled into a 2D grid, allowing them to be compressed via standard codecs like HEVC or FLIF.
  3. BaF Predictor: Upon reception, the cloud performs a Backward Prediction (using a small deconvolutional network to predict the layer's input) followed by a Forward Prediction (using the original, pre-trained weights to regenerate all channels). A final Consistency Check refines the predicted values for the transmitted channels to match their known quantization bins.

Key Results

Evaluated on YOLO-v3 using the COCO 2014 dataset, the BaF method demonstrates superior rate-distortion performance compared to traditional approaches. By leveraging the inherent redundancy in deep feature tensors, the system achieves significant bandwidth savings.

Rate-distortion performance (mAP vs. Bitrate) comparing BaF with various codecs against standard "All channels" coding.

Key performance metrics include:

  • Efficiency: Achieving a 62% reduction in tensor size with less than 1% loss in Mean Average Precision (mAP).
  • Scalability: Pushing compression to a 75% size reduction while maintaining accuracy within 2% of the cloud-only baseline.
  • Comparison: BaF saved over 90% more bits than compressing all channels with HEVC for the same accuracy level.

Conclusion

By utilizing pre-trained knowledge through forward prediction and enforcing quantization constraints, BaF enables high-efficiency CI. While currently requiring manual layer selection and model-specific training for the predictor block, it offers a powerful path toward low-latency, high-accuracy mobile AI without the need for full-model retraining.

Summary updated

BibTeX
@inproceedings{choi2020back,
  author = {Hyomin Choi and Robert A. Cohen and Ivan V. Bajic},
  title = {{Back-and-Forth prediction for deep tensor compression}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9053011},
}
Figure