Abstract
Anomaly detection (AD) is a critical task in various domains, yet most high-performing algorithms rely on expensive, high-quality human labels. In contrast, "weak" or noisy labels from heuristics and legacy systems are often abundant but underutilized. This paper introduces ADMoE (Anomaly Detection with Mixture-of-Experts), a model-agnostic framework that treats noisy labels as informative input features rather than just targets. By employing a Mixture-of-Experts architecture with a noisy-label aware gating mechanism, ADMoE effectively handles extreme data imbalance and extracts signal from multiple noisy sources. Experimental results across eight diverse datasets demonstrate that ADMoE provides up to a 34% performance boost over state-of-the-art methods, maintaining efficiency while showing remarkable robustness to high noise levels.
Introduction
Anomaly detection is essential for identifying rare, suspicious events in fields like cybersecurity and financial fraud. However, the "expensive habit" of requiring clean expert labels limits the scalability of current AD models. While organizations possess vast amounts of "weak" labels—such as scores from simple risk heuristics or legacy rules—these sources are inherently noisy. Standard AD models often suffer from biased performance when trained on such data. Furthermore, traditional "learning from noisy labels" (LNL) techniques are typically designed for balanced classification and struggle with the extreme class imbalance found in anomaly detection.
The ADMoE Framework
The authors propose ADMoE to bridge the gap between noisy label availability and high-performance anomaly detection. The framework is built on three core pillars:
- Mixture-of-Experts (MoE) Architecture: Instead of a single network, ADMoE utilizes multiple "expert" sub-networks. This allows the model to partition the feature space, with different experts specializing in specific types of anomalies or noise patterns.
- Noisy-Label Aware Gating: Unlike standard MoE models where the gating function only considers raw input data, ADMoE feeds the noisy labels themselves (as continuous embeddings) into the gating mechanism. This provides a "meta-view" of the data, helping the model decide which expert is best suited for a sample based on how various noisy sources have categorized it.
- Model-Agnostic and Scalable Design: ADMoE can be integrated into existing neural AD architectures, such as MLPs or DeepSAD. It uses a many-to-many implicit mapping between noisy sources and experts, ensuring scalability as the number of label sources grows.
Experimental Evaluation
The framework was evaluated on eight datasets, including seven public benchmarks (NLP, Image, and Document domains) and one real-world enterprise security dataset. To simulate real-world conditions on public data, the authors used "Label Flipping" and "Inaccurate Output" methods to generate noisy labels. ADMoE was compared against 13 leading baselines, including standard AD algorithms and specialized LNL methods.
Key Results and Insights
ADMoE-enhanced models consistently outperformed all baselines, showing an average 14% improvement in ROC-AUC. On specific datasets like aloi, the performance gain reached 34%.
Robustness to Noise
A key strength of ADMoE is its performance under high-noise conditions. As shown in the comparative analysis, ADMoE maintains high ROC-AUC even when the quality of noisy labels is extremely low, significantly outperforming methods like DeepSAD or XGBOD in these regimes.
Expert Specialization
Ablation studies confirmed that the MoE structure is vital. In a 4-expert configuration, specific experts became "responsible" for certain data subsets, outperforming other experts on those samples. This specialization allows the model to aggregate diverse perspectives from complementary noisy sources.
Efficiency and Flexibility
Notably, ADMoE achieves these gains without increasing the number of trainable parameters or computational cost (FLOPs) compared to baseline models. Furthermore, the framework is flexible; it can integrate a small amount of clean data (as little as 8%) to reach performance levels comparable to models trained on 100% clean datasets.
Conclusion
ADMoE represents a significant step forward in making anomaly detection more practical by effectively utilizing noisy, low-cost labels. By treating labels as features and leveraging the specialization of Mixture-of-Experts, it overcomes the limitations of traditional AD and LNL methods. Future work may involve extending ADMoE to more complex architectures like Transformers and exploring theoretical bounds for MoE in imbalanced data scenarios.
Summary updated