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. 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.