Label Shift Aware Adaptation for Online Zero-shot Learning with Contrastive Language-Image Pre-Training (CLIP)

· Source: Computer Vision and Pattern Recognition · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Computer Vision · Depth: Expert, quick

Summary

Label Shift Aware (LSA) is a novel approach designed for online zero-shot learning with Contrastive Language-Image Pre-Training (CLIP) models. This method addresses the performance degradation that occurs when the label distribution of test data differs from CLIP's initial training domain, a common issue in scenarios where CLIP's feature extraction and model parameters remain fixed during sequential inference. LSA frames the online zero-shot classification task as a domain adaptation problem. It specifically adapts predictions generated by CLIP, which was trained on an unknown source distribution, to a target distribution using only unlabeled test data. By applying label shift correction, LSA effectively mitigates the mismatch between source and target domains. Extensive experiments across multiple datasets demonstrate that LSA consistently outperforms existing state-of-the-art online zero-shot learning methods based on CLIP.

Key takeaway

For Computer Vision Engineers deploying CLIP in online zero-shot learning scenarios, recognizing and addressing label distribution shifts is crucial. Your sequential inference performance can degrade significantly when test data differs from CLIP's training domain. Implementing label shift correction, as demonstrated by LSA, offers a robust strategy to adapt CLIP predictions using only unlabeled test data, thereby maintaining accuracy and improving reliability in challenging, data-scarce environments.

Key insights

Label Shift Aware (LSA) enhances online zero-shot CLIP performance by explicitly correcting for label distribution shifts between source and target domains.

Principles

Method

LSA adapts CLIP predictions from an unknown source distribution to a target using unlabeled test data. It applies label shift correction to mitigate the mismatch between source and target domains.

Topics

Best for: Research Scientist, AI Scientist, Computer Vision Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.