ILCAS: Imitation Learning-Based Configuration-Adaptive Streaming for Live Video Analytics with Cross-Camera Collaboration

Duo Wu, Dayou Zhang, Miao Zhang, Ruoyu Zhang, Fangxin Wang, Shuguang CuiIEEE Trans. Mobile Computing 2023 · DOI

Introduction

Live video analytics (VA) systems, such as those used for traffic monitoring or drone-based search and rescue, face a significant challenge: streaming high-quality video from resource-constrained cameras to edge or cloud servers for AI inference. This process often encounters a massive bandwidth bottleneck. To maintain performance, systems must dynamically adjust "knobs" like resolution, frame rate, and quantization. High settings lead to network congestion and "analytic lag," while low settings degrade AI detection accuracy.

Existing approaches generally fall into two categories: profiling-based systems and Deep Reinforcement Learning (DRL). Profiling-based systems are often slow to react and waste bandwidth on testing configurations. DRL systems struggle with "reward engineering," where designing a function that perfectly balances accuracy and latency is difficult and often leads to suboptimal behavior.

The ILCAS Framework

The authors propose ILCAS (Imitation Learning-Based Configuration-Adaptive Streaming) to address these limitations through three primary innovations: Imitation Learning, Motion Feature Maps, and Cross-Camera Collaboration.

Imitation Learning via GAIL

Instead of relying on a manually crafted reward function, ILCAS utilizes Generative Adversarial Imitation Learning (GAIL). The system is trained to mimic an "Expert Policy"—an offline algorithm that uses Dynamic Programming to determine mathematically optimal configurations for historical data. This allows the agent to learn optimal behavioral patterns without the pitfalls of reward engineering.

Motion Feature Maps

To capture scene dynamics efficiently, ILCAS extracts motion vectors directly from the video encoder (e.g., H.264/MPEG). These are converted into lightweight grayscale "Motion Feature Maps."

Figure 3: A grayscale motion feature map extracted directly from the video codec, providing spatial movement data with minimal overhead.

These maps provide fine-grained spatial information for less than 1% of the total chunk size, avoiding the heavy computational cost of methods like Optical Flow. The system realizes that the encoder's internal motion vectors are a goldmine of "free" information about scene dynamics.

Cross-Camera Collaboration

In environments with dense camera networks, ILCAS exploits spatio-temporal correlations. Cameras often observe the same objects at different times. By sharing filtered motion maps between correlated cameras and processing them with a ConvLSTM model, a target camera can proactively adjust its settings before an object enters its field of view.

Figure 5: The timeline of cross-camera collaboration, showing how data from one camera (C0) can inform the configuration of another (C4) over time.

Experimental Evaluation

ILCAS was evaluated using high-resolution YouTube clips and the 2022 AI City Challenge dataset. Network conditions were simulated using public 4G/LTE bandwidth data scaled to 0.2–2.0 Mbps. The primary vision task was object detection using FasterRCNN-ResNet101.

Key Results

Compared to Chameleon (profiling-based) and CASVA (DRL-based), ILCAS demonstrated superior performance across several metrics:

  • Accuracy: Improved mean accuracy by 15.0–20.9% over Chameleon and 2.0–9.6% over CASVA.
  • Latency: Reduced chunk upload lag by 57.4–85.3% compared to Chameleon and 19.9–74.0% compared to CASVA.
  • Generalization: ILCAS maintained performance when tested on video types different from its training set, outperforming DRL methods.
  • Convergence: The system trained 1.15–3.22× faster than standard RL approaches due to the clarity of expert demonstrations.

Conclusion

ILCAS represents a shift from reactive to proactive video streaming for analytics. By leveraging "free" metadata from codecs and bypassing the complexities of reward engineering through imitation learning, it achieves a new state-of-the-art in balancing accuracy and latency. While the system currently requires an offline expert for training, future work will explore more complex camera topologies and broader vision tasks like semantic segmentation.

Summary updated

BibTeX
@article{wu2023ilcas,
  author = {Duo Wu and Dayou Zhang and Miao Zhang and Ruoyu Zhang and Fangxin Wang and Shuguang Cui},
  title = {{ILCAS: Imitation Learning-Based Configuration-Adaptive Streaming for Live Video Analytics with Cross-Camera Collaboration}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2023},
  doi = {10.1109/tmc.2023.3327097},
}
Figure