Introduction
Multivariate time series (MTS) anomaly detection is a cornerstone of modern industrial monitoring. However, real-world deployment faces two significant hurdles: the prevalence of "dirty" training data and the increasing complexity of detection models. Most unsupervised methods operate under the assumption that training data is "clean," representing only normal system behavior. In practice, training sets are often contaminated with unlabeled sensor errors, transient faults, or noise. When models are trained on such data, they inadvertently learn these anomalies as part of the normal distribution, resulting in high false-negative rates during inference.
Furthermore, the recent trend toward complex architectures, such as Transformers and Graph Neural Networks, has introduced new challenges. These models are often prone to overfitting on contaminated data, suffer from significant inference latency, and may even underperform compared to simpler linear baselines. CLEANet is proposed as a solution that combines a lightweight architecture with a robust training strategy to address these limitations.
Methodology
CLEANet introduces a dual-innovation approach to MTS anomaly detection: the Conjugate MLP architecture and the Contamination-Resilient Training Framework (CRTF).
Conjugate MLP Architecture
To avoid the computational overhead of attention mechanisms, CLEANet employs a lightweight Multi-Layer Perceptron (MLP) with a "conjugate" structure. This architecture consists of two parallel branches:
- Time Encoder: Captures temporal dependencies by analyzing how individual variables evolve over time.
- Feature Encoder: Captures cross-feature correlations by modeling the interactions between different variables at specific timestamps.
This design allows the model to effectively capture spatiotemporal patterns while maintaining a footprint significantly smaller than state-of-the-art (SOTA) Transformer-based models.
Contamination-Resilient Training Framework (CRTF)
The CRTF is designed to mitigate the impact of "dirty" training data through two key mechanisms:
- Adaptive Weighted Reconstruction Loss (AWRL): The framework estimates a "contamination degree" for each training sample based on its local density in the latent space. Samples identified as potential outliers are assigned lower weights during training, preventing the model from overfitting to anomalous patterns.
- Clustering-guided Contrastive Learning: CLEANet utilizes the FINCH clustering algorithm to group semantically similar samples in the latent space. This enables a more effective contrastive learning process, where the model learns to distinguish between "normal" clusters and "contaminated" clusters, thereby sharpening the decision boundary.
Experimental Evaluation
The performance of CLEANet was rigorously evaluated across five benchmark datasets: PSM (Power Demand), SWaT (Secure Water Treatment), SMD (Server Machine Dataset), and NASA's MSL and SMAP telemetry datasets.
Key Results
- Detection Accuracy: CLEANet achieved an average F1 score of 0.6110, representing an 8.89% improvement over the second-best baseline (USAD). On the highly contaminated PSM dataset, the improvement reached 11.27%.
- Computational Efficiency: The model is exceptionally lean, reducing inference time by 67% and model size by 90% compared to top-performing baselines. With only 0.006 million parameters, CLEANet is ideally suited for real-time monitoring on edge devices.
- Framework Generalizability: The CRTF training strategy was integrated into other SOTA models (e.g., TranAD, OmniAnomaly), yielding an average F1 gain of 5.35%. This demonstrates that the contamination-resilient approach is model-agnostic and broadly applicable.
Discussion and Conclusion
CLEANet challenges the notion that model complexity is a prerequisite for high performance in time series tasks. By leveraging a well-designed MLP architecture, the model achieves superior results while remaining highly efficient. Crucially, by explicitly addressing both "salient" (obvious) and "latent" (subtle) contamination, CLEANet provides a robust solution for real-world industrial environments where perfectly clean training data is unavailable. Future research may explore automated hyperparameter tuning to further enhance performance across diverse data entities and the application of these techniques to forecast-based detection models.
Summary updated