TL;DR
This paper explores training Large Language Models (LLMs) for video temporal grounding using text-only data, completely removing the need for expensive paired video-text annotations during training. By introducing Nearest Entity Replacement (NER)—a technique that maps video frames to their closest textual concepts at inference time—the authors bridge the "modality gap" and achieve state-of-the-art zero-shot transfer from text to video.
What Problem Does This Paper Address?
Video-LLMs are traditionally trained on massive datasets of paired video and text. For tasks like temporal localization (finding the start and end times of a specific event, like "a person drinks water"), this requires frame-level annotations that are incredibly costly and time-consuming to produce.
The authors ask a provocative question: Can a model learn to understand time and events from text alone and then "zero-shot" transfer that knowledge to actual video?
The challenge is twofold:
- The Modality Gap: Even though models like CLIP align images and text in a shared space, the actual distributions of visual and textual embeddings are different. A model trained on text embeddings often "breaks" when suddenly fed visual embeddings at test time.
- Information Density: Standard text encoders (like CLIP's) struggle to compress detailed, frame-by-frame descriptions into a single vector without losing the fine-grained details necessary for precise localization.
Methods
The researchers developed a pipeline to train a temporal grounding model "in the dark":
- Synthetic Corpus Generation: They used a powerful LLM (Qwen3-27B) to expand short video captions into Temporal-TextVid, a dataset of 134K examples. Each example contains a sequence of up to 100 detailed "frame-level" textual descriptions and associated grounding questions.
- Text-Only Training: They adapted a Qwen3-8B model using LoRA (Low-Rank Adaptation). During training, the model only sees text embeddings from a frozen encoder (CLIP or LLM2CLIP).
- Nearest Entity Replacement (NER): To solve the modality gap at inference time, they proposed NER. Instead of feeding the raw visual embedding of a video frame into the LLM, they use that visual embedding to retrieve the $k$ nearest textual "entities" (nouns, verbs, phrases) from a pre-computed memory bank. They then feed the mean of these text embeddings to the model.
Datasets
- Temporal-TextVid (New): A synthetic dataset of 134K textual sequences with frame-level descriptions and 3.9M generated questions across five categories (localization, ordering, etc.).
- Charades-STA & QV-Highlights: Standard real-world video benchmarks used exclusively for evaluation to test how well the text-trained model transfers to real video.
Key Insights and Ideas
- LLM2CLIP is a Game Changer: The authors found that LLM2CLIP, which uses an LLM-based text encoder, handles long, detailed descriptions much better than the standard CLIP encoder. This is crucial for temporal tasks where fine details matter.
- The "Concept Bleed" Problem: Previous methods tried to map video frames back to whole captions. However, a caption like "a woman sits on a chair and works" contains many concepts. If a frame only shows a "chair," mapping it to the whole caption introduces "bleed" from unrelated concepts (the woman, working).
- Soft Quantization via NER: NER avoids concept bleed by retrieving fine-grained entities (just "chair" or "sitting") rather than full sentences. This "soft semantic quantization" ensures the LLM receives the exact type of input distribution it saw during its text-only training.
Key Results
The results demonstrate that while the modality gap is significant, NER effectively bridges it:
- Raw Transfer Fails: Simply replacing text embeddings with visual embeddings at inference results in poor performance (e.g., 4.99 mtIoU on Charades-STA).
- NER Superiority: NER boosts performance significantly, reaching 14.45 mtIoU on Charades-STA and 20.72 mtIoU on QV-Highlights.
- Outperforming Baselines: NER outperformed the strongest training-side baselines (like Gaussian noise injection or C3 modality centering) by substantial margins (up to 5 points mtIoU).
- Stable over $k$: The method is robust; performance remains stable across a wide range of neighbor counts ($k$) for entity retrieval.
Limitations and Future Work
- The Supervised Gap: While impressive for a zero-shot approach, there is still a large performance gap compared to models trained on paired video-text data (which can reach ~36 mtIoU).
- Boundary Precision: NER is better at finding the "general neighborhood" of an event than pinpointing exact start/end frames.
- Encoder Dependency: The system's success is heavily dependent on the quality of the underlying frozen contrastive encoders (CLIP/LLM2CLIP).
- Future Directions: The authors suggest that learning the mapping from frames to text entities (rather than using a training-free retrieval) or using better-aligned encoders could further close the gap.
Summary updated