cs.CVAug 16, 2026

PWLR: Pairwise Witness Local Rejection for Boundary-Aware Out-of-Distribution Detection

Authors: Chengyao Jia, Ruixuan Wang

Organizations: Guanghua School of Stomatology Sun Yat-sen University Guangzhou, China Guangdong Provincial Key Laboratory of Stomatology Guangzhou, China · School of Computer Science and Engineering Sun Yat-sen University Guangzhou, China Key Laboratory of Machine Intelligence and Advanced Computing, MOE Guangzhou, China

Abstract

Out-of-distribution (OOD) detection remains challenging for image classifiers, especially when near-OOD samples lie close to in-distribution (ID) class boundaries. Recent vision-language detectors improve OOD detection through class semantics, local prompting, or LLM-generated outlier concepts, but seldom use language as explicit boundary evidence between confusing ID classes. We propose Pairwise Witness Local Rejection (PWLR), which uses an MLLM offline to describe visible local cues that favor one ID class over a specific rival class. These cue phrases are then screened with ID-only data under a frozen vision-language backbone, so that only reliable local verifiers are kept. At inference, PWLR first retains a small set of globally plausible classes, then checks whether any of them is locally supported against its most relevant rivals, and finally combines this pairwise local evidence with the global class score through calibration. Experiments on ImageNet-100 far-OOD, cleaner/challenging OOD and near-OOD benchmarks show that PWLR consistently improves strong vision-language baselines across multiple backbones. Source code will be released.

Figures & tables

Explore similar work

CardsList
  1. DynProto: Dynamic Prototype Evolution for Out-of-Distribution Detection

    Apr 26, 2026Yanqi Wu, Xinhua Lu, Runhe Lai +4Prototype-Based ClassificationOOD Detection

  2. Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language Models

    May 26, 2026Yuanwei Hu, Bo Peng, Yadan Luo +3Vision-Language ModelsTest-Time Adaptation