GroundVTS: Visual Token Sampling in Multimodal Large Language Models for Video Temporal Grounding
Organizations: Newcapec AI Research · Fudan University · Tongji University
Abstract
Video temporal grounding (VTG) is a critical task in video understanding and a key capability for extending video large language models (Vid-LLMs) to broader applications. However, existing Vid-LLMs rely on uniform frame sampling to extract video information, resulting in a sparse distribution of key frames and the loss of crucial temporal cues. To address this limitation, we propose Grounded Visual Token Sampling (GroundVTS), a Vid-LLM architecture that focuses on the most informative temporal segments. GroundVTS employs a fine-grained, query-guided mechanism to filter visual tokens before feeding them into the LLM, thereby preserving essential spatio-temporal information and maintaining temporal coherence. Futhermore, we introduce a progressive optimization strategy that enables the LLM to effectively adapt to the non-uniform distribution of visual features, enhancing its ability to model temporal dependencies and achieve precise video localization. We comprehensively evaluate GroundVTS on three standard VTG benchmarks, where it outperforms existing methods, achieving a 7.7-point improvement in mIoU for moment retrieval and 12.0-point improvement in mAP for highlight detection. Code is available at https://github.com/Florence365/GroundVTS.
Figures & tables
| Method | Charades-STA | ActivityNet-Captions | ||||||
| [email protected] | [email protected] | [email protected] | mIoU | [email protected] | [email protected] | [email protected] | mIoU | |
| LLaVA-OV [ 22 ] arXiv’ 24 | ||||||||
| TimeChat [ 43 ] CVPR’ 24 | ||||||||
| VTimeLLM [ 16 ] CVPR’ 24 | ||||||||
| Momentor [ 39 ] ICML’ 24 | ||||||||
| HawkEye [ 52 ] arXiv’ 24 | ||||||||
| Method | MR | HD | ||
| [email protected] | [email protected] | mAP | Hit@1 | |
| SeViLA ∘ [ 59 ] | \color[rgb]{0.5,0.5,0.5}{54.5} | \color[rgb]{0.5,0.5,0.5}{36.5} | \color[rgb]{0.5,0.5,0.5}{--} | \color[rgb]{0.5,0.5,0.5}{--} |
| UniVTG ∘ [ 30 ] | \underline{\color[rgb]{0.5,0.5,0.5}{58.9}} | 40.9 | \color[rgb]{0.5,0.5,0.5}{27.0} | \color[rgb]{0.5,0.5,0.5}{55.3} |
| VTG-LLM [ 12 ] | ||||
| TimeChat [ 43 ] | ||||
| NumPro [ 55 ] | ||||
| Model | mIoU | mIoP | [email protected] | [email protected] | Acc@GQA |
| TOGA ∘ [ 37 ] | \color[rgb]{0.5,0.5,0.5}{\underline{24.4}} | 40.5 | 21.1 | 40.6 | 24.6 |
| VideoStreaming [ 40 ] | |||||
| GroundVTS-Q | 25.8 | ||||
| GroundVTS-I |
| Stage | [email protected] | [email protected] | [email protected] | mIoU |
| base ‡ | ||||
| None § | 8.6_{\color[rgb]{0.75,0,0.25}(\downarrow 25.6)} | 5.0_{\color[rgb]{0.75,0,0.25}(\downarrow 13.8)} | 1.9_{\color[rgb]{0.75,0,0.25}(\downarrow 6.7)} | 5.6_{\color[rgb]{0.75,0,0.25}(\downarrow 16.5)} |
| 1 | 31.2_{\color[rgb]{0.75,0,0.25}(\downarrow 3.0)} | 20.5_{\color[rgb]{0,0.5,0.5}(\uparrow 1.7)} | 10.0_{\color[rgb]{0,0.5,0.5}(\uparrow 1.4)} | 20.9_{\color[rgb]{0.75,0,0.25}(\downarrow 1.2)} |
| 1, 2 | 45.8_{\color[rgb]{0,0.5,0.5}(\uparrow 11.6)} | 28.8_{\color[rgb]{0,0.5,0.5}(\uparrow 10.0)} | 13.2_{\color[rgb]{0,0.5,0.5}(\uparrow 4.6)} | 30.1_{\color[rgb]{0,0.5,0.5}(\uparrow 8.0)} |
| 1, 3 | 49.1_{\color[rgb]{0,0.5,0.5}(\uparrow 14.9)} | 32.5_{\color[rgb]{0,0.5,0.5}(\uparrow 13.7)} | 15.2_{\color[rgb]{0,0.5,0.5}(\uparrow 6.6)} | 32.4_{\color[rgb]{0,0.5,0.5}(\uparrow 10.3)} |
| 2, 3 | \underline{69.4}_{\color[rgb]{0,0.5,0.5}(\uparrow 35.2)} | \underline{53.0}_{\color[rgb]{0,0.5,0.5}(\uparrow 34.2)} | \underline{30.5}_{\color[rgb]{0,0.5,0.5}(\uparrow 21.9)} | \underline{47.4}_{\color[rgb]{0,0.5,0.5}(\uparrow 25.3)} |
| VTS | PE | Sampling Methods | Charades-STA | ActivityNet-Captions | ||||||
| [email protected] | [email protected] | [email protected] | mIoU | [email protected] | [email protected] | [email protected] | mIoU | |||
| ✓ | ✓ | Token-Level | 71.5 | 57.5 | 34.2 | 50.1 | 51.3 | 33.6 | 21.4 | 36.0 |
| ✓ | ✓ | Frame-Level | 61.7 | 44.9 | 23.3 | 41.6 | 43.7 | 27.5 | 15.0 | 30.7 |
| – | ✓ | Uniform | 42.6 | 28.5 | 15.0 | 29.3 | 36.1 | 19.5 | 7.5 | 23.4 |
| – | ✓ | Random | 54.9 | 35.0 | 16.3 | 35.7 | 40.3 | 23.4 | 12.1 | 27.7 |
| ✓ | – | Token-Level | 15.1 | 7.0 | 2.7 | 9.5 | 22.2 | 11.2 | 5.2 | 16.3 |
| Model | AA | AC | AL | AS | EN | ER | FGA | OI | OS | ST | SC | all |
| Qwen2.5-VL-7B | 77 | 39 | 38 | 69.7 | 30 | 50 | 44.5 | 66.5 | 35.5 | 90.5 | 50.5 | 53.7 |
| GroundVTS-Q | 75.5 | 47 | 46 | 70.2 | 28.5 | 46.5 | 41 | 63.5 | 43 | 89.5 | 48.5 | 54.5 |
| Model | [email protected] | [email protected] | mIoU |
| Video-LLaMA [ 64 ] | |||
| Video-ChatGPT [ 36 ] | |||
| Valley | |||
| VideoChat [ 24 ] | |||
| Momenter | |||
| VTimeLLM [ 16 ] |
| Model | (8, 15]s | (15, 60]s | (180, 600]s |
| VideoTree [ 53 ] | 61.0 | 57.5 | 48.4 |
| VideoMiner [ 5 ] | 65.1 | 64.7 | 58.6 |
| GroundVTS-Q | 52.9 | 60.5 | 44.2 |
| GroundVTS-I | 65.6 | 68.0 | 52.4 |
| Model | mIoU | mIoP | [email protected] | [email protected] | Acc@GQA |
| TOGA [ 37 ] | 24.4 | 40.5 | 21.1 | 40.6 | 24.6 |
| VidStreaming [ 40 ] | 19.3 | 32.2 | 13.3 | 31.0 | 17.8 |
| GroundVTS-Q | 25.8 | 37.4 | 20.4 | 35.4 | 23.2 |
| GroundVTS-I | 16.7 | 26.5 | 11.9 | 24.3 | 18.5 |
| VTS | Training | Charades-STA | ActivityNet-Captions | ||||||
| [email protected] | [email protected] | [email protected] | mIoU | [email protected] | [email protected] | [email protected] | mIoU | ||
| ✓ | ✓ | 71.5 | 57.5 | 34.2 | 50.1 | 51.3 | 33.6 | 21.4 | 36.0 |
| – | ✓ | 69.6 | 52.7 | 29.6 | 47.5 | 38.8 | 25.0 | 13.7 | 27.8 |
| – | – | 21.2 | 13.6 | 6.8 | 14.5 | 9.1 | 5.1 | 2.6 | 6.6 |
| Variant | Charades-STA | ActivityNet-Captions | ||||||
| R1 | R1 | R1 | mIoU | R1 | R1 | R1 | mIoU | |
| @.3 | @.5 | @.7 | @.3 | @.5 | @.7 | |||
| Qwen-G | 45.2 | 32.7 | 18.7 | 31.7 | 40.6 | 23.9 | 9.9 | 26.7 |
| Qwen-(L G) | 41.1 | 27.7 | 15.7 | 28.5 | 39.1 | 20.6 | 7.8 | 24.9 |
| Qwen-(L G) | 42.5 | 30.7 | 16.9 | 29.8 | 40.0 | 22.1 | 8.6 | 25.9 |
| GroundVTS-Q | 71.5 | 57.5 | 34.2 | 50.1 | 51.3 | 33.6 | 21.4 | 36.0 |
| Qwen2.5VL-7B | QwenVL-G | GroundVTS-Q | ||||||||||
| [email protected] | [email protected] | [email protected] | mIoU | [email protected] | [email protected] | [email protected] | mIoU | [email protected] | [email protected] | [email protected] | mIoU | |
| 0.2 | 22.7 | 13.3 | 6.8 | 16.1 | 28.0 | 16.5 | 8.3 | 18.7 | 61.2 | 43.6 | 23.3 | 41.0 |
| 0.4 | 23.5 | 13.5 | 6.6 | 16.4 | 33.0 | 20.2 | 10.2 | 21.8 | 67.1 | 50.8 | 29.2 | 46.0 |
| 0.6 | 26.5 | 14.1 | 6.8 | 17.6 | 36.2 | 24.0 | 12.6 | 24.9 | 69.5 | 54.4 | 32.6 | 48.2 |
| 0.8 | 30.3 | 16.4 | 7.2 | 19.7 | 41.4 | 28.3 | 15.7 | 28.4 | 70.9 | 56.8 | 33.6 | 49.6 |
| 1.0 | 34.2 | 18.8 | 8.6 | 22.1 | 45.2 | 32.7 | 18.7 | 31.7 | 71.5 | 57.5 | 34.2 | 50.1 |
| Stage | Trainable Modules | Learning Rate | Optimizer | Batch Size (per GPU) | Grad. Acc. Steps | Epochs | LoRA Config | Dataset |
| Stage 1: VTS Warm-up | VTS | 1e-5 | AdamW, = 0.9, = 0.999 | 2 | 4 | 1 | – | LLaVA-Video-178K |
| Stage 2: Joint LoRA Adaptation | LLM (LoRA) + VTS + Projector | 2e-4 | 2 | 4 | 2 | rank = 8, = 16, dropout = 0.05 | LLaVA-Video-178K | |
| Stage 3: Grounding Fine-tuning | LLM (LoRA) + VTS + Projector | 1e-4 | 2 | 4 | 3 | rank = 8, = 16, dropout = 0.05 | Grounding-FT |
| Model | Total Params | Trainable Params | |||
| VTS | Projector | LoRA | All | ||
| GroundVTS-Q | 8.32B | 29.4M | 44.6M | 79.0M | 153.0M |
| GroundVTS-I | 8.56B | 34.6M | 33.6M | 77.0M | 145.2M |
| Type | Content |
| Prompt Templates | <video>At what point in the video did the following events occur: {query}? Output the start and end timestamps. |
| <video>What is the location of the moment: {query}? | |
| <video>Find when the following event happens in the video: {query}. Give me the start and end times. | |
| <video>Please indicate the start and end timestamps for the event: {query}. | |
| <video>Please predict start and end time of the following moment: {query}. | |
| <video>During which time interval does this happen in the video: {query}? |
| Type | Content |
| Prompt Templates | <video>Please highlight the most exciting parts related to: {query}. |
| <video>Find the most relevant or important moments for: {query}. | |
| <video>Which moments in the video best reflect: {query}? | |
| <video>Highlight the key segments that correspond to: {query}. | |
| <video>Show the most interesting clips about: {query}. | |
| <video>What are the highlight moments for: {query}? |
Temporal Video Grounding
Temporal video grounding locates the moments in a video that match a natural-language query, enabling precise search and evidence-based understanding.
See all 159 papers