Online Generic Event Boundary Detection

Hyung Rok Jung, Daneul Kim, Seunggyun Lim, Jeany Son, Jonghyun Choi

TL;DR

This paper introduces "Online Generic Event Boundary Detection" (On-GEBD), a new task that mimics human real-time video understanding by detecting event changes without future information. They propose ESTimator, a novel framework inspired by cognitive theories, which uses a "Consistent Event Anticipator" and an "Online Boundary Discriminator" to achieve state-of-the-art performance on this challenging task.

What Problem Does This Paper Address?

Long-form videos, like those on YouTube or TikTok, are rich with information, but understanding them in a human-like way is difficult. Current "Generic Event Boundary Detection" (GEBD) methods analyze entire video clips, even looking ahead, to identify where one event ends and another begins. This is unlike how humans naturally perceive events – we process information sequentially, in real-time, and without knowing what's coming next. This disconnect means existing GEBD methods aren't truly capturing human-like event segmentation. The paper addresses this by proposing a new task, Online Generic Event Boundary Detection (On-GEBD), which requires models to detect event boundaries as frames stream in, using only past and current information. This online, causal setting is crucial for applications that need to understand videos in real-time.

Methods

The core of the proposed solution is the ESTimator framework, inspired by Event Segmentation Theory (EST). EST suggests humans segment events by anticipating what's next and flagging a boundary when the actual sensory input significantly deviates from their prediction. ESTimator has two main components:

  • Consistent Event Anticipator (CEA): This component uses a transformer decoder to predict a future frame's feature representation based on past frames. The goal is to generate a prediction that is consistent with the ongoing event. The CEA is trained with two novel objectives:
  • EST Loss: Encourages the model to produce larger prediction errors at actual event boundaries and smaller errors within continuous events.
  • REST Loss (Region EST Loss): A region-level training scheme that considers temporal context by averaging past errors, making the predictions more robust to noise and better at anticipating future events.
  • Online Boundary Discriminator (OBD): This component takes the prediction error from the CEA and uses it to decide if a boundary has occurred. Instead of a fixed threshold, the OBD maintains a queue of recent error values. It then uses statistical tests (specifically, comparing the current error to a Gaussian distribution derived from past errors) to dynamically adjust the detection threshold. This allows it to adapt to varying event granularities and semantic changes without relying on future frames.

Datasets

The paper evaluates ESTimator on two established datasets:

  • Kinetics-GEBD: This dataset is derived from the Kinetics-400 dataset and is specifically annotated for generic event boundaries, with each video containing multiple events.
  • TAPOS: This dataset, originally for action recognition, is adapted for GEBD by obscuring action labels.

The authors also mention presenting results for the INRIA dataset in supplementary material.

Key Insights and Ideas

  • Human-like perception is key: The paper strongly argues that for true video understanding, models need to mimic human online, causal processing, rather than relying on offline analysis of entire clips.
  • Cognitive theory as a blueprint: Leveraging Event Segmentation Theory (EST) provides a powerful, biologically plausible framework for building models that can detect subtle event changes.
  • Dynamic thresholds are crucial: For taxonomy-free events, a fixed threshold for boundary detection is insufficient. The OBD's adaptive thresholding mechanism is vital for handling diverse and subtle event transitions.
  • Error is informative: The discrepancy between predicted and actual visual information is not just a signal of failure, but a primary cue for event segmentation.

Key Results

  • Outperforms online baselines: ESTimator significantly outperforms existing online video understanding models adapted for the On-GEBD task on both Kinetics-GEBD and TAPOS datasets. For example, on Kinetics-GEBD, ESTimator achieves an average F1 score of 0.748, while the best baseline (MiniROAD-BC) reaches 0.681.
  • Comparable to offline methods: Remarkably, ESTimator achieves performance comparable to state-of-the-art offline GEBD methods, despite operating under the strict constraints of online processing. On Kinetics-GEBD, its average F1 score is 0.748, which is competitive with methods like PC (0.817) and CoSeg (0.782) when they are evaluated in an offline setting.
  • Component effectiveness: Ablation studies show that each component (EST loss, REST loss, and OBD) contributes significantly to the overall performance, with the full framework demonstrating a synergistic effect.
  • Real-time feasibility: ESTimator achieves high FPS (e.g., 96.3 FPS on a single GPU), making it suitable for real-time applications.

Limitations and Future Work

  • Persistence of errors: The paper acknowledges that the persistence of elevated error values from a previous event boundary in the OBD's queue could potentially interfere with detecting subsequent boundaries. However, their ablation study shows that excluding these "outliers" severely degrades performance, suggesting the current mechanism is effective.
  • Computational cost: While ESTimator is efficient, the paper mentions further analysis of computation cost in supplementary material, implying there's always room for optimization.
  • Future directions: The work naturally opens avenues for exploring more sophisticated EST-inspired models, investigating different error metrics, and applying this online event boundary detection to more complex, real-world video understanding tasks. The authors also suggest that the OBD's adaptive thresholding mechanism has cognitive plausibility, hinting at further research into human event perception.

Summary updated

BibTeX
@inproceedings{jung2025online,
  author = {Hyung Rok Jung and Daneul Kim and Seunggyun Lim and Jeany Son and Jonghyun Choi},
  title = {{Online Generic Event Boundary Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=Fti7y57O7C},
}
Figure