Adaptive-DecayRank is a novel anomaly detection framework for real-time anomaly detection in dynamic graphs. It leverages Bayesian PageRank updates with an adaptive decay factor to efficiently detect node anomalies and sudden structural changes.
✔ Real-time anomaly detection on dynamic graph streams.
✔ Modified dynamic PageRank algorithm for improved detection accuracy.
✔ Efficient Adaptive Bayesian Updating for scalability.
✔ Outperforms AnomRank, SedanSpot, DynAnom, etc.
We provide the following benchmark datasets for dynamic graph anomaly detection:
-
DARPA – Cyber attack dataset Link
-
CTU-13 – Botnet traffic dataset - CTU-13 dataset
-
RTM-30 – Synthetic anomaly dataset
- Download & Unzip the datasets.
- Move all extracted dataset files to the Adaptive-DecayRank folder.
- Ensure the dataset files are in the same directory before compilation.
-- run bash file ".\run.sh"
- pagerank.cpp Implements Adaptive-DecayRank algorithm with Bayesian updating. Computes anomaly scores for each node in the evolving graph.
- read_data.cpp Reads, processes, and prepares temporal graph data. Handles snapshot generation based on step size.
- Algorithm Process The anomaly scores are stored in DecayRank.txt True Positive Rate (TPR) and False Positive Rate (FPR) are stored in tpr_fpr_forAUC.txt The AUC values are used to plot the Precision-Recall and AUC curve.
Clone the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/Adaptive-DecayRank.git
cd Adaptive-DecayRank