[Paper Review] Real-Time Streaming Anomaly Detection in Dynamic Graphs
MIDAS-F is a real-time, constant-time and constant-memory algorithm for detecting microcluster anomalies in dynamic graph streams—groups of suspiciously similar edges such as those in denial-of-service attacks. It improves upon MIDAS by reducing 'poisoning' effects through a modified anomaly scoring function and conditional merge step, achieving 41% to 55% higher ROC-AUC accuracy than state-of-the-art methods while processing data 130 to 929 times faster.
Given a stream of graph edges from a dynamic graph, how can we assign anomaly scores to edges in an online manner, for the purpose of detecting unusual behavior, using constant time and memory? Existing approaches aim to detect individually surprising edges. In this work, we propose MIDAS, which focuses on detecting microcluster anomalies, or suddenly arriving groups of suspiciously similar edges, such as lockstep behavior, including denial of service attacks in network traffic data. We further propose MIDAS-F, to solve the problem by which anomalies are incorporated into the algorithm's internal states, creating a 'poisoning' effect which can allow future anomalies to slip through undetected. MIDAS-F introduces two modifications: 1) We modify the anomaly scoring function, aiming to reduce the 'poisoning' effect of newly arriving edges; 2) We introduce a conditional merge step, which updates the algorithm's data structures after each time tick, but only if the anomaly score is below a threshold value, also to reduce the `poisoning' effect. Experiments show that MIDAS-F has significantly higher accuracy than MIDAS. MIDAS has the following properties: (a) it detects microcluster anomalies while providing theoretical guarantees about its false positive probability; (b) it is online, thus processing each edge in constant time and constant memory, and also processes the data 130 to 929 times faster than state-of-the-art approaches; (c) it provides 41% to 55% higher accuracy (in terms of ROC-AUC) than state-of-the-art approaches.
Motivation & Objective
- To detect microcluster anomalies—sudden groups of similar edges—such as those seen in denial-of-service attacks in network traffic.
- To design an online algorithm that processes each edge in constant time and constant memory, enabling real-time scalability.
- To mitigate the 'poisoning' effect, where anomalous edges degrade future detection performance by corrupting internal algorithm states.
- To improve detection accuracy over existing methods while maintaining high-speed processing in dynamic graph streams.
Proposed method
- MIDAS-F modifies the anomaly scoring function to reduce the influence of newly arrived anomalous edges on the algorithm’s internal state.
- It introduces a conditional merge step that updates data structures only when the anomaly score is below a predefined threshold, minimizing propagation of anomalous signals.
- The algorithm maintains theoretical guarantees on false positive probability, ensuring reliability in anomaly detection.
- It operates in an online fashion, processing each edge in constant time and using constant memory, enabling high-throughput stream processing.
- MIDAS-F leverages a streaming model where edge updates are processed sequentially, with anomaly scores computed incrementally.
- The method is designed to detect clusters of similar edges rather than individual surprising edges, focusing on collective suspicious behavior.
Experimental results
Research questions
- RQ1Can we detect microcluster anomalies in dynamic graph streams with theoretical false positive guarantees while maintaining constant time and memory complexity?
- RQ2How does the 'poisoning' effect of anomalous edges degrade detection performance over time, and can it be mitigated effectively in an online setting?
- RQ3To what extent does the modified scoring function and conditional merge step in MIDAS-F improve detection accuracy compared to MIDAS and state-of-the-art approaches?
- RQ4How does MIDAS-F scale in terms of speed and accuracy when processing real-world graph stream workloads?
Key findings
- MIDAS-F achieves 41% to 55% higher ROC-AUC accuracy than state-of-the-art approaches on dynamic graph stream data.
- The algorithm processes data 130 to 929 times faster than existing state-of-the-art methods, due to its constant-time and constant-memory design.
- The conditional merge step and modified anomaly scoring function in MIDAS-F significantly reduce the 'poisoning' effect, improving long-term detection reliability.
- MIDAS-F maintains theoretical guarantees on false positive probability, ensuring robustness in anomaly detection.
- The method successfully detects microcluster anomalies such as lockstep behavior in network traffic, indicative of denial-of-service attacks.
- MIDAS-F outperforms MIDAS in accuracy, demonstrating the effectiveness of its anti-poisoning mechanisms in real-time streaming environments.
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.