Skip to main content
QUICK REVIEW

[Paper Review] HowToCaption: Prompting LLMs to Transform Video Annotations at Scale

Nina Shvetsova, Anna Kukleva|arXiv (Cornell University)|Oct 7, 2023
Natural Language Processing TechniquesComputer Science4 citations
TL;DR

This paper proposes HowToCaption, a method that uses large language models (LLMs) to generate high-quality, temporally aligned video captions from noisy automatic speech recognition (ASR) subtitles in instructional videos, enabling scalable, human-like video annotation without human supervision. The approach significantly improves text-video retrieval performance and enables effective text-video-audio retrieval by decoupling language from audio, outperforming prior methods on multiple benchmarks.

ABSTRACT

Instructional videos are a common source for learning text-video or even multimodal representations by leveraging subtitles extracted with automatic speech recognition systems (ASR) from the audio signal in the videos. However, in contrast to human-annotated captions, both speech and subtitles naturally differ from the visual content of the videos and thus provide only noisy supervision. As a result, large-scale annotation-free web video training data remains sub-optimal for training text-video models. In this work, we propose to leverage the capabilities of large language models (LLMs) to obtain high-quality video descriptions aligned with videos at scale. Specifically, we prompt an LLM to create plausible video captions based on ASR subtitles of instructional videos. To this end, we introduce a prompting method that is able to take into account a longer text of subtitles, allowing us to capture the contextual information beyond one single sentence. We further prompt the LLM to generate timestamps for each produced caption based on the timestamps of the subtitles and finally align the generated captions to the video temporally. In this way, we obtain human-style video captions at scale without human supervision. We apply our method to the subtitles of the HowTo100M dataset, creating a new large-scale dataset, HowToCaption. Our evaluation shows that the resulting captions not only significantly improve the performance over many different benchmark datasets for zero-shot text-video retrieval and video captioning, but also lead to a disentangling of textual narration from the audio, boosting the performance in text-video-audio tasks.

Motivation & Objective

  • To address the challenge of weak supervision in web video datasets, where ASR-generated subtitles are noisy and misaligned with visual content.
  • To generate high-quality, human-style video captions at scale without human annotation by leveraging large language models (LLMs).
  • To improve text-video retrieval performance by creating more accurate and descriptive captions that better align with visual content.
  • To decouple textual descriptions from audio signals in instructional videos, enabling effective text-video-audio retrieval without regularization.
  • To create a new large-scale dataset, HowToCaption, for training and evaluating multimodal models.

Proposed method

  • Prompting a large language model (LLM) to generate concise, descriptive video captions based on long-form, noisy ASR transcripts from instructional videos.
  • Designing a prompting strategy that captures contextual information beyond single sentences, improving caption quality and relevance.
  • Extending the LLM prompt to predict temporal timestamps for each generated caption, enabling fine-grained video alignment.
  • Applying a filtering and realignment step within short temporal windows to correct timestamp errors and improve synchronization with video content.
  • Using the resulting captions as a supervisory signal for training text-video models, with the key innovation being the disentanglement of language from audio.
  • Training multimodal models on the HowToCaption dataset to evaluate performance on zero-shot text-video and text-video-audio retrieval tasks.

Experimental results

Research questions

  • RQ1Can LLMs effectively transform noisy, long-form ASR transcripts into high-quality, descriptive video captions that align with visual content?
  • RQ2Can LLM-generated captions improve text-video retrieval performance compared to using raw ASR transcripts?
  • RQ3Does the disentanglement of textual descriptions from audio signals enable better performance in text-video-audio retrieval tasks?
  • RQ4Can the HowToCaption method generate scalable, human-like video annotations without human supervision?
  • RQ5How does the performance of models trained on HowToCaption compare to state-of-the-art methods on standard text-video retrieval benchmarks?

Key findings

  • The HowToCaption method significantly improves text-video retrieval performance across four benchmark datasets: YouCook2, MSR-VTT, MSVD, and LSMDC.
  • On the YouCook2 dataset, the method achieves a R1 score of 44.5, R5 of 73.3, and R10 of 82.1, outperforming prior SOTA methods.
  • In zero-shot text-video+audio retrieval, the HowToCaption-based model achieves a R1 score of 25.5, outperforming the next-best baseline (EAO) by 0.9 points.
  • The method enables effective text-video-audio retrieval without additional regularization, such as audio timestamp shifting or loss weighting, due to the decoupling of language from audio.
  • The HowToCaption dataset provides a strong training signal that generalizes better than raw ASR transcripts, as evidenced by consistent performance gains across multiple downstream tasks.
  • The filtering and realignment step improves temporal alignment, reducing timestamp errors and enhancing synchronization with video content.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.