Skip to content

A transductive framework for boosting zero-shot out-of-distribution detection

Matheus V. Todescato, Galadrielle Humblot-Renaux, Thomas B. Moeslund, Joel L. Carbonera

cs.CV

Abstract

Zero-shot image classification approaches based on vision-language models (VLMs) typically follow the inductive inference paradigm, treating test samples independently. To compensate for the lack of labeled data, a growing body of work instead leverages information from the entire unlabeled test set to improve predictive performance - this is known as transduction. However, existing zero-shot transductive approaches such as GTA-CLIP, ADAPT, and ZLaP were developed under the closed-set assumption that all test samples belong to a known class. This work is the first to consider the more challenging yet more realistic scenario in which zero-shot transductive inference is performed in an open-set setting, with out-of-distribution (OOD) samples contaminating the test set. We investigate the open-set robustness of transductive classifiers, revealing large performance differences. Since no existing approach provides an explicit OOD detection mechanism, we propose TACO (Transductive Anchor-based CLIP for OOD detection), a versatile framework that can be integrated with existing transductive classifiers. TACO consistently boosts OOD detection performance by a large margin, especially when committing to a specific detection threshold. We validate TACO across a wide range of benchmarks, showing the strong potential of transductive OOD detection. Code is available at github.com/mvtodescato/TACO.

Create a lesson