Skip to content
Preprint

SPARC: Subspace Position-Aware Robust Few-Shot Calibration for Distribution-Shifted Industrial Anomaly Detection

Aug 2026 · 1 citation · 44 references
Computer Science

TL;DR

SPARC is presented, a few-shot calibration method that intercepts patch features between encoder and detector and removes a closed-form, spatially indexed estimate of deployment-time nuisance through per-cell subspace projection and uses the algebraic saturation rank on the encoder's native patch grid.

Abstract

Vision-based industrial anomaly detectors are calibrated on one distribution but may be deployed on another that differs in illumination, fixture placement, or sensor characteristics, sharply degrading an otherwise accurate detector. Adapting to the incoming lot is a natural response, but labeled anomalies are scarce. We therefore consider calibration using only a handful of verified-normal images available before scoring the rest of the lot. Existing fixes require backpropagation, detector-specific tuning, or choices about feature directions that few calibration samples cannot justify. We present SPARC, a few-shot calibration method that intercepts patch features between encoder and detector and removes a closed-form, spatially indexed estimate of deployment-time nuisance through per-cell subspace projection. It needs only $k \le 8$ verified-normal images and uses the algebraic saturation rank $r{=}k{-}1$ on the encoder's native patch grid. The correction requires no gradient or weight updates and works with memory-bank, density, prototype, and mutual detectors. On the shift-prone benchmarks, SPARC improves pooled Image AUROC and AU-PRO$_{0.3}$ for all seven detectors whose image scores depend on corrected patch features by $+13.8$ and $+3.5$ percentage points (pp), respectively; on benchmarks without engineered shift, the changes are small and mixed. Controls that give competing corrections the same calibration images attribute these gains to the per-cell subspace structure rather than the images alone. Further ablations support the saturation-rank choice and characterize sensitivity to backbone and calibration conditions.

View source

Similar papers

Open access Oct 2026

A Practical Fixed-Configuration, Training-Free Baseline for Within-Sensor Hyperspectral Anomaly Detection

Hyperspectral anomaly detection (HAD) aims to identify rare targets without labeled anomaly samples, but many recent deep HAD approaches require scene-specific neural optimization, increasing deployment cost. This paper presents MASCR-UAF, a fixed-configuration baseline designed for training-free within-sensor HAD. Glo...

Xiang-Sen Cui, Jia-Min Liu, Shi-Kuan Jin et al. · 0 citations
Review Open access Sep 2026

Risk-Calibrated Few-Shot Industrial Anomaly Detection with Human-in-the-Loop Inspection

Automated visual quality inspection often operates with few normal referenceimages but still requires an explicit policy for asymmetric operational errors. This paperpresents Risk-Calibrated Few-Shot Industrial Anomaly Detection Plus (RC-FS-IAD+), afew-normal-support, labeled-calibration-assisted framework that maps an...

Ismail Hakki Kinalioglu · 0 citations
Review Open access Sep 2026

Cleaning Contaminated Reference Sets for Few-Shot Visual Anomaly Detection

This work presents an unsupervised audit algorithm that identifies which reference images are likely defective, and runs in seconds on CPU, makes its decisions at the image level independently of the anomaly detection algorithm used, and can be easily incorporated into existing systems.

Sergio Villanueva López, E. Soria-Olivas, Manuel A. Sánchez-Montañés · 0 citations
Open access Oct 2026

Multi-view patch inference with frozen DINOv3 for industrial anomaly detection

Industrial anomaly detection is a critical task in automated visual inspection systems, aiming to identify subtle defects without relying on large-scale anomaly annotations. Recently, pretrained vision transformers such as DINO have demonstrated strong feature representation capabilities and have been widely adopted in...

Chao-Qun Wang, Wen-Jing Zhang, Bo Qi et al. · 0 citations
Open access 2026

Robustness of Zero-Shot CLIP to Contextual Variations in Industrial Anomaly Detection: A Factorized Sensitivity Analysis

Automated optical inspection is crucial for maintaining quality in modern manufacturing. While deep-learning-based anomaly detection (AD) has shown promise, its deployment is often hindered by “contextual variations,” namely benign environmental changes such as lighting or camera noise that are irrelevant to product de...

Kota Dohi, Naoya Takeishi, T. Yairi · 1 citation
Open access 2026

Beyond Benchmark Scores: An Analysis of Resolution, Spatial Structure, Illumination, and Seed Sensitivity in Training-Free Industrial Anomaly Localization on MVTec AD 2

Training-free industrial anomaly localization avoids category-specific model training, but benchmark scores alone provide limited evidence about operational reliability. We present a fixed-protocol study on all eight MVTec AD 2 categories, comparing five variants across three families: three DINO configurations that jo...

Vi-Long Vo, L. Pham, Thai Duy Pham et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.