A Closer Look at Debiased Temporal Sentence Grounding in Videos: Dataset, Metric, and Approach

Xiaohan Lan, Yitian Yuan, Xin Wang, Long Chen, Zhi Wang, Lin Ma, Wenwu Zhu

Abstract

Temporal Sentence Grounding in Videos (TSGV) aims to locate a natural language query within an untrimmed video. Recent findings suggest that benchmark datasets contain significant moment annotation biases, allowing simple baselines to achieve state-of-the-art (SOTA) performance without true visual understanding. This paper re-evaluates existing protocols, proposing new out-of-distribution (OOD) test splits and a "discounted Recall" metric (dR@n,IoU@m) to mitigate evaluation inflation. Furthermore, we introduce the Multi-branch Deconfounding Debiasing (MDD) framework, which utilizes causal intervention to eliminate confounder effects and enhances feature representations through verb-centered semantic parsing and positional reconstruction. Extensive experiments demonstrate that our proposed approach can achieve competitive results among existing SOTA approaches and outperform the base model with great gains.

Introduction: The Shortcut Learning Problem

Temporal Sentence Grounding in Videos (TSGV) is the task of retrieving a specific "moment" (start and end time) from an untrimmed video based on a natural language query, such as "a person pours coffee into a cup." While performance metrics in this field have steadily improved, recent analysis reveals a critical flaw: many state-of-the-art (SOTA) models are "cheating" by exploiting dataset biases rather than learning to ground language in visual content.

TSGV task example and performance of biased baselines on standard benchmarks.

Existing datasets often exhibit strong temporal priors—for instance, certain actions may predominantly occur at the beginning of videos, or ground-truth moments may have predictable durations. Consequently, simple baselines that ignore the video content entirely can sometimes outperform complex deep learning models. If a model can guess the correct segment simply by knowing the average clip duration in the training set, it has failed to learn the fundamental task of visual-linguistic alignment.

Proposed Methodology

To address this "shortcut learning" phenomenon, the authors propose a three-pronged approach involving dataset restructuring, a more rigorous metric, and a novel debiasing framework.

Out-of-Distribution (OOD) Benchmarking

The authors introduced two new benchmark splits: Charades-CD and ActivityNet-CD (where "CD" stands for Changing Distribution). Unlike traditional random splits, these datasets ensure that the test set has a significantly different distribution of moment locations compared to the training set. This "Out-of-Distribution" (OOD) testing provides a more accurate measure of a model's true generalization capabilities.

Discounted Recall Metric (dR@n, IoU@m)

Standard Recall metrics can be inflated by long moments; a model predicting the entire video might achieve high overlap (IoU) with a long ground-truth segment. The proposed discounted Recall (dR) penalizes predictions based on their temporal distance from the ground truth, rewarding precision and penalizing "lucky" guesses that rely on broad temporal coverage.

The MDD Framework

The Multi-branch Deconfounding Debiasing (MDD) framework is designed for unbiased moment prediction:

  • Causal Intervention: Using "do-calculus," the model actively removes the influence of "confounders" (such as location and action biases) that create spurious correlations in the training data.
  • Feature Enhancement: To improve semantic alignment, queries are parsed into verb-centered semantic trees. Additionally, a position reconstruction loss is used to make visual features more sensitive to temporal location, preventing the model from ignoring the "where" in favor of the "what."

Key Results and Analysis

Testing existing SOTA models on the new OOD splits confirmed the severity of the bias problem: most models experienced significant performance degradation. In contrast, the proposed MDD model demonstrated robust performance:

  • On Charades-CD, MDD achieved a 34.71% score on the test-iid set and maintained a competitive 22.70% on the test-ood set (measured by dR@1, [email protected]).
  • The "Bias-based" baseline, which appeared competitive on original datasets, dropped to near 0% on the OOD test sets, validating the effectiveness of the new evaluation protocol.

Conclusion

This work highlights the pitfalls of biased benchmarking in TSGV and provides the tools—new datasets, a stricter metric, and a causality-based framework—to move the field toward genuine visual-linguistic understanding. While the MDD framework successfully addresses several known biases, future work will explore more complex causal graphs to account for unobserved confounders in increasingly diverse video datasets.

Summary updated

Abstract

Temporal Sentence Grounding in Videos (TSGV), which aims to ground a natural language sentence in an untrimmed video, has drawn widespread attention over the past few years. However, recent studies have found that current benchmark datasets may have obvious moment annotation biases, enabling several simple baselines even without training to achieve SOTA performance. In this paper, we take a closer look at existing evaluation protocols, and find both the prevailing dataset and evaluation metrics are the devils that lead to untrustworthy benchmarking. Therefore, we propose to re-organize the two widely-used datasets, making the ground-truth moment distributions different in the training and test splits, i.e., out-of-distribution (OOD) test. Meanwhile, we introduce a new evaluation metric "dR@n,IoU@m" that discounts the basic recall scores to alleviate the inflating evaluation caused by biased datasets. New benchmarking results indicate that our proposed evaluation protocols can better monitor the research progress. Furthermore, we propose a novel causality-based Multi-branch Deconfounding Debiasing (MDD) framework for unbiased moment prediction. Specifically, we design a multi-branch deconfounder to eliminate the effects caused by multiple confounders with causal intervention. In order to help the model better align the semantics between sentence queries and video moments, we enhance the representations during feature encoding. Specifically, for textual information, the query is parsed into several verb-centered phrases to obtain a more fine-grained textual feature. For visual information, the positional information has been decomposed from moment features to enhance representations of moments with diverse locations. Extensive experiments demonstrate that our proposed approach can achieve competitive results among existing SOTA approaches and outperform the base model with great gains.
BibTeX
@article{lan2023closer,
  author = {Xiaohan Lan and Yitian Yuan and Xin Wang and Long Chen and Zhi Wang and Lin Ma and Wenwu Zhu},
  title = {{A Closer Look at Debiased Temporal Sentence Grounding in Videos: Dataset, Metric, and Approach}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2023},
  doi = {10.1145/3565573},
}
Figure