Papers › HowToCaption: Prompting LLMs to Transform Video Annotations at Scale

HowToCaption: Prompting LLMs to Transform Video Annotations at Scale

7 Oct 2023arXiv:2310.04900archive 2025-07-28

Nina Shvetsova, Anna Kukleva, Xudong Hong, Christian Rupprecht, Bernt Schiele, Hilde Kuehne

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.04900")

Code

Syntology Ran 4 of 5 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 4 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ninatu/howtocaption officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 4 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran
1unverified

Licence: 5 of the 5 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ninatu/howtocaption. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

fix_module_in_state_dict ninatu/howtocaption/howtocaption/base/base_trainer.py official repository ran licence not identified · pointer only · 771c37e07f84ca76 · report
read_json ninatu/howtocaption/howtocaption/parse_config.py official repository ran licence not identified · pointer only · 5aca268f4b79732e · report
read_yaml ninatu/howtocaption/howtocaption/llm_prompting/prompt_vicuna.py official repository ran licence not identified · pointer only · 78e7245cb7f192f5 · report
resized_crop ninatu/howtocaption/howtocaption/data_loader/utils.py official repository ran licence not identified · pointer only · 2663cef69f96fe01 · report
run ninatu/howtocaption/howtocaption/align_and_filter.py official repository unverified licence not identified · pointer only · 3e804b184ecc925a · report

Tasks

Automatic Speech RecognitionVideo CaptioningVideo RetrievalZero-Shot Video RetrievalZero-Shot Video-Audio Retrieval

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Video Captioning MSR-VTT HowToCaption BLEU-4 49.8 #10 of 24 Archive leaderboard report
Video Captioning MSR-VTT HowToCaption CIDEr 65.3 #10 of 24 Archive leaderboard report
Video Captioning MSR-VTT HowToCaption METEOR 32.2 #10 of 24 Archive leaderboard report
Video Captioning MSR-VTT HowToCaption ROUGE-L 66.3 #10 of 24 Archive leaderboard report
Video Captioning MSVD HowToCaption BLEU-4 70.4 #6 of 16 Archive leaderboard report
Video Captioning MSVD HowToCaption CIDEr 154.2 #6 of 16 Archive leaderboard report
Video Captioning MSVD HowToCaption METEOR 46.4 #6 of 16 Archive leaderboard report
Video Captioning MSVD HowToCaption ROUGE-L 83.2 #6 of 16 Archive leaderboard report
Video Captioning YouCook2 HowToCaption BLEU-4 8.8 #10 of 14 Archive leaderboard report
Video Captioning YouCook2 HowToCaption CIDEr 116.4 #10 of 14 Archive leaderboard report
Video Captioning YouCook2 HowToCaption METEOR 15.9 #10 of 14 Archive leaderboard report
Video Captioning YouCook2 HowToCaption ROUGE-L 37.3 #10 of 14 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC VAST, HowToCaption-finetuned text-to-video Median Rank 7 #3 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC VAST, HowToCaption-finetuned text-to-video R@1 27.7 #3 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC VAST, HowToCaption-finetuned text-to-video R@10 54.6 #3 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC VAST, HowToCaption-finetuned text-to-video R@5 46.5 #3 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC HowToCaption text-to-video Median Rank 29 #9 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC HowToCaption text-to-video R@1 17.3 #9 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC HowToCaption text-to-video R@10 38.6 #9 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC HowToCaption text-to-video R@5 31.7 #9 of 16 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT VAST, HowToCaption-finetuned text-to-video Median Rank 1 #4 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT VAST, HowToCaption-finetuned text-to-video R@1 50 #4 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT VAST, HowToCaption-finetuned text-to-video R@10 81.4 #4 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT VAST, HowToCaption-finetuned text-to-video R@5 73.2 #4 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT HowToCaption text-to-video Median Rank 3 #16 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT HowToCaption text-to-video R@1 37.6 #16 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT HowToCaption text-to-video R@10 73.3 #16 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT HowToCaption text-to-video R@5 62 #16 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSVD VAST, HowToCaption-finetuned text-to-video Median Rank 1 #3 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD VAST, HowToCaption-finetuned text-to-video R@1 54.8 #3 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD VAST, HowToCaption-finetuned text-to-video R@10 87.2 #3 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD VAST, HowToCaption-finetuned text-to-video R@5 80.9 #3 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD HowToCaption text-to-video Median Rank 2 #8 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD HowToCaption text-to-video R@1 44.5 #8 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD HowToCaption text-to-video R@10 82.1 #8 of 14 Archive leaderboard report
Zero-Shot Video Retrieval MSVD HowToCaption text-to-video R@5 73.3 #8 of 14 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 VAST, HowToCaption-finetuned text-to-video Median Rank 8 #6 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 VAST, HowToCaption-finetuned text-to-video R@1 19.7 #6 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 VAST, HowToCaption-finetuned text-to-video R@10 53.9 #6 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 VAST, HowToCaption-finetuned text-to-video R@5 43.6 #6 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 HowToCaption text-to-video Median Rank 15 #8 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 HowToCaption text-to-video R@1 13.4 #8 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 HowToCaption text-to-video R@10 44.1 #8 of 9 Archive leaderboard report
Zero-Shot Video Retrieval YouCook2 HowToCaption text-to-video R@5 33.1 #8 of 9 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections