Skip to main navigation Skip to search Skip to main content

HaloAE: A Local Transformer Auto-Encoder for Anomaly Detection and Localization Based on HaloNet

  • Emilie Mathian
  • , Huidong Liu
  • , Lynnette Fernandez-Cuesta
  • , Dimitris Samaras
  • , Matthieu Foll
  • , Liming Chen
  • International Agency for Research on Cancer
  • École centrale de Lyon

Research output: Contribution to journalConference articlepeer-review

1 Scopus citations

Abstract

Unsupervised anomaly detection and localization is a crucial task in many applications, e.g., defect detection in industry, cancer localization in medicine, and requires both local and global information as enabled by the self-attention in Transformer. However, brute force adaptation of Transformer, e.g., ViT, suffers from two issues: 1) the high computation complexity, making it hard to deal with high-resolution images; and 2) patch-based tokens, which are inappropriate for pixel-level dense prediction tasks, e.g., anomaly localization,and ignores intra-patch interactions. We present HaloAE, the first auto-encoder based on a local 2D version of Transformer with HaloNet allowing intra-patch correlation computation with a receptive field covering 25% of the input image. HaloAE combines convolution and local 2D block-wise self-attention layers and performs anomaly detection and segmentation through a single model. Moreover, because the loss function is generally a weighted sum of several losses, we also introduce a novel dynamic weighting scheme to better optimize the learning of the model.

Keywords

  • Anomaly Detection
  • Auto-Encoder
  • HaloNet
  • Transformer

Fingerprint

Dive into the research topics of 'HaloAE: A Local Transformer Auto-Encoder for Anomaly Detection and Localization Based on HaloNet'. Together they form a unique fingerprint.

Cite this