TL;DR
This paper introduces DisTime, a novel framework that enhances Video Large Language Models (Video-LLMs) by representing time as a continuous probability distribution, overcoming the limitations of discrete time tokens. To support this, they also introduce InternVid-TG, a large-scale dataset for temporal grounding, significantly advancing the state-of-the-art in time-sensitive video understanding tasks.
What Problem Does This Paper Address?
Video Large Language Models (Video-LLMs) have shown great promise in understanding visual content, but they struggle with precise temporal localization. Existing methods often represent time discretely (e.g., using specific tokens or numerical values), which can lead to ambiguity, loss of information, and difficulties in handling the continuous nature of time. This imprecision is particularly problematic for time-sensitive tasks like moment retrieval and dense video captioning. Furthermore, existing datasets for temporal grounding often suffer from limited temporal granularity or are expensive to create, hindering the development of more robust models.
Methods
DisTime tackles these challenges with a two-pronged approach:
- Distribution-based Time Representation: Instead of discrete tokens or direct regression, DisTime models time as a probability distribution.
- Distribution-based Time Decoder: A learnable token,
<TIME_STAMP>, is introduced. When the LLM outputs this token, a specialized decoder converts its embedding into a probability distribution over possible start and end times. This distribution-aware approach helps resolve boundary ambiguities inherent in temporal localization. - Distribution-based Time Encoder: This component acts as the inverse of the decoder, converting continuous timestamps back into a representation that can be integrated into the LLM's temporal context for subsequent autoregressive steps. This "Iterative Time Refinement" mechanism ensures consistent temporal referencing.
- Automated Annotation Paradigm for InternVid-TG: To address the lack of large-scale, temporally granular datasets, the authors propose an automated annotation pipeline. This pipeline leverages:
- LLM Captioning: A Video-LLM is used to extract event descriptions from videos.
- Dedicated Temporal Grounding Models: Pre-trained models (UniMD, Mr.Blip, TFVTG) are employed for fine-grained event boundary detection.
- Similarity Scoring and Ensemble: A scoring mechanism based on visual-textual similarity (using InternVideo2) is used to select the best temporal annotations from the dedicated models, which are then ensembled.
Datasets
- InternVid-TG: A newly introduced dataset comprising 1.25 million temporally grounded events across 179,000 videos. This dataset is significantly larger (55x) than ActivityNet-Caption and aims to overcome the temporal granularity limitations of previous datasets. It was generated using the automated annotation pipeline described above.
- Existing Datasets: The paper also utilizes standard benchmarks for evaluation, including:
- Moment Retrieval: Charades-STA, ANet-Caption, QVHighlights.
- Dense Video Captioning: ANet-Caption, YouCook2.
- Grounded Video Question Answering: NExT-GQA.
- General Video Understanding: MVBench, Video-MME, Long VideoBench.
Key Insights and Ideas
- Time as a Distribution is Key: Representing temporal boundaries as probability distributions, rather than single points, is crucial for handling inherent ambiguities and improving localization accuracy. This is a significant departure from previous discrete or direct regression methods.
- Single Token for Continuous Time: The
<TIME_STAMP>token acts as a powerful, lightweight mechanism to inject continuous temporal information into LLMs, avoiding the need for multiple specialized tokens or complex temporal modules. - Iterative Refinement for Temporal Context: Re-encoding decoded timestamps allows the model to maintain and refine its understanding of temporal context throughout the autoregressive generation process, leading to more coherent and accurate temporal predictions.
- Leveraging LLMs for Data Generation: The automated annotation pipeline demonstrates a practical and scalable way to create large-scale, high-quality temporal grounding datasets by combining the strengths of LLMs and specialized models.
Key Results
DisTime, when integrated with existing Video-LLMs (InternVL2.5 and LLaVA-OneVision), achieves state-of-the-art performance on several time-sensitive tasks:
- Moment Retrieval (Charades-STA): DisTime-InternVL-8B achieves an R@1 (IoU=0.3) of 81.0%, outperforming other Video-LLMs and even dedicated models in a zero-shot setting.
- Dense Video Captioning (YouCook2): DisTime models show significant improvements, with DisTime-InternVL-8B achieving a CIDEr score of 31.0 and an F1 score of 26.4.
- Grounded Video Question Answering (NExT-GQA): DisTime-InternVL-8B achieves the top performance across most metrics, including Acc@QA (80.3%) and [email protected] (55.1%).
- General Video Understanding: While primarily focused on temporal tasks, DisTime also shows competitive performance on general video understanding benchmarks, demonstrating its broad applicability.
Limitations and Future Work
- Dataset Scale: While InternVid-TG is substantial, the authors note that the underlying InternVid-FLT dataset contains 4 million videos, suggesting potential for further expansion.
- ANet-Caption Performance: For Dense Video Captioning on ANet-Caption, DisTime-InternVL models slightly underperform VTimeLLM. The authors attribute this to VTimeLLM using a larger number of input frames (100 vs. 16/32), suggesting that richer visual context might be beneficial for certain tasks.
- Future Work: The paper implicitly suggests future work could involve exploring even larger datasets, investigating the impact of different temporal granularity levels, and further optimizing the distribution-based time modeling for even more challenging temporal reasoning tasks.
Summary updated