{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/lit-zero-shot-transfer-with-locked-image-text","title":"LiT: Zero-Shot Transfer with Locked-image text Tuning","arxiv_id":"2111.07991","date":"2021-11-15","proceeding":"CVPR 2022 1","authors":["Xiaohua Zhai","Xiao Wang","Basil Mustafa","Andreas Steiner","Daniel Keysers","Alexander Kolesnikov","Lucas Beyer"],"abstract":"This paper presents contrastive-tuning, a simple method employing contrastive training to align image and text models while still taking advantage of their pre-training. In our empirical study we find that locked pre-trained image models with unlocked text models work best. We call this instance of contrastive-tuning \"Locked-image Tuning\" (LiT), which just teaches a text model to read out good representations from a pre-trained image model for new tasks. A LiT model gains the capability of zero-shot transfer to new vision tasks, such as image classification or retrieval. The proposed LiT is widely applicable; it works reliably with multiple pre-training methods (supervised and unsupervised) and across diverse architectures (ResNet, Vision Transformers and MLP-Mixer) using three different image-text datasets. With the transformer-based pre-trained ViT-g/14 model, the LiT model achieves 85.2% zero-shot transfer accuracy on the ImageNet test set, and 82.5% on the challenging out-of-distribution ObjectNet test set.","url_abs":"https://arxiv.org/abs/2111.07991v3","url_pdf":"https://arxiv.org/pdf/2111.07991v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"lit-zero-shot-transfer-with-locked-image-text","repo_url":"https://github.com/google-research/big_vision","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"lit-zero-shot-transfer-with-locked-image-text","repo_url":"https://github.com/google-research/vision_transformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"lit-zero-shot-transfer-with-locked-image-text","repo_url":"https://github.com/eify/clip_benchmark","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"lit-zero-shot-transfer-with-locked-image-text","repo_url":"https://github.com/laion-ai/clip_benchmark","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"lit-zero-shot-transfer-with-locked-image-text","repo_url":"https://github.com/mlfoundations/open_clip","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"zero-shot-image-classification","task_name":"Zero-Shot Image Classification"},{"task_slug":"zero-shot-transfer-image-classification","task_name":"Zero-Shot Transfer Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-classification-on-objectnet","task":"Image Classification","dataset":"ObjectNet","model":"LiT","rank_in_archive_order":2,"of":106,"metrics":{"Top-1 Accuracy":"82.5"},"uses_additional_data":true},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-1","task":"Zero-Shot Transfer Image Classification","dataset":"ImageNet","model":"LiT-tuning","rank_in_archive_order":7,"of":23,"metrics":{"Accuracy (Private)":"84.5","Accuracy (Public)":"75.7"},"uses_additional_data":false},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-7","task":"Zero-Shot Transfer Image Classification","dataset":"ImageNet ReaL","model":"LiT-tuning","rank_in_archive_order":1,"of":1,"metrics":{"Accuracy (Private)":"88.0","Accuracy (Public)":"82.2"},"uses_additional_data":false},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-3","task":"Zero-Shot Transfer Image Classification","dataset":"ImageNet V2","model":"LiT-tuning","rank_in_archive_order":6,"of":13,"metrics":{"Accuracy (Private)":"78.7","Accuracy (Public)":" 66.6"},"uses_additional_data":false},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-5","task":"Zero-Shot Transfer Image Classification","dataset":"ImageNet-A","model":"LiT-tuning","rank_in_archive_order":9,"of":13,"metrics":{"Accuracy (Private)":"79.4","Accuracy (Public)":" 37.8"},"uses_additional_data":false},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-4","task":"Zero-Shot Transfer Image Classification","dataset":"ImageNet-R","model":"LiT-tuning","rank_in_archive_order":8,"of":12,"metrics":{"Accuracy":"93.9"},"uses_additional_data":false},{"leaderboard":"/sota/zero-shot-transfer-image-classification-on-6","task":"Zero-Shot Transfer Image Classification","dataset":"ObjectNet","model":"LiT-tuning","rank_in_archive_order":5,"of":9,"metrics":{"Accuracy (Private)":"81.1","Accuracy (Public)":" 54.5"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2111.07991","atlas_url":"https://app.syntology.ai/?focus=2111.07991","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2111.07991"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2111.07991\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2111.07991"},"call":"get_concepts_for_paper(arxiv_id=\"2111.07991\")"}],"by_repo":[{"repo":"google-research/big_vision","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":7,"harvested_for":["2106.10270","2205.10337","2209.06794","2305.16999","2306.07915","2407.07726","2411.19722"],"harvested_for_calls":[{"arxiv_id":"2106.10270","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2106.10270"},"call":"get_harvested_code_for_paper(arxiv_id=\"2106.10270\")"},{"arxiv_id":"2205.10337","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2205.10337"},"call":"get_harvested_code_for_paper(arxiv_id=\"2205.10337\")"},{"arxiv_id":"2209.06794","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2209.06794"},"call":"get_harvested_code_for_paper(arxiv_id=\"2209.06794\")"},{"arxiv_id":"2305.16999","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2305.16999"},"call":"get_harvested_code_for_paper(arxiv_id=\"2305.16999\")"},{"arxiv_id":"2306.07915","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2306.07915"},"call":"get_harvested_code_for_paper(arxiv_id=\"2306.07915\")"},{"arxiv_id":"2407.07726","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2407.07726"},"call":"get_harvested_code_for_paper(arxiv_id=\"2407.07726\")"},{"arxiv_id":"2411.19722","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2411.19722"},"call":"get_harvested_code_for_paper(arxiv_id=\"2411.19722\")"}]},{"repo":"google-research/vision_transformer","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":2,"harvested_for":["2010.11929","2105.01601"],"harvested_for_calls":[{"arxiv_id":"2010.11929","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2010.11929"},"call":"get_harvested_code_for_paper(arxiv_id=\"2010.11929\")"},{"arxiv_id":"2105.01601","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2105.01601"},"call":"get_harvested_code_for_paper(arxiv_id=\"2105.01601\")"}]},{"repo":"eify/clip_benchmark","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2309.01859"],"harvested_for_calls":[{"arxiv_id":"2309.01859","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2309.01859"},"call":"get_harvested_code_for_paper(arxiv_id=\"2309.01859\")"}]},{"repo":"laion-ai/clip_benchmark","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2507.22264"],"harvested_for_calls":[{"arxiv_id":"2507.22264","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2507.22264"},"call":"get_harvested_code_for_paper(arxiv_id=\"2507.22264\")"}]},{"repo":"mlfoundations/open_clip","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":3,"harvested_for":["2303.15343","2304.08480","2402.15120"],"harvested_for_calls":[{"arxiv_id":"2303.15343","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2303.15343"},"call":"get_harvested_code_for_paper(arxiv_id=\"2303.15343\")"},{"arxiv_id":"2304.08480","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2304.08480"},"call":"get_harvested_code_for_paper(arxiv_id=\"2304.08480\")"},{"arxiv_id":"2402.15120","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2402.15120"},"call":"get_harvested_code_for_paper(arxiv_id=\"2402.15120\")"}]}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"b2808261c9d0f5d480d955824d658616daf6af2f3df7f35f15e64d02a10ece51","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}