Fine-Grained Dynamic Network for Generic Event Boundary Detection

Ziwei Zheng, Lijun He, Le Yang, Fan Li

Introduction

Generic Event Boundary Detection (GEBD) aims to identify the precise moments in a video where a human would naturally perceive a change in action or scene. These boundaries vary significantly in complexity, from obvious camera cuts to subtle transitions between sub-actions, such as a gymnast shifting from a flip to a landing. Traditional state-of-the-art models typically process every frame through a deep, computationally expensive backbone. This approach is often inefficient for simple boundaries and potentially less effective for complex ones, where low-level features might be "washed out" by deep semantic layers.

The DyBDet Framework

To address these challenges, the authors introduce DyBDet (Dynamic Boundary Detector), a framework designed to adaptively adjust its computational effort based on the complexity of the video snippet. DyBDet incorporates two main technical innovations: a multi-exit network with a partial exit criterion and a multi-order temporal difference detector.

The architecture of DyBDet, featuring the Multi-exit Network (a) and the Multi-order Difference Detector (b).

Multi-exit Network with Partial Exit Criterion

Unlike standard multi-exit networks that exit an entire sequence at a specific layer, DyBDet employs a Partial Exit Criterion. This allows specific segments of a video—such as simple shot changes—to exit early at shallow layers. More complex segments continue through deeper layers for more intensive semantic processing. To maintain the temporal continuity required by deeper detectors, the model uses feature padding to replace exited segments with repetitions of adjacent features.

Multi-order Difference Detector

To accurately localize boundaries, DyBDet utilizes a detector that analyzes temporal "derivatives" across multiple orders:

  • 0th order: Raw feature activations, effective for detecting sudden shot changes.
  • 1st order: Changes between adjacent frames.
  • 2nd order: Changes in the rate of change, which are critical for identifying subtle semantic transitions.

A Pairwise Contrast Module (PCM) further refines these signals by calculating similarity maps within local windows to pinpoint the exact boundary timestamp.

Dynamic Inference and Complexity Awareness

The core strength of DyBDet lies in its ability to handle varying boundary complexities dynamically. Statistical analysis reveals that approximately 82% of shot changes can be correctly identified at the earliest detector, while complex action changes necessitate the deeper semantic understanding provided by the final layers of the backbone.

Comparison between early-exited boundaries (simple) and late-exited boundaries (complex) based on feature activation and temporal difference orders.

By allowing "easy" samples to exit early, DyBDet avoids the computational overhead of deep layers for simple tasks. Crucially, this doesn't just improve efficiency; it also prevents shallow features from being obscured by the high-level abstractions of deeper layers, leading to better overall performance.

Experimental Results

DyBDet was evaluated on the Kinetics-GEBD and TAPOS benchmarks, setting new state-of-the-art records:

  • Accuracy: On Kinetics-GEBD, it achieved an [email protected] score of 79.6%, a 1.9% improvement over previous methods.
  • Efficiency: DyBDet is remarkably efficient, using 11.3x fewer FLOPs than DDM-Net while delivering superior performance.
  • Latency: Inference latency on an RTX 4090 is just 0.84ms, compared to 25.75ms for DDM-Net—a massive leap for real-time applications.

Conclusion

DyBDet demonstrates that a "one-size-fits-all" approach to video processing is suboptimal for event boundary detection. By combining a fine-grained multi-exit strategy with multi-order temporal analysis, the framework achieves a superior balance of accuracy and efficiency. Future work will explore the generalizability of this dynamic approach to other temporal video tasks like action localization and summarization.

Summary updated

BibTeX
@inproceedings{zheng2024fine,
  author = {Ziwei Zheng and Lijun He and Le Yang and Fan Li},
  title = {{Fine-Grained Dynamic Network for Generic Event Boundary Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72775-7\_7},
}
Figure