English

R2-AD2: Detecting Anomalies by Analysing the Raw Gradient

Machine Learning 2023-04-25 v1 Cryptography and Security

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. 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.

Keywords

Cite

@article{arxiv.2206.10259,
  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},
  journal= {arXiv preprint arXiv:2206.10259},
  year   = {2023}
}

Comments

Accepted at ECML-PKDD 2022

R2 v1 2026-06-24T11:58:15.176Z