Bit Allocation for Multi-Task Collaborative Intelligence

Saeed Ranjbar Alvar, Ivan V. Bajic · DOI

Abstract

Collaborative Intelligence (CI) optimizes the execution of deep neural networks by splitting processing between mobile devices and the cloud. However, modern architectures often involve multiple feature streams and tasks, complicating bit allocation under bandwidth constraints. This paper introduces a bit allocation strategy that models joint multi-task distortion as a convex function of bit rates. We provide a closed-form solution for optimal rate distribution, demonstrating significant performance gains on the Cityscapes dataset compared to standard heuristic methods.

Introduction: The Multi-Stream Challenge in Collaborative Intelligence

Collaborative Intelligence (CI) offers a balanced alternative to local execution or full cloud offloading. By splitting a Deep Neural Network (DNN), a mobile device performs initial feature extraction, compresses the resulting tensors, and transmits them to the cloud for final inference. This approach preserves battery life while managing bandwidth consumption.

Existing CI research primarily focuses on "single-stream" models. However, high-performance architectures like ResNets or DenseNets utilize skip connections and multiple branches, requiring the transmission of multiple feature tensors. Furthermore, these models are increasingly "multi-task," simultaneously performing operations such as semantic segmentation and depth estimation. The central challenge lies in optimally distributing a limited bit budget across these multiple streams to maximize performance across all tasks.

Multi-stream, multi-task collaborative intelligence architecture.

Methodology: Convex Rate-Distortion Modeling

The proposed framework addresses bit allocation through a three-step optimization process:

  1. Joint Distortion Scalarization: Multi-task distortion ($D_t$) is defined as a weighted sum of individual task distortions, where each task's distortion represents the performance drop relative to an uncompressed model.
  2. Convex Surface Fitting: The relationship between bit rates ($R_j$) and total distortion ($D_t$) is approximated using a convex function: $$D_t(R_1, ..., R_N) \approx \gamma + \sum_{j=1}^{N} \alpha_j 2^{-\beta_j R_j}$$ Parameters ($\alpha, \beta, \gamma$) are determined via non-linear least squares fitting from a small set of sampled rate-distortion points.

  3. Closed-Form Optimization: The convexity of the approximation allows for the use of Lagrange multipliers to derive a closed-form solution. This enables instantaneous recalculation of optimal bit rates in response to real-time bandwidth fluctuations.

Approximation of the rate-distortion surface using a convex function.

Experimental Evaluation

The method was evaluated using the Cityscapes dataset for urban scene understanding. A three-task model based on YOLOv3 was trained for semantic segmentation, disparity estimation, and input reconstruction. Features were extracted from layers 36 and 61 to simulate a multi-stream scenario.

Key Results

The proposed strategy consistently outperformed common heuristics, including equal rate allocation and element-count-proportional allocation.

  • Reduced Distortion: At a total rate of 1500 kbits/tensor, the proposed method achieved a total distortion of 43.32, compared to 46.49 for the best baseline.
  • Dynamic Task Balancing: By adjusting task weights, the system can prioritize specific outputs (e.g., improving reconstruction PSNR by 1.7 dB) without requiring model retraining or exhaustive re-profiling.
  • Scalability: The performance advantage over simpler heuristics increases with available bandwidth, highlighting the necessity of model-driven allocation in high-bitrate scenarios.

Discussion and Future Work

While the closed-form solution is efficient, it may occasionally yield negative bit rates, which can be addressed through simple clipping. The current approach requires an initial profiling phase per model, representing a one-time deployment cost. Future research will explore integration with learned feature compressors and temporal codecs for video-based collaborative intelligence.

Summary updated

BibTeX
@inproceedings{alvar2020bit,
  author = {Saeed Ranjbar Alvar and Ivan V. Bajic},
  title = {{Bit Allocation for Multi-Task Collaborative Intelligence}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054770},
}
Figure