[Paper Review] Adaptive Streaming Perception using Deep Reinforcement Learning.
This paper proposes a deep reinforcement learning approach to optimize streaming perception by jointly balancing accuracy and latency in real time. It formulates the trade-off as a contextual bandit problem with a unified reward function, enabling the agent to learn a policy that outperforms state-of-the-art methods on public datasets.
Executing computer vision models on streaming visual data, or streaming perception is an emerging problem, with applications in self-driving, embodied agents, and augmented/virtual reality. The development of such systems is largely governed by the accuracy and latency of the processing pipeline. While past work has proposed numerous approximate execution frameworks, their decision functions solely focus on optimizing latency, accuracy, or energy, etc. This results in sub-optimum decisions, affecting the overall system performance. We argue that the streaming perception systems should holistically maximize the overall system performance (i.e., considering both accuracy and latency simultaneously). To this end, we describe a new approach based on deep reinforcement learning to learn these tradeoffs at runtime for streaming perception. This tradeoff optimization is formulated as a novel deep contextual bandit problem and we design a new reward function that holistically integrates latency and accuracy into a single metric. We show that our agent can learn a competitive policy across multiple decision dimensions, which outperforms state-of-the-art policies on public datasets.
Motivation & Objective
- To address the sub-optimal decision-making in streaming perception systems that focus on single metrics like latency or accuracy.
- To holistically optimize system performance by jointly maximizing accuracy and minimizing latency in real time.
- To model the dynamic trade-offs in streaming perception as a contextual bandit problem with a unified reward function.
- To develop a learnable policy that adapts to varying input data and system constraints at runtime.
- To evaluate the method on public datasets and demonstrate superior performance over state-of-the-art approaches.
Proposed method
- The approach formulates the streaming perception decision problem as a deep contextual bandit, where actions involve selecting processing configurations.
- A novel reward function is designed to integrate both latency and accuracy into a single metric, enabling joint optimization.
- A deep Q-network (DQN) agent is trained to select actions (e.g., model resolution, frame rate) based on real-time context to maximize cumulative reward.
- The agent observes input frames and system state, then selects processing strategies that balance performance and efficiency.
- The method enables online adaptation by continuously learning from feedback on accuracy and latency outcomes.
- The framework supports multi-dimensional decisions, such as model choice, resolution, and frame sampling rate.
Experimental results
Research questions
- RQ1Can a reinforcement learning agent learn to balance accuracy and latency in streaming perception more effectively than single-objective approaches?
- RQ2How well does the proposed contextual bandit formulation with a unified reward function generalize across diverse input data and system constraints?
- RQ3To what extent does the learned policy outperform existing heuristic or single-optimization strategies on public benchmarks?
- RQ4How robust is the agent’s decision-making under dynamic changes in input stream characteristics?
- RQ5What is the impact of the unified reward function on policy convergence and long-term system performance?
Key findings
- The proposed method achieves superior system performance by jointly optimizing accuracy and latency, outperforming state-of-the-art policies on public datasets.
- The deep reinforcement learning agent learns a competitive policy that adapts effectively across multiple decision dimensions, such as model selection and frame rate.
- The unified reward function successfully balances competing objectives, leading to improved holistic system efficiency.
- The agent demonstrates strong generalization and adaptability to varying input streams and runtime conditions.
- The method achieves better trade-offs than prior approaches that optimize only one metric (e.g., latency or accuracy) in isolation.
- The results confirm that holistic optimization via deep reinforcement learning leads to measurable gains in end-to-end system performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.