arXiv

Beyond Normal References: Discriminative Few-Shot Anomaly Detection

Title: Rethinking Reference Models: A Discriminative Approach to Few-Shot Anomaly Detection

Abstract:

This study addresses a practical scenario in few-shot anomaly detection (FSAD), which we term discriminative FSAD. In this setting, inference relies on a limited set of reference examples comprising both normal and anomalous instances. Current FSAD approaches typically utilize only normal data for normality matching, thereby overlooking the valuable discriminative signals present in anomalous references. Conversely, attempting to fit both types of references directly can lead to overfitting on the specific anomalies encountered during training. To resolve this, we propose IDEAL, a framework for intrinsic deviation learning. IDEAL exploits both reference categories to identify deviation patterns that characterize generalizable abnormality as departures from normality.

The IDEAL framework splits the learning process into two distinct innovations:

  1. Normal Variation Eraser: This component suppresses nuisance variations inherent in normal data that could otherwise generate noisy deviations. By filtering these out, it emphasizes deviation representations that are relevant to anomalies.
  2. Intrinsic Deviation Encoder: This module breaks down the denoised deviation representations into intrinsic deviation vectors, which isolate the most discriminative and orthogonal directions of deviation.

During inference, IDEAL evaluates the deviations between query samples and normal references, specifically those preserved after projection onto the learned intrinsic deviation vectors. This mechanism allows the model to generalize effectively to both seen and unseen anomalies. Comprehensive experiments across eight real-world datasets demonstrate that IDEAL consistently surpasses existing state-of-the-art FSAD methods in generalizing to unseen anomalies. The code and data will be accessible at https://github.com/mala-lab/IDEAL.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Withings Debuts New Smart Scale Marketed Toward GLP-1 Users
Bloomberg

Withings Debuts New Smart Scale Marketed Toward GLP-1 Users

Withings launched a new smart scale targeting GLP-1 users, offering advanced body composition analysis. This device help...

TechCrunch

Rocket engine startup Impulse raises $500 million to hire people, not AI

Rocket engine startup Impulse Space raised $500 million to hire 200 engineers, prioritizing human expertise over AI for ...

Startup Impulse Space Raises $500 Million, Valued at $4 Billion
Bloomberg

Startup Impulse Space Raises $500 Million, Valued at $4 Billion

Impulse Space secured $500 million in funding, achieving a $4 billion valuation. This investment supports the developmen...

Walmart’s Answer to Apple Pay Wants to Be Your Favorite Financial App
Bloomberg

Walmart’s Answer to Apple Pay Wants to Be Your Favorite Financial App

Walmart’s new financial app aims to rival Apple Pay, positioning itself as a preferred digital payment and banking solut...

Nvidia Is Bigger, Stronger, and Trying to Slay the Laptop Dragon Again
Bloomberg

Nvidia Is Bigger, Stronger, and Trying to Slay the Laptop Dragon Again

Nvidia unveiled the RTX Spark Superchip at Computex 2026, aiming to challenge Intel’s PC dominance and modernize hardwar...

TechCrunch

Pacific Fusion’s latest prototype packs 440 gigawatts into an 80-nanosecond burst

Pacific Fusion’s new prototype delivers 440 gigawatts in 80 nanoseconds, securing over $1 billion in funding and enablin...