Self-contained Data Cleaning for Unsupervised Anomaly Detection
Jordan F. Masakuna, Ahmed Yacine, Djeff K. Nkashama, Arian Soltani, Marc Frappier, Pierre M. Tardif, Froduald Kabanza
Abstract
Training datasets for unsupervised anomaly detection are often assumed to be anomaly-free, but in practice, they frequently contain malicious or anomalous contamination. This contamination severely degrades the dependability and security of downstream detection models. While some contamination-robust methods exist, they rarely generalize across different model architectures and typically rely on a priori knowledge of the contamination ratio information that is rarely available in real-world security operations. In this paper, we propose a novel, self-contained preprocessing framework for anomaly detection that identifies and removes training set contamination without relying on known contamination ratios. Our approach performs a dynamic analysis of the cosine similarity between each data point and its reconstruction during the early training stages of an auto-encoder, mapping points into a dynamic space where anomalous regions naturally exhibit lower density. By executing ``hard cleaning'' removing all identified anomalous candidates from the training pool we systematically improve data quality. Because this cleaning occurs at the data level, the security and reliability improvements generalize seamlessly across various downstream anomaly detection architectures. Evaluating our framework across 8 distinct models and 10 security-relevant datasets, our approach achieves up to 100\% contamination reduction, yielding average improvements of 11.2\% in F1 score and 7.3\% in classification accuracy.
Create a lesson
Related papers
PIA: Agentic Physics-Informed Runtime Anomaly Detection
Shared title terminology · Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour
Spectrogram-Based CNN Autoencoder for One-Class Anomaly Detection in Machining Vibration Signals
Shared title terminology · Sebastian Zeleny, Christian Gawron
FedSGN: Federated Sparse Grassmann Newton Learning for IoT Anomaly Detection
Shared title terminology · Jingjing Liu, Xiansen Ju, Xianchao Xiu et al.
TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels
Shared title terminology · Sumit Wadhwa, Souvik Nath
From States to Dynamics: Detecting Rule Violations in OthelloGPT
Shared title terminology · David L. Cao, Sai Sumedh R. Hindupur, Demba Ba
Towards Global Counterfactual-Based Self-Explainable Graph Neural Networks
Shared title terminology · Wendy Zheng, Yinhan He, Jundong Li