TL;DR
The paper introduces SGVC (Scene Graph Consolidation), a novel zero-shot framework for captioning long videos without the need for expensive fine-tuning or heavy LLM overhead. By converting segment-level video captions into structured scene graphs and iteratively merging them, the method preserves both holistic context and fine-grained details. A lightweight graph-to-text decoder then generates the final caption, significantly outperforming larger LLM-based approaches in both accuracy and computational efficiency.
What Problem Does This Paper Address?
While modern vision-language models (VLMs) excel at describing images or short video clips, long videos remain a significant hurdle. Their limited temporal receptive fields make it difficult to process an entire video at once.
Existing solutions generally fall into two camps:
- Supervised fine-tuning: Training models on specific long-video datasets. This requires massive amounts of labeled data and generalizes poorly to new domains.
- LLM-based summarization: Using an off-the-shelf VLM to generate captions for short segments, and then prompting a Large Language Model (LLM) to summarize those captions. While flexible, this approach incurs massive computational overhead, high latency, and is prone to text-based hallucinations or dropping fine-grained details.
The authors tackle this gap by asking: How can we effectively consolidate temporal information across a long video without expensive training or heavy LLM inference?
Methods
The proposed framework, SGVC, breaks the long video captioning task into four main stages:
- Segment-Level Captioning: The video is divided into temporal segments (individual frames or short clips), and an off-the-shelf VLM (like BLIP, BLIP2, or InternVL2.5) generates a descriptive sentence for each.
- Scene Graph Parsing: Each segment's caption is converted into a structured scene graph (mapping objects, their attributes, and their relationships) using an off-the-shelf textual scene graph parser (FACTUAL-MR).
- Scene Graph Consolidation: This is the core novelty. Instead of aggregating raw text, the framework iteratively merges pairs of scene graphs. It uses the Hungarian algorithm to find optimal object matches based on the cosine similarity of their graph embeddings. Valid matches above a threshold $\tau$ are consolidated into single nodes, tracking a "merge count" to denote an object's importance over time.
- Graph-to-Text Decoding: To generate the final video-level caption, a lightweight transformer-based model (BERT encoder + T5 decoder, totaling 235M parameters) translates the consolidated graph back into natural language.
To handle cases where concise captions are preferred, the authors introduce Prioritized Subgraph Extraction, which filters the graph to retain only the top-$k$ nodes with the highest merge counts (i.e., the most consistently present entities).
Datasets
- Training Data: The graph-to-text decoder was trained purely on text corpora (no video-text pairs required). The authors curated ~2.5 million captions from MS-COCO, Flickr30k, TextCaps, Visual Genome, and Visual Genome Paragraph Captions, alongside model-generated captions for Kinetics-400 using LLaVA-NeXT-7B.
- Evaluation Benchmarks: The framework was evaluated in a zero-shot setting on MSR-VTT and MSVD for standard video captioning, and ActivityNet Captions (ae-val set) for long video paragraph captioning.
Key Insights and Ideas
- Structure Beats Raw Text: Merging structured graphs explicitly preserves object identities and relationships across time. LLMs prompted with a sequence of sentences often lose track of recurring entities or hallucinate entirely new ones.
- Frequency Equals Salience: Tracking how often a node is merged across frames provides an elegant, unsupervised metric for visual importance. Objects that appear consistently across multiple segments naturally become the focal point of the final caption.
- Small and Specialized Over Large and General: A specialized 235M parameter graph-to-text model can outperform 7B+ parameter LLMs at summarizing video content because the heavy lifting of semantic alignment is handled algorithmically during graph consolidation.
Key Results
SGVC achieves state-of-the-art zero-shot performance while drastically reducing computational costs:
- Video Captioning (MSR-VTT & MSVD): On MSR-VTT, SGVC (using a BLIP2 backbone) achieved a CIDEr score of 26.1, substantially outperforming Video ChatCaptioner (16.5) and a Mistral-7B text-summarization baseline (15.4).
- Long Video Paragraph Captioning (ActivityNet): When tasked with generating detailed paragraphs for long videos, SGVC paired with InternVL2.5 achieved a CIDEr score of 24.1, easily beating a GPT-4o mini summarization baseline (15.3).
- Efficiency Gains: As shown in Table 5, SGVC (BLIP) requires only 5.07 GB of GPU memory and 1.14 seconds per video, compared to Mistral-7B (BLIP2) which demands 28.20 GB of GPU memory and 1.51 seconds.
Limitations and Future Work
- Error Propagation: Because the framework relies on an initial VLM to generate segment captions, any downstream graph consolidation is vulnerable to early mistakes. If the VLM misidentifies an object or hallucinates an attribute, that error is carried into the final scene graph and subsequent caption.
- CPU Bottleneck: The scene graph merging algorithm currently runs on the CPU. While the overall pipeline is still faster than LLM alternatives, migrating the graph consolidation step to the GPU could yield further latency improvements.
Summary updated