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

Chengyao Jia, Ruixuan Wang
8/16/2026
cs.CVcs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jia2026pwlr,
  title  = {PWLR: Pairwise Witness Local Rejection for Boundary-Aware Out-of-Distribution Detection},
  author = {Chengyao Jia and Ruixuan Wang},
  year   = {2026},
  eprint = {2608.15802},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.15802v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.15802.svg)](https://codeofpaper.com/paper/2608.15802)

Discussion