R2-AD2: Detecting Anomalies by Analysing the Raw Gradient

Jan-Philipp Schulze, Philip Sperl, Ana Răduţoiu, Carla Sagebiel, Konstantin Böttinger
6/21/2022
cs.LGcs.CR

Official code: Fraunhofer-AISEC/R2-AD2 (2 stars, Python, TensorFlow, last commit 2022-07-29).

Abstract

Neural networks follow a gradient-based learning scheme, adapting their mapping parameters by back-propagating the output loss. Samples unlike the ones seen during training cause a different gradient distribution.

Show full abstract

Based on this intuition, we design a novel semi-supervised anomaly detection method called R2-AD2. By analysing the temporal distribution of the gradient over multiple training steps, we reliably detect point anomalies in strict semi-supervised settings. Instead of domain dependent features, we input the raw gradient caused by the sample under test to an end-to-end recurrent neural network architecture. R2-AD2 works in a purely data-driven way, thus is readily applicable in a variety of important use cases of anomaly detection.

View on arXivView PDF

Code Implementations(1)

TensorFlow

R2-AD2: Detecting Anomalies by Analysing the Raw Gradient

20Python, DockerfileJun 17, 20224 years agoNOASSERTION
anomaly-detectiondata-miningdeep-learningecml-pkddit-security+4 more

Similar Papers

Cite this paper

@article{schulze2022rad,
  title  = {R2-AD2: Detecting Anomalies by Analysing the Raw Gradient},
  author = {Jan-Philipp Schulze and Philip Sperl and Ana Răduţoiu and Carla Sagebiel and Konstantin Böttinger},
  year   = {2022},
  eprint = {2206.10259},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.10259}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.10259.svg)](https://codeofpaper.com/paper/2206.10259)

Discussion