Abstract
In recent studies, collaborative intelligence (CI) has emerged as a promising framework for deployment of Artificial Intelligence (AI)-based services on mobile/edge devices. In CI, the AI model (a deep neural network) is split between the edge and the cloud, and intermediate features are sent from the edge sub-model to the cloud sub-model. In this paper, we study bit allocation for feature coding in multi-stream CI systems. We model task distortion as a function of rate using convex surfaces similar to those found in distortion-rate theory. Using such models, we are able to provide closed-form bit allocation solutions for single-task systems and scalarized multi-task systems. Moreover, we provide analytical characterization of the full Pareto set for 2-stream k-task systems, and bounds on the Pareto set for 3-stream 2-task systems. Analytical results are examined on a variety of DNN models from the literature to demonstrate wide applicability of the results.
Introduction: The Bit-Budgeting Challenge in CI
As AI moves to edge devices like smartphones and IoT sensors, developers face a significant hurdle: edge hardware often lacks the computational power for massive deep neural networks (DNNs), yet transmitting raw data to the cloud for processing is often too slow and raises privacy concerns. Collaborative Intelligence (CI) offers a middle ground by splitting the DNN: the first few layers run on the device, and the resulting intermediate "features" are transmitted to the cloud for the remaining layers.
However, modern architectures like ResNets or DenseNets often involve complex branching, requiring the device to send multiple feature streams simultaneously. When operating under a limited "bit budget" for wireless connections, determining how to allocate bits across these streams becomes a critical optimization problem. This is further complicated in multi-task learning scenarios, where a single set of features might support multiple downstream tasks (e.g., object detection and depth estimation).
Methodology: Modeling and Optimization
The authors formalize bit allocation as a multi-objective optimization problem through three primary steps:
- Task Distortion Modeling: Instead of traditional signal-to-noise ratios, the authors define "Task Distortion" as the performance drop (e.g., loss in accuracy or mIoU) caused by feature compression. They demonstrate that this distortion can be modeled as a monotonically decreasing convex surface.
- Single-Task Solution: For systems targeting a single task, they derive a "reverse water-filling" solution using Lagrange multipliers. This approach prioritizes bit allocation to feature streams that are more sensitive to rate changes.
- Multi-Task Pareto Optimality: In multi-task systems, improving one task's performance often comes at the expense of another. The authors use scalarization—weighting tasks by relative importance—to identify Pareto-optimal points.
Key Insights
- The Power of Convexity: By approximating empirical data with convex exponential functions ($D \approx \gamma + \alpha 2^{-\beta R}$), the authors transform a complex deep learning problem into a tractable optimization problem.
- Feature Sensitivity: The mathematical framework reveals that feature tensors vary significantly in their resilience to compression. Some "brittle" features require higher bit-rates to maintain task performance, while others are highly compressible.
- The Pareto Frontier: The paper provides analytical characterizations of the boundaries of the Pareto set for 2-stream and 3-stream systems, allowing engineers to visualize and select optimal trade-offs between competing tasks.
Experimental Results
The proposed method was validated on ImageNet (using DenseNet-121) and Cityscapes (using a multi-task YOLOv3-style backbone).
- Superior Accuracy: In 2-stream classification tests at a low bit-rate of 50 Kbits, the proposed method achieved 67.37% accuracy, significantly outperforming equal bit allocation, which reached only 49.12%.
- Consistency and Efficiency: Across various bit-rates, the analytical modeling approach consistently matched or exceeded common heuristics (like allocation based on tensor size or variance) while avoiding the need for expensive iterative numerical searches.
Limitations and Future Directions
While the convex approximation shows high correlation ($R^2 > 0.94$), it remains an approximation of neural network behavior. Furthermore, while the Pareto set for 2-stream systems is fully characterized, the bounds for 3-stream systems are currently described by polygonal regions that could be further tightened. Future work aims to extend these analytical bounds to higher-dimensional systems and explore dynamic environments where task importance shifts in real-time.
Summary updated