NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online Action Detection

Roeland De Geest, Efstratios Gavves, Amir Ghodrati, Zhenyang Li, Cees Snoek, Tinne Tuytelaars

TL;DR

This paper defines the task of online action detection—identifying actions in a video stream the moment they start, rather than after the video ends. To move the field forward, the authors introduce the TVSeries dataset, a massive 16-hour benchmark of realistic footage, and a new evaluation metric designed to handle the extreme imbalance between action and background data.

What Problem Does This Paper Address?

Most computer vision research on "action detection" is actually offline. In an offline setting, the algorithm has access to the entire video and can look "into the future" to determine when an action started and ended. While useful for video indexing, this is useless for real-world applications like autonomous driving (e.g., stopping as a child runs into the street) or proactive robotics.

The authors identify four major hurdles for online detection:

  1. Partial Observations: You have to make a call before the action is finished.
  2. Negative Data Variability: Real-world background "noise" is diverse and unpredictable.
  3. Unknown Start Times: Without knowing when an action begins, it's hard to know how much past information to integrate.
  4. Within-class Variability: People perform the same action (like "drinking") in wildly different ways.

Methods

The researchers evaluated three "backbone" approaches that represent the state of the art at the time:

  • Improved Trajectories + Fisher Vectors (FV): A motion-based approach that tracks local points across frames and aggregates them into a statistical descriptor.
  • CNN (VGG-16): An appearance-based approach that looks at each frame individually to identify objects and poses.
  • LSTM (Long Short-Term Memory): A temporal approach that uses a recurrent neural network to remember information from previous frames to inform current predictions.

Crucially, they introduced Calibrated Precision (cPrec). In realistic video, actions are rare (e.g., "standing up" might take up <1% of a 20-minute episode). Standard metrics like Average Precision (AP) plummet when there is a lot of background data. Calibrated Precision adjusts for this imbalance, allowing for a fair comparison across different action classes regardless of how often they occur.

Datasets

The paper introduces the TVSeries dataset, which significantly raises the bar for realism:

  • Content: 27 episodes from 6 popular shows (e.g., Breaking Bad, Mad Men, Modern Family).
  • Scale: ~16 hours of footage, 30 action classes, and 6,231 total action instances.
  • Complexity: Unlike older datasets (like KTH or Weizmann) where actors perform actions in front of static backgrounds, this dataset features professional cinematography, occlusions, moving cameras, and multiple people.
  • Metadata: Every instance is tagged with attributes like "atypical," "occluded," "side viewpoint," or "shotcut," allowing for deep diagnostic analysis.

Key Insights and Ideas

  • Motion vs. Appearance: Motion-based features (FV) generally outperformed appearance-based features (CNN). This suggests that for online detection, how things move is more informative than what things look like in a single snapshot.
  • The "Needle in a Haystack" Problem: The hardest part of online detection isn't distinguishing between "running" and "walking"—it's distinguishing "running" from the infinite variety of things people do when they aren't performing a labeled action.
  • The Latency Trade-off: While Fisher Vectors were the most accurate, they are computationally expensive and slow. Deep learning models (CNN/LSTM) are faster and more parallelizable but struggled to capture the temporal nuances of actions as effectively as hand-crafted motion features.
  • Start-of-Action Difficulty: Performance is significantly worse at the very beginning of an action. Temporal methods need a "warm-up" period of a few frames to build a reliable representation of what is happening.

Key Results

The results highlight just how difficult this task is. On the TVSeries dataset:

  • Mean Average Precision (mAP): The scores were very low—5.2% for FV, 2.7% for LSTM, and 1.9% for CNN. While these are significantly better than a random baseline (0.7%), they show that "solving" online action detection is still a long way off.
  • Calibrated Performance: Using the calibrated metric (where 50% is a random guess), FVs reached a mean cAP of 74.3%, showing they have a strong predictive signal even if the raw AP is low due to the massive amount of background data.
  • Temporal Analysis: FVs showed a clear trend of increasing accuracy as more of the action was observed (from 67.0% cAP at the first 10% of the action to 76.8% at the end).

Limitations and Future Work

The authors acknowledge that their baseline methods are relatively simple. The Fisher Vector approach, while accurate, is too slow for true real-time use. Conversely, the LSTM and CNN models didn't fully exploit temporal dependencies.

Future work should focus on:

  1. Developing more efficient motion features that can run at high frame rates.
  2. Better modeling of "background" data to reduce false positives.
  3. Exploring "two-stream" architectures that combine the strengths of appearance (CNN) and motion (FV/Optical Flow) in an end-to-end trainable way.

Summary updated

BibTeX
@inproceedings{geest2016online,
  author = {Roeland De Geest and Efstratios Gavves and Amir Ghodrati and Zhenyang Li and Cees Snoek and Tinne Tuytelaars},
  title = {{Online Action Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  url = {https://openreview.net/forum?id=fUHjFxxUuRu},
}
Figure