TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/LiT: Zero-Shot Transfer with Locked-image text Tuning

LiT: Zero-Shot Transfer with Locked-image text Tuning

Xiaohua Zhai, Xiao Wang, Basil Mustafa, Andreas Steiner, Daniel Keysers, Alexander Kolesnikov, Lucas Beyer

2021-11-15CVPR 2022 1Image ClassificationZero-Shot Image ClassificationZero-Shot Transfer Image ClassificationRetrieval
PaperPDFCodeCode(official)Code(official)CodeCode

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.

Results

TaskDatasetMetricValueModel
Image ClassificationObjectNetTop-1 Accuracy82.5LiT
Zero-Shot Transfer Image ClassificationImageNet V2Accuracy (Private)78.7LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet V2Accuracy (Public)66.6LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet-AAccuracy (Private)79.4LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet-AAccuracy (Public)37.8LiT-tuning
Zero-Shot Transfer Image ClassificationImageNetAccuracy (Private)84.5LiT-tuning
Zero-Shot Transfer Image ClassificationImageNetAccuracy (Public)75.7LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet-RAccuracy93.9LiT-tuning
Zero-Shot Transfer Image ClassificationObjectNetAccuracy (Private)81.1LiT-tuning
Zero-Shot Transfer Image ClassificationObjectNetAccuracy (Public)54.5LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet ReaLAccuracy (Private)88LiT-tuning
Zero-Shot Transfer Image ClassificationImageNet ReaLAccuracy (Public)82.2LiT-tuning

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17From Roots to Rewards: Dynamic Tree Reasoning with RL2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17A Survey of Context Engineering for Large Language Models2025-07-17