TL;DR
VidChain tackles fine-grained Dense Video Captioning (DVC) by decomposing the monolithic event-and-timestamp prediction task into a multi-turn Chain-of-Tasks (CoTasks) and aligning the model with continuous evaluation metrics using Metric-based Direct Preference Optimization (M-DPO). By replacing standard single-step generation and token-level cross-entropy with task decomposition and metric-guided preference learning, VidChain yields massive performance gains across DVC and temporal video grounding benchmarks—even enabling 7B models to outperform 13B baselines.
What Problem Does This Paper Address?
Dense Video Captioning (DVC) requires a model to locate all events in an untrimmed video in time (event boundaries) and describe each event accurately. While Video Large Language Models (VideoLLMs) excel at coarse, video-level question answering, they stumble on fine-grained temporal tasks like DVC.
The authors identify two fundamental reasons for this failure:
- Single-step overload: Typical VideoLLMs attempt to generate event counts, time boundaries, and textual descriptions all at once in a single generation step, completely bypassing the multi-step reasoning capabilities typical of LLMs.
- Objective-metric mismatch: Standard next-token prediction loss poorly reflects the downstream evaluation metrics used in DVC (e.g., SODA, METEOR, CIDEr, and IoU).
Methods
VidChain introduces a two-part framework:
[Untrimmed Video]
│
▼
[Chain-of-Tasks (CoTasks)] ── Multi-turn sub-task breakdown:
│ • Sub-task 1: Predict event count n
│ • Sub-task 2 & 3: Order path (Pt→c or Pc→t)
│ - Timestamp localization t
│ - Caption generation c
▼
[Metric-based DPO (M-DPO)] ── Preference tuning on intermediate & final turns:
• Automatic pairs scored via metrics (IoU, METEOR, SODA)
• Preference gap filter (m_w - m_l > γ)
- Chain-of-Tasks (CoTasks): Instead of directly modeling $p(c, t, n \mid v)$ in a single shot, the task is factored into sequential, multi-turn QA steps along two complementary reasoning paths:
- $P_{t \to c}$: Predict count $n \to$ predict timestamps $t \to$ generate captions $c$.
- $P_{c \to t}$: Predict count $n \to$ generate captions $c \to$ predict timestamps $t$.
- Metric-based Direct Preference Optimization (M-DPO): Standard DPO aligns models with human binary preferences ($y^w \succ y^l$). VidChain adapts this for fine-grained video metrics without requiring human labelers or expensive proprietary models (e.g., GPT-4V):
- Automated Metric Supervision: Multiple candidate responses are sampled per sub-task from a reference VideoLLM ($\pi_{\text{ref}}$) and scored directly against ground-truth annotations using target metrics (such as IoU for timestamps, METEOR for captions, and $\text{SODA}_c$ for dense captions).
- Step-Wise Alignment: Metric preferences are applied to both the intermediate sub-task responses and the final turn.
- Preference Gap-Aware Loss: Because benchmark metrics are continuous rather than binary, subtle metric differences can introduce optimization noise. The authors introduce a margin threshold $\gamma$, calculating preference loss only when the metric gap between responses exceeds $\gamma$ ($m_k^w - m_k^l > \gamma$).
Both stages are trained efficiently with LoRA on top of open-source VideoLLM backbones.
Datasets
The authors train and evaluate VidChain on standard benchmarks:
- ActivityNet Captions: ~20,000 untrimmed videos evaluated on DVC and Temporal Video Grounding (TVG).
- YouCook2: 2,000 instructional cooking videos across 89 recipes evaluated on DVC.
- Derived Datasets:
- $\mathcal{D}_{\text{CT}}$: Multi-turn CoTasks conversation datasets (50K samples for ActivityNet, 6K for YouCook2).
- $\mathcal{D}_{\text{M-DPO}}$: Metric-ranked paired response datasets generated across intermediate and final reasoning steps.
Key Insights and Ideas
- Automated metrics make ideal preference teachers: DPO does not require costly human feedback or external LLM-as-a-judge APIs when mature programmatic evaluation metrics (METEOR, SODA, IoU) already correlate directly with task goals.
- Continuous metrics require a margin: In standard DPO, any positive preference gap counts as a win. Filtering out response pairs with marginal score differences ($\le \gamma$) produces a 6.6× wider likelihood ratio margin and prevents the model from fitting metric noise.
- Two reasoning paths are better than one: Training on both localization-first ($P_{t \to c}$) and caption-first ($P_{c \to t}$) trajectories improves performance compared to either single path, demonstrating that captioning and grounding provide complementary inductive biases.
Key Results
VidChain was evaluated on VTimeLLM and VideoLLaMA2 (both 7B models):
- Dense Video Captioning (ActivityNet): VideoLLaMA2 + VidChain achieved 8.8 $\text{SODA}_c$ (vs. 7.2 baseline, +22.2%), 8.8 METEOR (vs. 7.7), and 43.9 CIDEr (vs. 32.9).
- Dense Video Captioning (YouCook2): VideoLLaMA2 + VidChain reached 4.8 $\text{SODA}_c$ (+45.5% over 3.3 baseline), 5.6 METEOR (+60%), and 23.8 CIDEr (+93.5%).
- Beating larger models: VTimeLLM (7B) equipped with VidChain outperformed the 13B VTimeLLM baseline across all DVC metrics (e.g., 6.6 vs. 5.9 $\text{SODA}_c$ on ActivityNet).
- Temporal Video Grounding (TVG): On ActivityNet, VTimeLLM + VidChain achieved 45.5 mIoU (up from 30.4 baseline) and 63.3 [email protected] (up from 44.0).
- Qualitative impact: VidChain prevents the repetitive captions and massive over-segmentation common in single-turn VideoLLMs.
Limitations and Future Work
- Fixed dialogue decomposition: CoTasks uses static, pre-defined templates and fixed sequential task orderings ($P_{t \to c}$ or $P_{c \to t}$), rather than letting the LLM dynamically plan its sub-tasks.
- Heuristic thresholding: The gap threshold $\gamma$ in gap-aware M-DPO introduces an empirical hyperparameter that must be tuned for different metric scales.
- Streaming/Online contexts: Evaluation is restricted to static untrimmed offline video clips; real-time or streaming video applications were not explored.
Summary updated