Skip to main content
QUICK REVIEW

[Paper Review] Budget-Aware Activity Detection with A Recurrent Policy Network

Behrooz Mahasseni, Xiaodong Yang|arXiv (Cornell University)|Nov 30, 2017
Human Pose and Action RecognitionComputer Science24 references4 citations
TL;DR

This paper proposes a budget-aware, end-to-end recurrent policy network for efficient temporal activity detection in long untrimmed videos, selecting frames strategically under time constraints. By formulating frame selection as a Markov decision process and using policy gradient optimization, it achieves competitive mAP (21.5 on ActivityNet) in just 0.35 seconds per video—orders of magnitude faster than prior methods—while directly optimizing for mAP without decomposition.

ABSTRACT

In this paper, we address the challenging problem of efficient temporal activity detection in untrimmed long videos. While most recent work has focused and advanced the detection accuracy, the inference time can take seconds to minutes in processing each single video, which is too slow to be useful in real-world settings. This motivates the proposed budget-aware framework, which learns to perform activity detection by intelligently selecting a small subset of frames according to a specified time budget. We formulate this problem as a Markov decision process, and adopt a recurrent network to model the frame selection policy. We derive a recurrent policy gradient based approach to approximate the gradient of the non-decomposable and non-differentiable objective defined in our problem. In the extensive experiments, we achieve competitive detection accuracy, and more importantly, our approach is able to substantially reduce computation time and detect multiple activities with only 0.35s for each untrimmed long video.

Motivation & Objective

  • Address the inefficiency of existing temporal activity detection methods that require seconds to minutes per video due to exhaustive CNN inference.
  • Enable real-time, on-device video analytics by operating within strict time and computational budgets.
  • Develop a unified, end-to-end framework that jointly optimizes frame selection and detection without separating proposal and classification stages.
  • Directly optimize the non-differentiable mAP metric, which is the standard evaluation criterion, in the training objective.
  • Reduce computational cost by intelligently selecting only the most informative frames based on a time budget, rather than processing all frames.

Proposed method

  • Formulate frame selection as a Markov decision process (MDP), where the policy decides which frames to extract and analyze at each step.
  • Use a long short-term memory (LSTM)-based recurrent policy network to model the sequential decision-making process for frame selection.
  • Define a non-decomposable and non-differentiable objective function based on mean average precision (mAP), directly optimizing for the final evaluation metric.
  • Apply a policy gradient method with reinforcement learning to approximate the gradient of the mAP objective, enabling end-to-end training.
  • At each step, the policy observes a local frame neighborhood, predicts a segment’s start/end times and class, and selects the next frame to observe.
  • Integrate frame feature extraction (via CNN), motion cues (frame differences), and policy inference into a single, efficient pipeline.

Experimental results

Research questions

  • RQ1Can a reinforcement learning-based policy network effectively reduce inference time in temporal activity detection while maintaining high accuracy?
  • RQ2How does direct optimization of mAP as the objective function compare to surrogate or decomposable losses in frame selection?
  • RQ3To what extent can a single unified model handle multiple activity classes end-to-end under strict time budgets?
  • RQ4How does the number of policy steps (i.e., frame selections) affect detection accuracy under varying time constraints?
  • RQ5Can the proposed method outperform both sliding-window and two-stage approaches in terms of speed-accuracy trade-off on large-scale datasets?

Key findings

  • The proposed method achieves 21.5 mAP on ActivityNet at α=0.5, outperforming state-of-the-art methods like R-C3D and CDC, while reducing inference time to only 0.35 seconds per video.
  • The method reduces computation time by orders of magnitude compared to prior approaches, such as UTS16 (over 930 seconds) and CDC (over 930 seconds), while maintaining competitive accuracy.
  • The policy network consumes only 9.4% of the total time, demonstrating high efficiency, while feature extraction dominates at 80.1% of the time, highlighting the importance of frame selection.
  • On THUMOS14, the method outperforms the binary glimpses model [Yeung et al., 2016] in 15 out of 20 classes and achieves a 5.3% higher overall mAP, despite being a unified multi-class model.
  • Increasing the number of policy steps from 6 to 30 (increasing time from 0.35s to 1.59s) improves mAP by 2.0% at α=0.5, showing a clear benefit of additional budget.
  • The method is the first to directly optimize mAP in the objective function, avoiding surrogate losses and enabling better alignment with the final evaluation metric.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.