Anomaly Detection with Contaminated Training Data

This direction is merged into another direction: training data contamination. Its last version stays readable and citable here.

Version 1 of 167 papers74 conceptsfrozen 2026-10-04

In the idealized world of machine learning research, anomaly detection (AD) begins with a "pure" training set—a collection of data points representing perfectly normal behavior. The model’s goal is simple: learn the boundaries of this "normality" so it can flag anything different during deployment.

In the messy reality of industrial applications, this purity is a myth. Sensors malfunction, human annotators make mistakes, and legacy systems pass down mislabeled examples. As Aimira Baitieva and Samet Akcay observe, this "reality gap" means that training sets are frequently contaminated with unlabeled anomalies. When a standard model is forced to treat these hidden outliers as ground-truth "normal" samples, it inadvertently incorporates anomalous patterns into its definition of normality, creating catastrophic blind spots.

The Overfitting Trap of One-Class Learning

Most anomaly detection methods rely on the "one-class" paradigm: they attempt to map all training data into a tight representation space or minimize a reconstruction error. However, as Yuanhong Chen and Guansong Pang point out, these models are highly sensitive to outliers. If a training set contains even a small percentage of defects, the model will "stretch" its boundaries to include them.

This sensitivity creates a performance cliff. While a model might achieve near-perfect scores on a pristine academic benchmark, its reliability crumbles in the presence of noise. Anindya Sundar Das notes that standard detection methods suffer significant accuracy drops when the assumption of a clean training set is violated, as the network is forced to minimize loss for samples that are actually abnormal.

Adaptive Reweighting and Soft Labels

To combat this, researchers have moved away from "hard" binary labels. If we aren't 100% sure that every training sample is normal, we shouldn't treat them with equal importance.

Anindya Sundar Das and Monowar Bhuyan introduced Adaptive Deviation Learning (ADL), which uses importance learning to maintain stability even when training data is contaminated by up to 20% with unlabeled anomalies. Similarly, Kohei Obata and Yasuko Matsubara developed RedLamp, which utilizes "soft" labels and backward correction mechanisms. By allowing the model to be "less sure" about suspicious training samples, these frameworks prevent the network from overfitting to the noise, maintaining a sharper boundary for true normality.

Multi-Stage Denoising and Decontamination

Another powerful intuition is to treat the training process as a two-step "clean-then-learn" pipeline. Instead of training on the raw, noisy data, these systems first attempt to identify and "decontaminate" the training set.

For example, Haokun Zhu and Jinlong Peng proposed M3DM-NR, which uses multimodal alignment (combining RGB images, 3D point clouds, and text) to filter out anomalies from the training set before the final model is built. In the domain of time-series data, Thi Kieu Khanh Ho and Narges Armanfard developed TSAD-C, which employs a conditional diffusion model specifically for decontamination. By isolating and removing the "dirty" samples early, the subsequent detection model can be trained on a purified proxy of the normal distribution.

Robustness through Architectural Inductive Biases

Beyond reweighting and filtering, some researchers argue that the architecture itself should be inherently resistant to contamination.

  • Inter-sample Attention: Hugo Thimonier and Arpad Rimmel demonstrate that Non-Parametric Transformers (NPT-AD) can naturally distinguish between consistent normal patterns and sporadic anomalous noise by explicitly modeling relationships between different data points in the training set.
  • Implicit Normalization: Yixuan Zhou and Peiyu Yang introduced AnoOnly, which completely removes explicit loss functions for normal data. Instead, it uses Batch Normalization as a form of "weak supervision." This approach treats accidental anomalies in the training set as part of the broad statistical background rather than ground-truth examples to be emulated.
  • Prototypical Learning: Frameworks like SALAD focus on clustering "normal" patterns into a memory bank. As Jindong Wang suggests, by prioritizing the definition of dominant, recurring patterns, these models become resilient to contaminated samples that don't fit the majority consensus.

Active Search and Curiosity

Finally, some approaches treat the presence of contamination not as a nuisance, but as an opportunity for exploration. Guansong Pang and Chunhua Shen developed DPLAN, a reinforcement learning framework that uses a "curiosity-driven" intrinsic reward. Instead of blindly accepting the unlabeled training data as normal, the RL agent actively searches for hidden anomalies. This dual-reward system—balancing known labels with the drive to find "weird" unlabeled samples—allows the model to maintain high accuracy even in heavily polluted environments.

By shifting the research focus from "pure" benchmarks to these robust, contamination-aware strategies, the field is moving toward anomaly detection systems that can actually survive the messy reality of the factory floor and the data center.

Papers in this version

Showing 60 of 67 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_anomaly_detection_with_contaminated_trai_43bffe34,
  title = {Anomaly Detection with Contaminated Training Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anomaly-detection-with-contaminated-training-data/rdr_43bffe3491324fe1ae7bb59499c80008},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_anomaly_detection_with_contaminated_trai_43bffe34_v1,
  title = {Anomaly Detection with Contaminated Training Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anomaly-detection-with-contaminated-training-data/rdr_43bffe3491324fe1ae7bb59499c80008/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}