Length Matters: Length-Aware Transformer for Temporal Sentence Grounding

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Yifan, Liu, Ziyi, Sun, Xiaolong, Wang, Jiawei, Liu, Hongmin
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912523218845696
author Wang, Yifan
Liu, Ziyi
Sun, Xiaolong
Wang, Jiawei
Liu, Hongmin
author_facet Wang, Yifan
Liu, Ziyi
Sun, Xiaolong
Wang, Jiawei
Liu, Hongmin
contents Temporal sentence grounding (TSG) is a highly challenging task aiming to localize the temporal segment within an untrimmed video corresponding to a given natural language description. Benefiting from the design of learnable queries, the DETR-based models have achieved substantial advancements in the TSG task. However, the absence of explicit supervision often causes the learned queries to overlap in roles, leading to redundant predictions. Therefore, we propose to improve TSG by making each query fulfill its designated role, leveraging the length priors of the video-description pairs. In this paper, we introduce the Length-Aware Transformer (LATR) for TSG, which assigns different queries to handle predictions based on varying temporal lengths. Specifically, we divide all queries into three groups, responsible for segments with short, middle, and long temporal durations, respectively. During training, an additional length classification task is introduced. Predictions from queries with mismatched lengths are suppressed, guiding each query to specialize in its designated function. Extensive experiments demonstrate the effectiveness of our LATR, achieving state-of-the-art performance on three public benchmarks. Furthermore, the ablation studies validate the contribution of each component of our method and the critical role of incorporating length priors into the TSG task.
format Preprint
id arxiv_https___arxiv_org_abs_2508_04299
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Length Matters: Length-Aware Transformer for Temporal Sentence Grounding
Wang, Yifan
Liu, Ziyi
Sun, Xiaolong
Wang, Jiawei
Liu, Hongmin
Computer Vision and Pattern Recognition
Temporal sentence grounding (TSG) is a highly challenging task aiming to localize the temporal segment within an untrimmed video corresponding to a given natural language description. Benefiting from the design of learnable queries, the DETR-based models have achieved substantial advancements in the TSG task. However, the absence of explicit supervision often causes the learned queries to overlap in roles, leading to redundant predictions. Therefore, we propose to improve TSG by making each query fulfill its designated role, leveraging the length priors of the video-description pairs. In this paper, we introduce the Length-Aware Transformer (LATR) for TSG, which assigns different queries to handle predictions based on varying temporal lengths. Specifically, we divide all queries into three groups, responsible for segments with short, middle, and long temporal durations, respectively. During training, an additional length classification task is introduced. Predictions from queries with mismatched lengths are suppressed, guiding each query to specialize in its designated function. Extensive experiments demonstrate the effectiveness of our LATR, achieving state-of-the-art performance on three public benchmarks. Furthermore, the ablation studies validate the contribution of each component of our method and the critical role of incorporating length priors into the TSG task.
title Length Matters: Length-Aware Transformer for Temporal Sentence Grounding
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.04299