Hugging Face Trending Papers

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

Read the original on Hugging Face Trending Papers →

SPARC is a few‑shot calibration technique for vision‑based industrial anomaly detectors that corrects deployment‑time nuisances by projecting patch features onto a per‑cell subspace, requiring only up to eight verified‑normal images and no gradient updates. It operates between the encoder and detector, using a closed‑form, spatially indexed estimate based on the encoder’s native patch grid. Across seven detectors on shift‑prone benchmarks, SPARC boosts pooled Image AUROC by 13.8 pp and AU‑PRO₀.₃ by 3.5 pp, while showing modest changes on benchmarks without engineered shift.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv Computer Vision
Oct 22

Adversarially Robust Few-Shot Anomaly Detection with Vision Foundation Models

Vision foundation models such as DINOv2 enable strong few‑shot anomaly detection (FSAD) using a frozen backbone and a non‑parametric k‑nearest‑neighbor (k‑NN) scorer. The paper introduces a white‑box attack framework for k‑NN memory‑bank detectors and proposes an adversarially robust FSAD method that is training‑free with respect to the backbone. The defense combines a PatchShift input augmentation and a FeaturePurifier residual MLP, achieving significant gains in image‑level AUROC (~27%) and pixel‑level PRO (~51%) on MVTec‑AD, VisA, and MPDD while maintaining clean accuracy within 3%. whyItMatters:"The work addresses the previously unstudied few‑shot regime for robust anomaly detection, providing a practical, training‑free defense that matches full‑shot adversarially‑trained baselines and improves performance under adversarial attacks."

By Akib Mohammed Khan, Bartosz Krawczyk
arXiv Computer Vision
Sep 4

PL-SCEA: Reconfiguring Pretrained Attention for Few-Shot Industrial Anomaly Detection

The paper introduces PL‑SCEA, a method that reconfigures the attention mechanism of frozen Vision Foundation Models to better detect and localize anomalies in industrial images with few training examples. PL‑SCEA preserves the semantic context of pretrained query‑key attention while adding token‑adaptive self‑correlations over contextualized value features, then applies positive‑correlation filtering and power‑law reweighting to highlight task‑relevant relationships. The resulting features are fed into a lightweight variational autoencoder to produce reconstruction‑based anomaly scores, achieving competitive image‑level detection and strong pixel‑level localization on MVTec AD and VisA datasets.

By Xiaoyu Yang, Qixing Wu, Huixian Zhao, Changlong Jin
arXiv Computer Vision
Sep 7

Training-Free Logical and Structural Anomaly Detection via Calibrated Fusion

The paper introduces a training‑free anomaly detector that simultaneously handles structural and logical defects by calibrating heterogeneous anomaly cues with statistics from normal images. This calibration aligns frozen representations, allowing their fusion without extra training or part‑level supervision. The resulting method achieves state‑of‑the‑art AUROC scores on MVTec‑LOCO and remains competitive on MVTec‑AD.

By Changyi Li, Miao Yu, Kai Dong, Yu Xiao