Skip to content

YifeiLin0226/LifeLongAnomalyUnlearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LifeLongAnomalyUnlearn

An unofficial implementation of Lifelong Anomaly Detection Through Unlearning(CCS' 19)read here

Due to the limited public implementations in the field of lifelong/online log anomaly detection, this repo is created for the study purpose and only the implementation with the HDFS log dataset is made. You are more than welcome to share your insights and point out any code issues.

Currently I am still unable to get satifactory experimental results, potentially due to the wrong model structure or hyparameter selection. The weight $w_i$ is not added to unlearning due to the computation of the gradient over all the samples from the memory set $M_t$.

Install Requirements

pip install -r requirements.txt

or

pip install torch logparser3

Download Datasets

  1. Download and extract HDFS dataset from here
  2. In main.py, set the input_dir to the directory of HDFS.log, set the out_dir to the directory of storing the parsed and processed data.
    input_dir =   
    output_dir =
    

Run the program

python -m main

Feel free to adjust the params in options variable

About

An unofficial implementation of Lifelong Anomaly Detection Through Unlearning(CCS' 19)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages