Two Is Better Than One: Aligned Representation Pairs for Anomaly Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ryser, Alain, Sutter, Thomas M., Marx, Alexander, Vogt, Julia E.
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912593295179776
author Ryser, Alain
Sutter, Thomas M.
Marx, Alexander
Vogt, Julia E.
author_facet Ryser, Alain
Sutter, Thomas M.
Marx, Alexander
Vogt, Julia E.
contents Anomaly detection focuses on identifying samples that deviate from the norm. Discovering informative representations of normal samples is crucial to detecting anomalies effectively. Recent self-supervised methods have successfully learned such representations by employing prior knowledge about anomalies to create synthetic outliers during training. However, we often do not know what to expect from unseen data in specialized real-world applications. In this work, we address this limitation with our new approach Con$_2$, which leverages prior knowledge about symmetries in normal samples to observe the data in different contexts. Con$_2$ consists of two parts: Context Contrasting clusters representations according to their context, while Content Alignment encourages the model to capture semantic information by aligning the positions of normal samples across clusters. The resulting representation space allows us to detect anomalies as outliers of the learned context clusters. We demonstrate the benefit of this approach in extensive experiments on specialized medical datasets, outperforming competitive baselines based on self-supervised learning and pretrained models and presenting competitive performance on natural imaging benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2405_18848
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Two Is Better Than One: Aligned Representation Pairs for Anomaly Detection
Ryser, Alain
Sutter, Thomas M.
Marx, Alexander
Vogt, Julia E.
Machine Learning
Artificial Intelligence
Anomaly detection focuses on identifying samples that deviate from the norm. Discovering informative representations of normal samples is crucial to detecting anomalies effectively. Recent self-supervised methods have successfully learned such representations by employing prior knowledge about anomalies to create synthetic outliers during training. However, we often do not know what to expect from unseen data in specialized real-world applications. In this work, we address this limitation with our new approach Con$_2$, which leverages prior knowledge about symmetries in normal samples to observe the data in different contexts. Con$_2$ consists of two parts: Context Contrasting clusters representations according to their context, while Content Alignment encourages the model to capture semantic information by aligning the positions of normal samples across clusters. The resulting representation space allows us to detect anomalies as outliers of the learned context clusters. We demonstrate the benefit of this approach in extensive experiments on specialized medical datasets, outperforming competitive baselines based on self-supervised learning and pretrained models and presenting competitive performance on natural imaging benchmarks.
title Two Is Better Than One: Aligned Representation Pairs for Anomaly Detection
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2405.18848