d-ailin / GDN

Implementation code for the paper "Graph Neural Network-Based Anomaly Detection in Multivariate Time Series" (AAAI 2021)
MIT License
467 stars 140 forks source link

Some questions about the paper #34

Closed Luca1236a closed 2 years ago

Luca1236a commented 2 years ago

Hi, thank you so much for your wonderful work! I'm working on Anomaly Detection too, but I'm a beginner in graph network. I have 2 questions:

  1. About the sensor embedding, each vector v represent a sensor. So, with the window size = 5 as in your paper, vector v represents one sensor in the whole 5 timepoints, right? If my understanding is correct, can we apply your method to dynamic window size instead of using a fixed value of window size?
  2. In Eq.7 in the paper, I'm still not clear about a (a vector of learned coefficients for the attention mechanism). Can you explain a little bit more about a? How can we get it?

Sorry if I asked dummy questions. I'm looking forward to your reply! Thank you so much!

d-ailin commented 2 years ago

Thanks for your interest in our work.

  1. No. The vector v should be taken as a global sensor embedding for a sensor, and its dimension can be any predefined dimension number d. The window size is corresponding to the input size in Eq. (4). I think the current method can not be applied to dynamic window size directly, as the parameter W's shape is determined by the window size.
  2. For the attention mechanism, you can take a as an indicator of the importance of node j's features to node i's. You can also find more details in GAT https://arxiv.org/pdf/1710.10903.pdf.
Luca1236a commented 2 years ago

Thank you so much for the answer!