Compressive Feature Selection for Remote Visual Multi-Task Inference

Saeed Ranjbar Alvar, Ivan V. Bajic

This paper, presented at the IEEE ICME Workshop on Coding for Machines (2024), tackles a critical bottleneck in "split intelligence"—the practice of dividing a neural network's workload between a resource-constrained edge device and a powerful cloud server.

TL;DR

The authors propose a task-aware feature selection method for multi-task neural networks using Mutual Information (MI). By quantifying how much information each feature channel contributes to a specific task, they can prioritize the most important data for transmission, significantly outperforming traditional "blind" pruning methods, especially for image reconstruction tasks.

What Problem Does This Paper Address?

In collaborative or "split" intelligence, an edge device (like a smartphone or IoT sensor) computes the initial layers of a Deep Neural Network (DNN) and sends the resulting "features" to a server for the final inference. However, these features are often large and must be compressed to fit through limited-bandwidth channels.

The challenge is even greater in multi-task learning, where a single "backbone" model supports multiple "heads" (e.g., one head for object detection, another for depth estimation). Existing feature selection methods usually rely on the "norm" (magnitude) of the features or their similarity to one another. These methods are "task-blind"—they don't account for the fact that a feature channel might be useless for semantic segmentation but absolutely vital for reconstructing the original image.

Methods

The authors introduce a framework for Compressive Feature Selection based on Mutual Information (MI).

  1. MI Estimation: Calculating MI in high-dimensional spaces is notoriously difficult (the "curse of dimensionality"). To solve this, the authors divide feature maps and task outputs into spatially corresponding patches. They then cluster the output patches into $K$ groups using K-means. This transforms the problem into a patch-level classification task, making MI estimation computationally feasible.
  2. Hard Selection: This is a "keep or kill" approach. Features are ranked by their MI with a specific task, and only the top $C'$ channels are transmitted.
  3. Soft Selection: Instead of discarding less important features, this approach treats them as "enhancement" data. The most important features (base) are kept at high precision (8-bit), while the remaining features are tiled into an image and compressed using a standard video codec (HEVC/H.265). This allows for a graceful trade-off between bitrate and accuracy.

Datasets

The researchers evaluated their approach using the Cityscapes dataset, a standard benchmark for urban scene understanding. They used a multi-task DNN with a YOLOv3-style backbone trained to perform three simultaneous tasks:

  • Semantic Segmentation (measured by mIoU)
  • Disparity Map Estimation (measured by RMSE)
  • Input Reconstruction (measured by PSNR)

Key Insights and Ideas

  • Task-Awareness is Key: Traditional pruning (like $\ell_2$ norm) assumes that "bigger is better." However, the paper shows that features with small magnitudes can still carry high MI for specific tasks.
  • The Reconstruction Gap: The most striking insight is how poorly traditional methods handle image reconstruction. While norm-based methods perform okay for abstract tasks like segmentation, they fail to identify the features necessary to rebuild the visual input. MI-based selection excels here because it explicitly looks for the information link between the feature and the output.
  • Scale Invariance: Unlike norm-based measures, MI is scale-invariant. Scaling a feature by a constant doesn't change its information content, making MI a more robust metric for importance.

Key Results

  • Superior Reconstruction: In "hard selection" tests at 50% feature retention, the MI-based method maintained a significantly higher PSNR for input reconstruction compared to $\ell_1/\ell_2$ norm-based methods.
  • Multi-Task Dominance: The authors performed a multi-objective analysis by assigning different "weights" to the three tasks. At 50% feature selection, the MI-based approach was the optimal choice across 74% of the possible weight combinations.
  • Soft Selection Efficiency: By using HEVC to compress "enhancement" features rather than discarding them, the authors were able to close the accuracy gap between compressed models and the full-feature original model with only a small increase in file size.

Limitations and Future Work

The authors acknowledge that their MI estimator provides a lower bound rather than an exact value. Because they use patching and clustering, some global contextual information might be lost during the estimation process.

Future work could involve testing this approach on a wider variety of tasks (like optical flow or instance segmentation) and exploring how different compression codecs (beyond HEVC) interact with MI-ranked features. Additionally, the current method requires calculating MI for each task-feature pair, which could be computationally intensive for models with hundreds of tasks or thousands of channels.

Summary updated

BibTeX
@inproceedings{alvar2024compressive,
  author = {Saeed Ranjbar Alvar and Ivan V. Bajic},
  title = {{Compressive Feature Selection for Remote Visual Multi-Task Inference}},
  booktitle = {Workshops @ ICME},
  year = {2024},
  doi = {10.1109/icmew63481.2024.10645414},
}
Figure