Grounded Video Caption Generation

Evangelos Kazakos, Cordelia Schmid, Josef Sivic

TL;DR

This paper introduces Grounded Video Caption Generation, a task that requires models to not only describe what’s happening in a video but also track every mentioned object with temporally consistent bounding boxes. To solve this, the authors release a massive new training dataset (HowToGround), a manually annotated benchmark (GROC), and a novel architecture (VideoGround) that sets a new state-of-the-art by explicitly modeling object visibility over time.

What Problem Does This Paper Address?

While Large Multimodal Models (LMMs) have become adept at describing images and videos, they often treat the visual scene as a "black box." In image grounding, we can ask a model to find a "red cup," but in video, the challenge is much steeper. A model must generate a coherent narrative and simultaneously prove its "understanding" by tracking the mentioned objects across frames—even as they move, get occluded, or leave the scene entirely.

Existing datasets for this were either too small, focused on a single object, or only provided annotations for a single frame per clip. This lack of data has hindered the development of models that can truly link natural language to spatio-temporal visual evidence.

Methods

The authors tackle the data and modeling gaps with a two-pronged approach:

1. The "Tracking by Language" Pipeline

To create a large-scale training set without expensive manual labor, they developed an automatic annotation pipeline.

  • Stage 1: They run a still-image grounding model (GLaMM) on individual video frames to get "noisy" frame-level captions and boxes.
  • Stage 2: They feed the resulting Subject-Verb-Object (SVO) triplets into a Large Language Model (LLM) to summarize them into a single, consistent video-level caption.
  • Stage 3: They use the LLM to "track by language"—mapping the noisy frame-level phrases to the final video-level phrases. This creates temporally consistent labels for the bounding boxes across the entire clip.
Figure 2: A method for automatic annotation of spatio-temporally grounded captions. In the first stage (left), we apply a still-image grounded caption generation model on individual video frames producing temporally inconsistent outputs. In the second stage (middle), the captions from individual frames are aggregated using an LLM into a single video-level caption describing the most salient actions/objects in the video. Third (right), individual frame-level phrases and bounding boxes are associated over time into a temporally consistent labelling of object bounding boxes over the video.

2. The VideoGround Model

The proposed model, VideoGround, builds on top of frozen image-based backbones but adds three critical components:

  • Spatio-temporal Adapters: These are lightweight layers interleaved into the encoders to help the model learn motion and temporal relationships without forgetting its rich image-based knowledge.
  • Bounding Box Decoder: Repurposed from a mask decoder, this component predicts coordinates for every noun phrase generated in the caption.
  • Temporal Objectness Head: This is a specialized module that predicts whether an object is actually visible in a given frame. This is crucial for video, where objects frequently disappear behind other items or move off-camera.
Figure 3: An overview of our VideoGround grounded caption generation model. The key technical innovations enabling grounded caption generation in video are outlined by dashed red rectangles and include: (i) spatio-temporal adapters; (ii) the bounding box decoder and (iii) the temporal objectness head.

Datasets

The paper introduces two major benchmarks:

  • HowToGround: A large-scale training dataset of 48.5k videos derived from HowTo100M, automatically annotated using their pipeline.
  • GROC (GROunded Video Caption Generation): A high-quality, manually annotated test set of 1,000 videos. Unlike previous datasets, GROC features multiple objects per frame and tracks them across an average of 43 frames per segment.

Key Insights and Ideas

  • Language as a Tracker: One of the most clever insights is using an LLM to resolve temporal inconsistencies in labeling. By treating tracking as a text-classification problem (matching frame-level descriptions to a global caption), they bypass the need for complex visual tracking algorithms during dataset creation.
  • The Importance of "Nothing": In video grounding, knowing when not to draw a box is as important as knowing where to draw one. The Temporal Objectness Head significantly boosted performance (AP50) by allowing the model to "silence" predictions for occluded objects.
  • Adapters over Fine-tuning: The authors found that keeping the core LMM frozen and only training "adapters" was more stable and effective for injecting temporal awareness into a model originally trained on still images.

Key Results

The VideoGround model significantly outperformed existing baselines on the GROC dataset:

  • Accuracy: It achieved a 33.7 AP50 at the video level, a massive jump over the still-image GLaMM baseline (26.6 AP50).
  • Caption Quality: It improved CIDEr scores (a measure of caption similarity to human references) from 29.9 to 46.8, proving that grounding actually helps the model write better descriptions.
  • Qualitative Success: The model successfully tracks multiple interacting objects, such as a person using a wrench on a bicycle, maintaining smooth bounding boxes even through complex motions.
Qualitative examples of VideoGround tracking multiple objects like horses, wrenches, and bicycles.

Limitations and Future Work

The authors acknowledge that their model may inherit biases from the underlying still-image model (GLaMM) used to generate the initial pseudo-labels. Furthermore, while the auto-annotation pipeline is powerful, combining it with more diverse manual training data could help the model generalize even better to "Internet-scale" video variety. Future work may also explore more sophisticated ways to combine different grounding models to reduce initial labeling noise.

Summary updated

BibTeX
@misc{kazakos2024grounded,
  author = {Evangelos Kazakos and Cordelia Schmid and Josef Sivic},
  title = {{Grounded Video Caption Generation}},
  year = {2024},
  eprint = {2411.07584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.07584},
}
Figure