[Paper Review] Winning the CVPR'2021 Kinetics-GEBD Challenge: Contrastive Learning Approach
This paper proposes a contrastive learning-based method for Generic Event Boundary Detection (GEBD) using a Temporal Self-similarity Matrix (TSM) as an intermediate representation to capture visual content changes at event boundaries. By combining a TSM pass with contrastive loss and a direct prediction pass, the model achieves state-of-the-art performance, winning the CVPR'2021 Kinetics-GEBD Challenge with an F1 score of 81.3.
Generic Event Boundary Detection (GEBD) is a newly introduced task that aims to detect "general" event boundaries that correspond to natural human perception. In this paper, we introduce a novel contrastive learning based approach to deal with the GEBD. Our intuition is that the feature similarity of the video snippet would significantly vary near the event boundaries, while remaining relatively the same in the remaining part of the video. In our model, Temporal Self-similarity Matrix (TSM) is utilized as an intermediate representation which takes on a role as an information bottleneck. With our model, we achieved significant performance boost compared to the given baselines. Our code is available at https://github.com/hello-jinwoo/LOVEU-CVPR2021.
Motivation & Objective
- To address the challenge of detecting class-agnostic event boundaries in long videos based on human perception, which is subjective and lacks category-specific annotations.
- To improve training signal quality in GEBD, where standard BCE loss provides insufficient gradients for deep Transformer-based encoders.
- To enhance feature representation for event boundary detection by leveraging temporal self-similarity matrices (TSM) as an information bottleneck.
- To combine multiple prediction heads—TSM-based and direct prediction—via convex combination to improve robustness and performance.
- To achieve state-of-the-art results on the Kinetics-GEBD benchmark without using external data or annotations.
Proposed method
- The model uses a dual-path architecture: one path processes features through a TSM-based decoder, and another directly predicts boundaries from encoded features.
- A contrastive learning loss is applied to the TSM representation, using local similarity patterns around boundaries as positive pairs and non-boundary regions as negative pairs.
- The contrastive loss is computed on pairwise similarities between features from a Siamese-style projection head (Simsiam), with a ternary mask to isolate boundary-relevant regions.
- The encoder employs parallel modules with different receptive fields—1D convolutions for local features and Transformers for long-range dependencies—each specialized for action, shot, or combined boundaries.
- The final prediction is a convex combination of the two paths, with the combination weight learned end-to-end via BCE loss.
- Post-processing includes peak estimation with K=1 or 2 and thresholding to suppress low-confidence predictions, and model ensembling across five data splits to improve generalization.
Experimental results
Research questions
- RQ1Can temporal self-similarity matrices (TSM) effectively serve as an intermediate representation for detecting generic event boundaries in untrimmed videos?
- RQ2Does contrastive learning improve the gradient signal for training deep encoders in GEBD when standard BCE loss fails to provide sufficient supervision?
- RQ3Can combining a TSM-based path with a direct prediction path lead to better performance than either path alone?
- RQ4How do data augmentation, model ensembling, and post-processing affect final performance on the Kinetics-GEBD benchmark?
- RQ5To what extent does the proposed method generalize across different video feature extractors and dataset splits?
Key findings
- The full model, combining both direct and TSM passes with contrastive learning, achieved an F1 score of 81.3 on the Kinetics-GEBD validation set, significantly outperforming the baseline PC model (62.5 F1).
- Removing the TSM pass caused a 3.3-point drop in F1 score (from 81.3 to 78.0), demonstrating the critical role of TSM in capturing boundary-related patterns.
- The TSM pass without contrastive loss (74.3 F1) underperformed the full model, indicating that BCE loss alone fails to provide sufficient gradients for effective training.
- The direct pass alone achieved 78.0 F1, showing that direct supervision is effective but less powerful than the TSM-based approach when enhanced with contrastive learning.
- Ensembling predictions from five cross-validation splits and using a two-branch ensemble head further improved robustness and generalization.
- Post-processing with peak detection and thresholding reduced false positives and eliminated adjacent duplicate predictions, contributing to cleaner final outputs.
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.