Weakly Supervised Temporal Sentence Grounding via Positive Sample Mining
Lu Dong, Haiyu Zhang, Hongjie Zhang, Yifei Huang, Zhen-Hua Ling, Yu Qiao, Limin Wang, Yali Wang
TL;DR
This work tackles weakly supervised temporal sentence grounding (WSTSG) by addressing the challenge of treating all non-anchor samples as negatives. It introduces Positive Sample Mining (PSM), which partitions the training set for each anchor into semantically similar and dissimilar samples using text-query similarity, and leverages them with a PSM-guided contrastive loss and a PSM-guided rank loss to exploit inter-sample correlations. The approach, built on transformer-based query and proposal encoders, achieves state-of-the-art or competitive results on Charades-STA, ActivityNet Captions, and NExT-GQA without adding inference cost, and shows robust gains across backbones. Extensive ablations validate the benefits of using similar samples and the two PSM losses, while also outlining limitations such as added training cost and challenges with highly complex queries that could be mitigated by sub-event decomposition in future work.
Abstract
The task of weakly supervised temporal sentence grounding (WSTSG) aims to detect temporal intervals corresponding to a language description from untrimmed videos with only video-level video-language correspondence. For an anchor sample, most existing approaches generate negative samples either from other videos or within the same video for contrastive learning. However, some training samples are highly similar to the anchor sample, directly regarding them as negative samples leads to difficulties for optimization and ignores the correlations between these similar samples and the anchor sample. To address this, we propose Positive Sample Mining (PSM), a novel framework that mines positive samples from the training set to provide more discriminative supervision. Specifically, for a given anchor sample, we partition the remaining training set into semantically similar and dissimilar subsets based on the similarity of their text queries. To effectively leverage these correlations, we introduce a PSM-guided contrastive loss to ensure that the anchor proposal is closer to similar samples and further from dissimilar ones. Additionally, we design a PSM-guided rank loss to ensure that similar samples are closer to the anchor proposal than to the negative intra-video proposal, aiming to distinguish the anchor proposal and the negative intra-video proposal. Experiments on the WSTSG and grounded VideoQA tasks demonstrate the effectiveness and superiority of our method.
