Summary
Detecting novelties in complex sequential data is challenging because global models often over-generalize, failing to identify subtle anomalies. This research proposes a "divide and conquer" framework: utilizing expert-informed clustering to decompose data into distinct sub-processes, followed by training specialized Long Short-Term Memory (LSTM) models for each cluster. This approach significantly enhances detection accuracy across diverse domains.
Introduction
Novelty detection—the identification of data points deviating from established "normal" patterns—is critical in fields such as cybersecurity and content verification. However, "normal" behavior in real-world datasets is rarely monolithic. For instance, system call logs or news feeds represent a mixture of various underlying processes.
Standard high-capacity models, like LSTMs trained on aggregate data, often learn a broad average of these behaviors. This over-generalization reduces sensitivity to the subtle deviations that characterize novelties. The proposed method addresses this by modeling distinct sub-processes individually.
Methodology: Informed Novelty Detection
The framework, termed Informed Novelty Detection by Per-Cluster Modeling, involves a three-stage pipeline:
- Informed Clustering: Rather than relying on purely automated algorithms, the authors employ a visual analytics tool. This allows domain experts to group sequences into semantically meaningful clusters using Latent Dirichlet Allocation (LDA) and t-SNE visualizations.
- Per-Cluster Modeling: A dedicated LSTM network is trained for each cluster. These "local experts" focus exclusively on the patterns of their specific sub-process, increasing sensitivity to anomalies within that niche.
- Informed Inference: During the detection phase, new sequences are assigned to the most relevant cluster. The corresponding LSTM calculates a perplexity score; high scores indicate a high likelihood of novelty.
Experimental Evaluation
The approach was validated on three distinct datasets:
- Cybersecurity (ADFA-LD): System call sequences representing normal operations and various attack vectors.
- Fake Reviews (Yelp): Hotel and restaurant reviews categorized as genuine or filtered (fake).
- Time Series (NAB): AWS server CPU utilization metrics, discretized into sequential "words."
Results and Discussion
The per-cluster approach (IC-LSTMs) consistently outperformed both global models and traditional anomaly detection baselines. In the cybersecurity domain, IC-LSTMs achieved an AUC of 0.93, compared to 0.88 for a global LSTM and significantly lower scores for Isolation Forests (0.64-0.68) and One-Class SVMs (0.55-0.73).
A key finding is that the benefit of modeling cleaner, specialized sub-processes outweighs the reduction in training data per model. Furthermore, human-in-the-loop clustering proved superior to automated methods by capturing semantic nuances that algorithms often miss.
Conclusion and Future Work
By decomposing complex sequential data into expert-informed clusters, specialized models can achieve higher sensitivity in novelty detection. Future research will explore "soft" cluster assignments, adaptive model architectures tailored to cluster complexity, and methods to automate the discovery of semantically sound clusters to reduce reliance on manual expert intervention.
Summary updated