Papers › Learning Video Representations from Large Language Models

Learning Video Representations from Large Language Models

8 Dec 2022CVPR 2023 1arXiv:2212.04501archive 2025-07-28

Yue Zhao, Ishan Misra, Philipp Krähenbühl, Rohit Girdhar

We introduce LaViLa, a new approach to learning video-language representations by leveraging Large Language Models (LLMs). We repurpose pre-trained LLMs to be conditioned on visual input, and finetune them to create automatic video narrators. Our auto-generated narrations offer a number of advantages, including dense coverage of long videos, better temporal synchronization of the visual information and text, and much higher diversity of text. The video-text embedding learned contrastively with these additional auto-generated narrations outperforms the previous state-of-the-art on multiple first-person and third-person video tasks, both in zero-shot and finetuned setups. Most notably, LaViLa obtains an absolute gain of 10.1% on EGTEA classification and 5.9% Epic-Kitchens-100 multi-instance retrieval benchmarks. Furthermore, LaViLa trained with only half the narrations from the Ego4D dataset outperforms baseline models trained on the full set, and shows positive scaling behavior on increasing pre-training data and model size.

PaperPDFConference PDFCodeCode 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="2212.04501")

Code

Syntology Ran 6 of 20 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 2 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

facebookresearch/lavila officialmentioned in papermentioned on GitHubpytorchMIT report
Ziyang412/VideoTree mentioned on GitHubpytorchMIT report
ceezh/llovi mentioned on GitHubpytorchMIT 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

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

2ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
14unverified

Licence: 20 of the 20 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 facebookresearch/lavila. “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.

attn facebookresearch/lavila/lavila/models/timesformer.py official repository ran · fixture could not drive it fingerprinted MIT recorded; this copy not marked cleared · pointer only · 544c604bc4f58d28 · report
basic_clean facebookresearch/lavila/lavila/models/tokenizer.py official repository ran · our draft was wrong fingerprinted MIT recorded; this copy not marked cleared · pointer only · 98f385d847636a3e · report
default facebookresearch/lavila/lavila/models/coca.py official repository ran · violated contract fingerprinted MIT recorded; this copy not marked cleared · pointer only · 60fff7c3c400d7ff · report
exists facebookresearch/lavila/lavila/models/coca.py official repository ran · violated contract MIT recorded; this copy not marked cleared · pointer only · aa5486a3650902d8 · report
get_pairs facebookresearch/lavila/lavila/models/tokenizer.py official repository ran · our draft was wrong MIT recorded; this copy not marked cleared · pointer only · d919ae32e5e4e616 · report
whitespace_clean facebookresearch/lavila/lavila/models/tokenizer.py official repository ran · our draft was wrong fingerprinted MIT recorded; this copy not marked cleared · pointer only · 9542161e9640b858 · report
augment_gpt2_config facebookresearch/lavila/lavila/models/gpt2_gated.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 84ff8738aacf9517 · report
build_model facebookresearch/lavila/lavila/models/openai_model.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 7144c613fbeb2f92 · report
convert_to_distributed_tensor facebookresearch/lavila/lavila/models/distributed_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · bcfb2b11cc600666 · report
convert_to_normal_tensor facebookresearch/lavila/lavila/models/distributed_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 8e370c62b78a927f · report
gather_features facebookresearch/lavila/lavila/models/loss.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 19519e7e08dd0087 · report
gather_from_all facebookresearch/lavila/lavila/models/distributed_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · b57f5d4b094326f8 · report
get_metric_names facebookresearch/lavila/lavila/models/models.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 051362c936e3619d · report
get_model facebookresearch/lavila/lavila/utils/distributed.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 2ec9ac675733a9ac · report
inflate_positional_embeds facebookresearch/lavila/lavila/models/utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · d8e9e992e4668cbb · report
load facebookresearch/lavila/lavila/models/openai_clip.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 97742b8486aa64f2 · report
load_tf_weights_in_gpt2 facebookresearch/lavila/lavila/models/gpt2_gated.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · bc9fb74e483fb901 · report
rgetattr facebookresearch/lavila/lavila/models/utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 44925cf3831bfe79 · report
rsetattr facebookresearch/lavila/lavila/models/utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · f9de4cdd8a624801 · report
sim_matrix facebookresearch/lavila/lavila/models/loss.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · da8e97ddc50728ed · report

Tasks

Action ClassificationAction RecognitionDiversityEgocentric Activity RecognitionMulti-Instance RetrievalSelf-Supervised Action Recognition Linear

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Action Recognition Charades-Ego LaViLa (Finetuned, TimeSformer-L) mAP 36.1 #1 of 6 Archive leaderboard report
Action Recognition Charades-Ego LaViLa (Zero-shot, TimeSformer-L) mAP 28.9 #5 of 6 Archive leaderboard report
Action Recognition EPIC-KITCHENS-100 LaViLa (TimeSformer-L) Action@1 51 #7 of 32 Archive leaderboard report
Action Recognition EPIC-KITCHENS-100 LaViLa (TimeSformer-L) Noun@1 62.9 #7 of 32 Archive leaderboard report
Action Recognition EPIC-KITCHENS-100 LaViLa (TimeSformer-L) Verb@1 72 #7 of 32 Archive leaderboard report
Egocentric Activity Recognition EGTEA LaViLa (Finetuned, TimeSformer-L) Average Accuracy 81.75 #1 of 6 Archive leaderboard report
Egocentric Activity Recognition EGTEA LaViLa (Finetuned, TimeSformer-L) Mean class accuracy 76 #1 of 6 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.

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