Multi-task learning with compressible features for Collaborative Intelligence

Saeed Ranjbar Alvar, Ivan V. Bajic · DOI

Introduction

Deploying state-of-the-art deep neural networks on mobile devices presents a significant challenge: mobile hardware often lacks the computational power for massive models, yet transmitting high-resolution raw data to the cloud for processing consumes excessive bandwidth and battery. Collaborative Intelligence (CI) addresses this by splitting the model. The initial layers (the encoder) run on the mobile device, and the resulting intermediate features are sent to the cloud for the remaining computations.

However, intermediate features are not inherently compact; if they exceed the size of the original image, the benefits of CI are lost. This paper introduces a framework that optimizes these features for Multi-Task Learning (MTL), ensuring a single set of compressed features can simultaneously support multiple cloud-side tasks like semantic segmentation and depth estimation.

The Collaborative Intelligence Framework

The authors propose an end-to-end trainable architecture consisting of a shared encoder on the mobile device and multiple task-specific branches in the cloud.

Overview of the Collaborative Intelligence architecture showing the split between mobile and cloud processing.

As shown in the architecture above, the encoder (based on ResNet-34) produces a feature tensor that is quantized and tiled into an image-like format. This format allows the features to be compressed using standard codecs like JPEG or PNG before transmission. To ensure these features are "compression-friendly," the authors incorporate a novel, differentiable compressibility loss ($L_r$) during training. This loss function estimates the final bitrate by modeling spatial redundancy through Differential Pulse Code Modulation (DPCM) and applying a Discrete Cosine Transform (DCT) to the residuals.

Experimental Setup and Training

The model was evaluated using the Cityscapes dataset, a benchmark for urban scene understanding. The framework was trained to perform three concurrent tasks in the cloud:

  1. Semantic Segmentation: Pixel-level object identification.
  2. Disparity Map Estimation: Predicting object depth.
  3. Input Reconstruction: Rebuilding the original image from compressed features.

To balance these diverse objectives, the authors utilized a dynamic weighting strategy based on "homoscedastic uncertainty," allowing the model to automatically prioritize tasks and the compression constraint during the learning process.

Key Results and Insights

The primary innovation of this work is treating compressibility as a primary objective rather than a post-processing step. By incorporating spatial prediction (DPCM) into the loss function, the model learns to discard information that is irrelevant to downstream tasks but expensive to transmit.

Quantitative results comparing the proposed compression-aware model against a standard benchmark across different feature map resolutions.

As illustrated in the performance curves, the proposed method consistently outperforms the benchmark. For semantic segmentation, the framework achieved a 20.68% reduction in bitrate for the same level of accuracy. The results demonstrate that even at low bitrates, the single set of compressed features successfully powers multiple tasks. Notably, the authors found that larger, higher-resolution feature maps (Encoder2) benefited more from the compressibility loss, suggesting that features with more spatial structure offer more opportunities for learned compression.

Conclusion

This research demonstrates that integrating a differentiable compressibility loss into multi-task learning significantly improves the efficiency of Collaborative Intelligence. While the authors note that current skip-connection limitations prevent reaching absolute state-of-the-art performance for individual tasks, the framework provides a robust foundation for deploying complex AI across the mobile-cloud divide. Future work may explore scaling this approach to non-visual data and integrating it with purely neural-based entropy coders.

Summary updated

BibTeX
@inproceedings{alvar2019multi,
  author = {Saeed Ranjbar Alvar and Ivan V. Bajic},
  title = {{Multi-task learning with compressible features for Collaborative Intelligence}},
  booktitle = {ICIP},
  year = {2019},
  doi = {10.1109/icip.2019.8803110},
}
Figure