Puzzle-AE: Novelty Detection in Images through Solving Puzzles

Mohammadreza Salehi, Ainaz Eftekhar, Niousha Sadjadi, Mohammad Hossein Rohban, Hamid R. Rabiee
8/29/2020
cs.CV

Official code: Niousha12/Puzzle_Anomaly_Detection (8 stars, Python, last commit 2021-04-22).

Abstract

Autoencoder, as an essential part of many anomaly detection methods, is lacking flexibility on normal data in complex datasets. U-Net is proved to be effective for this purpose but overfits on the training data if trained by just using reconstruction error similar to other AE-based frameworks.

Show full abstract

Puzzle-solving, as a pretext task of self-supervised learning (SSL) methods, has earlier proved its ability in learning semantically meaningful features. We show that training U-Nets based on this task is an effective remedy that prevents overfitting and facilitates learning beyond pixel-level features. Shortcut solutions, however, are a big challenge in SSL tasks, including jigsaw puzzles. We propose adversarial robust training as an effective automatic shortcut removal. We achieve competitive or superior results compared to the State of the Art (SOTA) anomaly detection methods on various toy and real-world datasets. Unlike many competitors, the proposed framework is stable, fast, data-efficient, and does not require unprincipled early stopping.

View on arXivView PDF

Code Implementations(1)

86PythonMar 8, 20215 years ago

Similar Papers

Cite this paper

@article{salehi2020puzzleae,
  title  = {Puzzle-AE: Novelty Detection in Images through Solving Puzzles},
  author = {Mohammadreza Salehi and Ainaz Eftekhar and Niousha Sadjadi and Mohammad Hossein Rohban and Hamid R. Rabiee},
  year   = {2020},
  eprint = {2008.12959},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.12959}
}

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

Discussion