TriPrompt: Progressive Local Prompting for Few-shot Out-of-Distribution Detection
Ziyou Xiang, Chaowei Fang, Zhihong Wu, Jiliang Li, Di Xu, De Cheng
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Test-Time Adaptation for OOD Detection · Type: new method · Keywords: few-shot out-of-distribution detection, local prompting, patch-level evidence decomposition, CLIP-based OOD detection, vision-language models
Areas: Computer Vision & 3D › Visual Multimodal Perception › Open-Vocabulary Visual Recognition
Summary
TriPrompt introduces a progressive local prompting framework that decomposes patch-level evidence into Core-ID, Far-ID, and OOD cues for improved few-shot out-of-distribution detection.
Explained to a 5-year-old
In school, we sometimes see pictures that look like ones we already know, but they are actually new things. The new idea helps a computer learn to tell the difference between what it has seen before and what it hasn't, using only a few examples. It looks at tiny pieces of the picture and splits them into three groups: clues that show what the picture is, clues that are a bit unclear, and clues that say the picture is something unknown. By looking at these small clues and mixing them with what the computer already knows, it becomes better at saying "I don't know" when it sees something new. This helps robots and programs work safely in the real world where they might meet new things.
Explained to a 5-year-old, longer
When we look at pictures, we often know what most things are, but sometimes we see something that looks familiar yet is actually new. Teaching a computer to notice these new things with only a few examples is called few-shot out-of-distribution detection. The new idea focuses on small parts of each picture instead of the whole image, because small details can give important hints. It splits these small details into three groups: clues that clearly point to something known, clues that are a little uncertain, and clues that point to something completely unknown. By looking at these three kinds of clues together, the computer can better decide when it should say it doesn’t know. The method does not need extra data about unknown things, which makes it easier to use. It also works with existing picture-text models, so it can be added to many systems without big changes. In tests, the new approach improves how often the computer correctly says “this is new” compared to older methods. This helps robots, self-driving cars, and other tools be safer when they meet unfamiliar situations. It allows small teams to build reliable detection systems without huge amounts of labeled data. The idea is simple: look at tiny pieces, separate them into known, unsure, and unknown groups, and combine them with what you already know. As a result, open-world systems become more trustworthy.
For a technical reader
The framework decomposes patch-level features into Core-ID, Far-ID, and OOD cues within a unified local space, enabling suppression-aware reasoning without extra OOD data. At inference, it fuses these local responses with global CLIP confidence to reduce overconfidence on hard OOD samples. Experiments on ImageNet-1K OOD benchmarks show consistent performance gains while remaining compatible with existing CLIP-based scoring methods.
Problem
Detecting out-of-distribution samples in few-shot settings is challenging when in-distribution and out-of-distribution data share similar local patterns, and existing methods rely on global features or binary local cues, leading to overconfident misclassifications.
Method
The approach decomposes patch-level evidence into three complementary components within a unified local feature space: reliable class-defining cues, ambiguous transition cues, and OOD cues derived from weak non-ID proxies. It performs suppression-aware local reasoning without extra OOD data or multi-crop extraction, and combines these local responses with global CLIP confidence at inference.
Results
The approach consistently improves few-shot OOD detection performance on ImageNet-1K OOD benchmarks and remains compatible with mainstream CLIP-based scoring methods.
Contributions
It introduces a patch-native decomposition of local evidence into Core-ID, Far-ID, and OOD cues, enabling suppression-aware reasoning without additional OOD data, and demonstrates improved detection on standard benchmarks.
Practical relevance
It enables more reliable deployment of recognition models in open-world settings where limited labeled data is available.
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