Papers › Fine-tuned CLIP Models are Efficient Video Learners

Fine-tuned CLIP Models are Efficient Video Learners

6 Dec 2022CVPR 2023 1arXiv:2212.03640archive 2025-07-28

Hanoona Rasheed, Muhammad Uzair Khattak, Muhammad Maaz, Salman Khan, Fahad Shahbaz Khan

Large-scale multi-modal training with image-text pairs imparts strong generalization to CLIP model. Since training on a similar scale for videos is infeasible, recent approaches focus on the effective transfer of image-based CLIP to the video domain. In this pursuit, new parametric modules are added to learn temporal information and inter-frame relationships which require meticulous design efforts. Furthermore, when the resulting models are learned on videos, they tend to overfit on the given task distribution and lack in generalization aspect. This begs the following question: How to effectively transfer image-level CLIP representations to videos? In this work, we show that a simple Video Fine-tuned CLIP (ViFi-CLIP) baseline is generally sufficient to bridge the domain gap from images to videos. Our qualitative analysis illustrates that the frame-level processing from CLIP image-encoder followed by feature pooling and similarity matching with corresponding text embeddings helps in implicitly modeling the temporal cues within ViFi-CLIP. Such fine-tuning helps the model to focus on scene dynamics, moving objects and inter-object relationships. For low-data regimes where full fine-tuning is not viable, we propose a `bridge and prompt' approach that first uses fine-tuning to bridge the domain gap and then learns prompts on language and vision side to adapt CLIP representations. We extensively evaluate this simple yet strong baseline on zero-shot, base-to-novel generalization, few-shot and fully supervised settings across five video benchmarks. Our code is available at https://github.com/muzairkhattak/ViFi-CLIP.

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.03640")

Code

Syntology Ran 7 of 17 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 3 ran with no contract checked.

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

muzairkhattak/vifi-clip officialmentioned in papermentioned 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

17 samples harvested; 7 ran; 0 honoured the contract we drafted; 10 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.

4ran · our draft was wrong
3ran
10unverified

Licence: 0 of the 17 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 muzairkhattak/vifi-clip. “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.

basic_clean muzairkhattak/vifi-clip/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 98f385d847636a3e · report
get_pairs muzairkhattak/vifi-clip/clip/simple_tokenizer.py official repository ran · our draft was wrong MIT (permissive) · d919ae32e5e4e616 · report
one_hot muzairkhattak/vifi-clip/datasets/blending.py official repository ran · our draft was wrong MIT (permissive) · 4728dc2025227bba · report
shear_x muzairkhattak/vifi-clip/datasets/rand_augment.py official repository ran MIT (permissive) · e866e1196986f728 · report
shear_y muzairkhattak/vifi-clip/datasets/rand_augment.py official repository ran MIT (permissive) · 7b2503c99c9447fb · report
translate_x_rel muzairkhattak/vifi-clip/datasets/rand_augment.py official repository ran MIT (permissive) · 323759f906fbb394 · report
whitespace_clean muzairkhattak/vifi-clip/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 9542161e9640b858 · report
auto_resume_helper muzairkhattak/vifi-clip/utils/tools.py official repository unverified MIT (permissive) · 0c32459bef92ff8c · report
build_model muzairkhattak/vifi-clip/clip/model.py official repository unverified MIT (permissive) · 585280ed7d96fed0 · report
build_optimizer muzairkhattak/vifi-clip/utils/optimizer.py official repository unverified MIT (permissive) · c5c15e35688f86b3 · report
check_keywords_in_name muzairkhattak/vifi-clip/utils/optimizer.py official repository unverified MIT (permissive) · b0a5beb34716d5a6 · report
create_logger muzairkhattak/vifi-clip/utils/logger.py official repository unverified MIT (permissive) · 80450600f7f09b0a · report
get_config muzairkhattak/vifi-clip/utils/config.py official repository unverified MIT (permissive) · f9d64435c7cf1ada · report
load muzairkhattak/vifi-clip/clip/clip.py official repository unverified MIT (permissive) · 0d93231b83e79763 · report
load_checkpoint muzairkhattak/vifi-clip/utils/tools.py official repository unverified MIT (permissive) · 9743cf8efee35995 · report
reduce_tensor muzairkhattak/vifi-clip/utils/tools.py official repository unverified MIT (permissive) · 2e6dd851990fe932 · report
set_weight_decay muzairkhattak/vifi-clip/utils/optimizer.py official repository unverified MIT (permissive) · 883e1ab4ad47ea2d · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIP

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