TemporalVLM: Video LLMs for Temporal Reasoning in Long Videos
About
We introduce TemporalVLM, a video large language model (video LLM) for temporal reasoning and fine-grained understanding in long videos. Our approach includes a visual encoder for mapping a long-term video into features which are time-aware and contain both local and global cues. It first divides an input video into short-term clips, which are jointly encoded with timestamps and fused across overlapping temporal windows into time-sensitive local features. Next, the local features are passed through a bidirectional long short-term memory (BiLSTM) module for global feature aggregation. Moreover, to facilitate the evaluation of TemporalVLM, we present a large-scale long video dataset of industry assembly processes, namely IndustryASM, consisting of videos recorded on factory floors with actions and timestamps annotated by industrial engineers for time and motion studies and temporal action segmentation evaluation. Finally, extensive experiments show that TemporalVLM outperforms previous methods across temporal reasoning and fine-grained understanding tasks, i.e., dense video captioning, temporal video grounding, video highlight detection, and temporal action segmentation. To our best knowledge, our work is the first to incorporate LSTMs into video LLMs.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Highlight Detection | QVHighlights (test) | HIT@131.3 | 167 | |
| Temporal Grounding | Charades-STA | -- | 107 | |
| Dense Video Captioning | YouCook2 | SODA_c3.4 | 40 | |
| Video highlight detection | QVHighlights | mAP0.251 | 32 | |
| Video-based Dialogue Evaluation | Video-ChatGPT | CI2.88 | 24 | |
| Temporal Video Grounding | Charades-STA | R@1 (IoU=0.5)54.4 | 6 | |
| Temporal Video Grounding | Charades-STA (test) | R@1 (IoU=0.5)0.301 | 6 | |
| Dense Video Captioning | Youcook2 (test) | SODA_c1.2 | 6 | |
| Temporal action segmentation | IndustryASM | F1@10%22.3 | 3 | |
| Dense Captioning | YouCook2 zero-shot | SODA_c3.4 | 3 |