NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Test-Time Adaptation via Self-Reinforced Optimal Transport for Zero-Shot OOD Detection with Vision–Language Models

MingCai Chen, Heng-yang Lu, Yuntao Du, Baoming Zhang, Hao Zhou

NeurIPS page · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Test-Time Adaptation for OOD Detection · Type: new method · Keywords: zero-shot OOD detection, vision-language models, optimal transport, posterior alignment, self-reinforcing loop

Areas: Multimodal › Multimodal Alignment › Vision-Language Adaptation; Continual Learning & Adaptation › Domain Shift Adaptation › Semi-Supervised Learning

Summary

The paper identifies a confidence bottleneck in zero-shot vision-language models and introduces a label-free test-time framework that rectifies posteriors via optimal transport and trains a lightweight OOD detector in a self-reinforcing loop, achieving state-of-the-art zero-shot OOD detection.

Explained to a 5-year-old

A computer program can look at pictures and match them with words to guess what they are. When it sees a picture it knows, it gives a confidence score that tells how sure it is. This confidence score is often not reliable for detecting pictures that are out of the normal distribution. The researchers found out why this happens by using some math tricks. They created a new way to make the guesses better and teach a small helper to spot weird things. This helps the program be more trustworthy when it sees new or strange pictures.

Explained to a 5-year-old, longer

A computer program can look at pictures and match them with words to guess what they are. When it sees a picture it knows, it gives a confidence score that tells how sure it is. This confidence score is often not reliable for detecting pictures that are out of the normal distribution. The researchers studied why this confidence score is weak by relating it to a more reliable supervised classifier using a mathematical transformation. They discovered that the raw confidence cannot fully separate normal from abnormal inputs. To fix this, they designed a label-free test-time framework that reshapes the model's guesses. They use a technique that moves probability mass between classes to make the guesses more aligned. From these adjusted guesses, they generate pseudo-labels to train a lightweight detector that learns to spot unusual inputs. This detector sends feedback to improve the alignment of the guesses. The process repeats, creating a loop that continuously refines both the alignment and the detection. Extensive experiments on standard benchmarks show that this new approach outperforms existing methods, thanks to better alignment, adaptive detector training, and the continuous loop.

For a technical reader

The work shows that raw confidence from zero-shot vision-language models is insufficient for OOD detection. It provides a theoretical link between this confidence and supervised classifiers via a Markov-kernel transformation. The proposed label-free framework uses optimal transport to align posteriors, creates pseudo-labels for a lightweight detector, and iteratively refines both alignment and detection. Experiments confirm state-of-the-art performance and the value of each component.

Problem

Zero-shot classifiers based on pre-trained vision-language models produce confidence scores that are not well calibrated for detecting out-of-distribution inputs, leading to weak separation between in-distribution and OOD data.

Method

The approach reshapes model posteriors using optimal transport to align class-wise distributions, generates pseudo-labels from the aligned posteriors to train a lightweight OOD detector, and feeds the detector’s open-set evidence back to improve posterior alignment in a loop.

Results

The approach achieves state-of-the-art performance on standard zero-shot OOD detection benchmarks, with ablations confirming the contributions of posterior alignment, adaptive detector training, and the self-reinforcing loop.

Contributions

The paper provides a theoretical analysis linking raw VLM confidence to supervised classifiers, identifies a confidence bottleneck, and proposes a label-free test-time framework that rectifies posteriors and learns an OOD detector through a self-reinforcing loop.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction