Unlocking Dense Vision Foundation Models for Training-Free Few-Shot Anomaly Detection via Position-Debiased Piecewise-Linear Manifolds

Jianming Liu, Fan Xu
11/26/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Training-free few-shot anomaly detection (FSAD) aims to identify industrial defects using a few normal reference images and frozen vision foundation models. Although local subspaces can characterize heterogeneous normal patterns, directly applying them to DINOv3 features can degrade detection performance.

Show full abstract

Our analysis indicates that a low-dimensional positional component dominates feature variance, encouraging patches to cluster by spatial location rather than appearance and making local modeling sensitive to object pose variations. We propose Debiased Piecewise-Linear Manifold Anomaly Detection (DPLM-AD), a training-free framework that separates cross-image appearance modeling from intra-image spatial refinement. We estimate the positional subspace using semantic-free probe images and project patch features onto its orthogonal complement. We then fit local affine subspaces to unnormalized projected features to retain feature-norm information. The original features guide graph diffusion of anomaly scores to exploit local spatial continuity. Controlled experiments show that positional debiasing changes the effect of local subspace modeling on image-level AUROC from a decrease of 2.87 percentage points to an increase of 0.77 percentage points. Evaluations across 41 categories from five industrial benchmarks demonstrate the effectiveness and limitations of the proposed framework. On MVTec-AD and VisA, DPLM-AD with DINOv3-L achieves higher composite performance than SubspaceAD with DINOv2-G at 3.93 times the inference speed.

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{liu2026unlocking,
  title  = {Unlocking Dense Vision Foundation Models for Training-Free Few-Shot Anomaly Detection via Position-Debiased Piecewise-Linear Manifolds},
  author = {Jianming Liu and Fan Xu},
  year   = {2026},
  eprint = {2611.35541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35541v1}
}

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/2611.35541.svg)](https://codeofpaper.com/paper/2611.35541)

Discussion