[Paper Review] Neighborhood Structure Assisted Non-negative Matrix Factorization and its Application in Unsupervised Point-wise Anomaly Detection
This paper proposes Neighborhood Structure-assisted Non-negative Matrix Factorization (NS-NMF), which integrates minimum spanning tree (MST)-based neighborhood structure into NMF to improve unsupervised point-wise anomaly detection. By modeling local manifold structure via MST-derived similarity, NS-NMF enhances clustering and reconstruction in low-dimensional space, outperforming vanilla NMF, GNMF, SNMF, and deep learning baselines on 20 benchmark and one industrial dataset.
Dimensionality reduction is considered as an important step for ensuring competitive performance in unsupervised learning such as anomaly detection. Non-negative matrix factorization (NMF) is a popular and widely used method to accomplish this goal. But NMF do not have the provision to include the neighborhood structure information and, as a result, may fail to provide satisfactory performance in presence of nonlinear manifold structure. To address that shortcoming, we propose to consider and incorporate the neighborhood structural similarity information within the NMF framework by modeling the data through a minimum spanning tree. We label the resulting method as the neighborhood structure assisted NMF. We further devise both offline and online algorithmic versions of the proposed method. Empirical comparisons using twenty benchmark datasets as well as an industrial dataset extracted from a hydropower plant demonstrate the superiority of the neighborhood structure assisted NMF and support our claim of merit. Looking closer into the formulation and properties of the neighborhood structure assisted NMF with other recent, enhanced versions of NMF reveals that inclusion of the neighborhood structure information using MST plays a key role in attaining the enhanced performance in anomaly detection.
Motivation & Objective
- Address the limitation of standard NMF in capturing nonlinear manifold structures due to lack of neighborhood information.
- Improve unsupervised point-wise anomaly detection by incorporating local structural similarity into the NMF framework.
- Develop both offline and online algorithms for scalable and dynamic anomaly detection in streaming data.
- Reduce sensitivity to hyperparameters compared to existing graph-regularized NMF methods like GNMF.
- Enhance interpretability and detection performance by preserving local invariance in the latent space.
Proposed method
- Construct a data graph where each data point is a node and edges represent pairwise similarities.
- Apply Prim's algorithm to compute a minimum spanning tree (MST) on the data graph to derive a sparse, geodesic-distance-approximating similarity matrix.
- Integrate the MST-based similarity matrix into the NMF objective function as a regularization term to preserve local neighborhood structure.
- Formulate a joint optimization problem to simultaneously learn the basis matrix (clustering indicators) and coefficient matrix (attribute distribution).
- Use reconstruction error from the factorized matrices as an anomaly score for point-wise detection.
- Implement a parallel block stochastic gradient descent algorithm for efficient offline training and an online variant for streaming data.
Experimental results
Research questions
- RQ1Can incorporating neighborhood structure via MST improve the performance of NMF in unsupervised anomaly detection?
- RQ2How does NS-NMF compare to GNMF and SNMF in terms of detection accuracy and robustness to hyperparameters?
- RQ3Does the MST-based similarity matrix better preserve local manifold structure than Euclidean distance-based similarity?
- RQ4Can NS-NMF maintain high performance on real-world industrial data, such as from a hydropower plant?
- RQ5How does NS-NMF perform relative to deep neural network-based anomaly detection methods like AER and DAGMM?
Key findings
- NS-NMF outperformed vanilla NMF, GNMF, and SNMF across 20 benchmark datasets, with the highest detection accuracy in 15 out of 20 cases.
- NS-NMF achieved superior performance on a real-world hydropower plant dataset, with the offline version identified as the most competitive method by plant operators.
- NS-NMF demonstrated lower sensitivity to regularization parameters compared to GNMF, which is known to be highly sensitive to both the number of neighbors and regularization strength.
- In comparison to deep learning models, NS-NMF outperformed AER and DAGMM in 15 of 20 datasets, with DAGMM winning in only 3 cases and AER in 1.
- NS-NMF achieved a detection score of 29 on the Cardiotocography dataset, matching the performance of the best baseline (NS-NMF and AER tied), while significantly outperforming others on high-anomaly datasets like Arrhythmia and Ionosphere.
- The online variant of NS-NMF was successfully implemented and shown to be viable for streaming data, marking one of the first efforts to adapt NMF-based anomaly detection for online use.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.