paper-with-me

Papers

LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning

2023-06-02 · NeurIPS 2023 11 · Atsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu Aizawa

We present a novel vision-language prompt learning approach for few-shot out-of-distribution (OOD) detection. Few-shot OOD detection aims to detect OOD images from classes that are unseen during training using only a few labeled in-distribution (ID) images. While prompt learning methods such as CoOp have shown effectiveness and efficiency in few-shot ID classification, they still face limitations in OOD detection due to the potential presence of ID-irrelevant information in text embeddings. To address this issue, we introduce a new approach called Local regularized Context Optimization (LoCoOp), which performs OOD regularization that utilizes the portions of CLIP local features as OOD features during training. CLIP's local features have a lot of ID-irrelevant nuisances (e.g., backgrounds), and by learning to push them away from the ID class text embeddings, we can remove the nuisances in the ID class text embeddings and enhance the separation between ID and OOD. Experiments on the large-scale ImageNet OOD detection benchmarks demonstrate the superiority of our LoCoOp over zero-shot, fully supervised detection methods and prompt learning methods. Notably, even in a one-shot setting -- just one label per class, LoCoOp outperforms existing zero-shot and fully supervised detection methods. The code will be available via https://github.com/AtsuMiyai/LoCoOp.

📄 PDF Abstract BibTeX arXiv:2306.01293

Code (2)

atsumiyai/locoop 공식 구현 pytorch
haiv-lab/ospcoop_imagenet-bg pytorch

Tasks

Out-of-Distribution DetectionOut of Distribution (OOD) DetectionPrompt Learning

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
CoOp CoOp, or Context Optimization, is an automated prompt engineering method that avoids manual prompt tuning by modeling context words with continuous vectors that are…

Similar Papers 제목 키워드 기반

GP-Adapter: Gaussian Process CLIP-Adapter for Few-Shot Out-of-Distribution Detection

2026-06-05 · Taisei Saito, Koretaka Ogata, Takafumi Hiroi arxiv

We propose GP-Adapter, a training-free framework that augments CLIP (Contrastive Language-Image Pre-training) with Gaussian Process (GP) uncertainty modeling for few-shot classification and out-of-distribution (OOD) dete…

Out-of-Distribution Detection

Enhancing Outlier Knowledge for Few-Shot Out-of-Distribution Detection with Extensible Local Prompts

2024-09-07 · Fanhu Zeng, Zhen Cheng, Fei Zhu, Xu-Yao Zhang

Out-of-Distribution (OOD) detection, aiming to distinguish outliers from known categories, has gained prominence in practical scenarios. Recently, the advent of vision-language models (VLM) has heightened interest in enh…

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

Zero-Shot Out-of-Distribution Detection with Outlier Label Exposure

2024-06-03 · Choubo Ding, Guansong Pang

As vision-language models like CLIP are widely applied to zero-shot tasks and gain remarkable performance on in-distribution (ID) data, detecting and rejecting out-of-distribution (OOD) inputs in the zero-shot setting ha…

Out-of-Distribution Detection

Leveraging GPT-4o Efficiency for Detecting Rework Anomaly in Business Processes

2025-02-10 · Mohammad Derakhshan, Paolo Ceravolo, Fatemeh Mohammadi

This paper investigates the effectiveness of GPT-4o-2024-08-06, one of the Large Language Models (LLM) from OpenAI, in detecting business process anomalies, with a focus on rework anomalies. In our study, we developed a …

Anomaly Detection

DetPO: In-Context Learning with Multi-Modal LLMs for Few-Shot Object Detection

2026-03-24 · Gautam Rajendrakumar Gare, Neehar Peri, Matvei Popov, Shruti Jain 외 arxiv

Multi-Modal LLMs (MLLMs) demonstrate strong visual grounding capabilities on popular object detection benchmarks like OdinW-13 and RefCOCO. However, state-of-the-art models still struggle to generalize to out-of-distribu…

Few-Shot Object DetectionVisual Grounding