Retrieval Augmented Deep Anomaly Detection for Tabular Data

Hugo Thimonier, Fabrice Popineau, Arpad Rimmel, Bich-Liên Doan
1/30/2024
cs.LG

No official code found. Best implementation: hugothimonier/Retrieval-Augmented-Deep-Anomaly-Detection-for-Tabular-Data (5 stars, last commit 2024-11-19).

Abstract

Deep learning for tabular data has garnered increasing attention in recent years, yet employing deep models for structured data remains challenging. While these models excel with unstructured data, their efficacy with structured data has been limited. Recent research has introduced retrieval-augmented models to address this gap, demonstrating promising results in supervised tasks such as classification and regression. In this work, we investigate using retrieval-augmented models for anomaly detection on tabular data. We propose a reconstruction-based approach in which a transformer model learns to reconstruct masked features of \textit{normal} samples. We test the effectiveness of KNN-based and attention-based modules to select relevant samples to help in the reconstruction process of the target sample. Our experiments on a benchmark of 31 tabular datasets reveal that augmenting this reconstruction-based anomaly detection (AD) method with sample-sample dependencies via retrieval modules significantly boosts performance. The present work supports the idea that retrieval module are useful to augment any deep AD method to enhance anomaly detection on tabular data.

View on arXivView PDF

Code Implementations(1)

Repo containing the code to run the experiment for the paper "Making Parametric Anomaly Detection on Tabular Data Non-Parametric Again".

50Shell, PythonJan 30, 20241 years ago

Similar Papers

Cite this paper

@article{thimonier2024retrieval,
  title  = {Retrieval Augmented Deep Anomaly Detection for Tabular Data},
  author = {Hugo Thimonier and Fabrice Popineau and Arpad Rimmel and Bich-Liên Doan},
  year   = {2024},
  eprint = {2401.17052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.17052v2}
}

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/2401.17052.svg)](https://codeofpaper.com/paper/2401.17052)

Discussion