News for hackers. Stuff that matters.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by dmos62 on Tuesday April 07, 2020 @10:16AM (#22803391)
Git repo https://github.com/bhatiasiddharth/MIDAS

> Up to 48% more accurate and 644 times faster than the state of the art approaches

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @10:34AM (#22803555)
Thanks. We give theoretical guarantees on the False Positive Probability which can be useful to decide the parameters. Some use cases of the project include detecting: 1. Intrusions 2. Fake Ratings 3. Financial Fraud
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by lmeyerov on Tuesday April 07, 2020 @03:22PM (#22806551)
If anyone would be interested in trying to apply these techniques to our COVID behavior change & anti-misinformation effort ProjectDomino.org, we'd be happy to share data - this may be quite helpful! Just jump into the Slack (open invite) and we can start getting you situated.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @03:27PM (#22806587)
Sounds interesting. Can you elaborate on what the data is like?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by MintChocoisEw on Tuesday April 07, 2020 @09:20PM (#22809220)
Im currently curating an article about the best COVID datasets and resources so i'd be interested in this
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by ronittaleti on Friday April 10, 2020 @10:58PM (#22839350)
How do you think this can help change the landscape of security, judging by the fast speeds, as low as .13s on DARPA, I imagine it will help block larger numbers of suspicious activities.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by debangsha on Tuesday April 07, 2020 @03:19PM (#22806522)
As a researcher in anomaly detection myself, I found the premise of the paper very intriguing.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by fudged71 on Tuesday April 07, 2020 @04:01PM (#22806922)
Gephi has a realtime stream importer for Twitter. Would it be possible for this tool to be a Gephi plugin that could be used in realtime on the same graph?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @04:10PM (#22807003)
Definitely. It will need only very small changes to the code. I would love to add it as a plugin. Can you point to some resources that can help in incorporating MIDAS into Gephi.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by fudged71 on Wednesday April 08, 2020 @06:08PM (#22817730)
Awesome! It seems like this is the best place to start: https://github.com/gephi/gephi-plugins
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by nimish_17 on Tuesday April 07, 2020 @01:37PM (#22805480)
This will propel important research into anomaly detection using dynamic graphs. Existing static graph methods have huge flaws; this would fix some of them
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by shivin9 on Tuesday April 07, 2020 @08:59AM (#22802752)
Can you share the implementation?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @09:18AM (#22802920)
Code and Datasets we used are available at https://github.com/bhatiasiddharth/MIDAS
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by rathel on Tuesday April 07, 2020 @01:35PM (#22805465)
Nice! I like there's a ready-to-use command line utility.

I think it'd benefit from a refactor to actually allow real-time streaming from stdin.

Do you have any hints how to choose timestamp units and how that affects parameters I should choose?

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @01:41PM (#22805526)
Nice suggestion. Will definitely try to refactor. Thanks!

In most of the cases, timestamps should be with the data itself (assuming its a dynamic graph). If timestamps are to be chosen, one can select in a way seeing how many edges usually come in one time tick (second/minute etc.)

Timestamps don't affect any parameters other than alpha (temporal decay factor). You may want to check out how to decay the contribution of the past edges in the anomalousness of the current edge. If there is lot of granularity in the timestamps, a smaller alpha should be chosen. Hope it helps.

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by rathel on Tuesday April 07, 2020 @01:53PM (#22805649)
Thank you for the explanation.

I'm looking forward to M-Stream for multi-dimensional data - but I have one question for that. Is there some preferred approach for selecting features in multi-dimensional anomaly detection?

Because I wonder if given enough dimensions, everything would be anomalous. Kind of like p-hacking works (at p=0.05 one of twenty hypotheses is falsely accepted just by sheer luck).

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @02:08PM (#22805776)
Interesting question. With an increase in dimensions, we consider the correlation between the features in addition to considering them individually. The work is currently under review. Feel free to get in touch and I can update you once we release the MStream work.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by RocketSyntax on Tuesday April 07, 2020 @10:37AM (#22803580)
How are anomalous edges (triplet pairings) different from anomalous communities?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @10:50AM (#22803693)
We detect suddenly appearing bursts of activity which share many repeated nodes or edges, which we refer to as microclusters. E.g. denial of service (DoS) attacks in network traffic data and lockstep behavior.

Also, we detect scenarios where an individual edge may not be anomalous but along with other edges it acts as an anomalous community. For example, in the animation at https://github.com/bhatiasiddharth/MIDAS/ it may be possible that an individual edge is not anomalous but together the three malicious entities do a coordinated DoS attack.

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by gbasin on Tuesday April 07, 2020 @11:15AM (#22803966)
This is very cool! I wonder where else this can be applied...
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @11:22AM (#22804037)
Thanks, MIDAS can be used to detect intrusions, fake ratings, frauds. Basically finding anomalous and suspicious behavior in a dynamic (time-evolving) graph.

We have also extended MIDAS to detect group anomalies in higher-dimensional records e.g. event-log data or multi-attributed graphs. We will release it soon.

Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by shera on Tuesday April 07, 2020 @05:09PM (#22807480)
Will it work if anomalies are more in number than normal?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @05:13PM (#22807520)
We assume (like any anomaly detection algorithm) that the majority is normal sample. In your context, the normal samples will be considered as outliers and therefore caught by the algorithm. One way to mitigate this is to either swap the labels. Another way is to sample a subset of the anomalies and then try.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by shera on Tuesday April 07, 2020 @05:15PM (#22807540)
Thank you. Is there a Java implementation available?
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by siddhartb_ on Tuesday April 07, 2020 @05:18PM (#22807571)
Currently MIDAS is available in Rust, Python, Ruby and R at https://github.com/bhatiasiddharth/MIDAS. If someone is interested to convert MIDAS to other languages, please feel free to do so and let me know so that I can add a link in the repository.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by eclee on Thursday April 09, 2020 @07:20AM (#22821468)
Great job. Thanks for sharing.
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by srivastavag on Tuesday April 07, 2020 @01:47PM (#22805602)
amazing work
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by kk58 on Tuesday April 07, 2020 @12:32PM (#22804700)
Excellent
Re:Show HN: Fast Anomaly Detection in Graphs [pdf] by kk58 on Tuesday April 07, 2020 @12:32PM (#22804699)
Excei