Test Time Training for Industrial Anomaly Segmentation

Abstract

Anomaly Detection and Segmentation (AD&S) is crucial for industrial quality control. While existing methods excel in generating anomaly scores for each pixel, practical applications require producing a binary segmentation to identify anomalies. Due to the absence of labeled anomalies in many real scenarios, standard practices binarize these maps based on some statistics derived from a validation set containing only nominal samples, resulting in poor segmentation performance. This paper addresses this problem by proposing a test time training strategy to improve the segmentation performance. Indeed, at test time, we can extract rich features directly from anomalous samples to train a classifier that can discriminate defects effectively. Our general approach can work downstream to any AD&S method that provides an anomaly score map as output, even in mul-timodal settings. We demonstrate the effectiveness of our approach over baselines through extensive experimentation and evaluation on MVTec AD and MVTec 3D-AD.

Cite

Text

Costanzino et al. "Test Time Training for Industrial Anomaly Segmentation." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2024. doi:10.1109/CVPRW63382.2024.00395

Markdown

[Costanzino et al. "Test Time Training for Industrial Anomaly Segmentation." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2024.](https://mlanthology.org/cvprw/2024/costanzino2024cvprw-test/) doi:10.1109/CVPRW63382.2024.00395

BibTeX

@inproceedings{costanzino2024cvprw-test,
  title     = {{Test Time Training for Industrial Anomaly Segmentation}},
  author    = {Costanzino, Alex and Ramirez, Pierluigi Zama and Del Moro, Mirko and Aiezzo, Agostino and Lisanti, Giuseppe and Salti, Samuele and Di Stefano, Luigi},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2024},
  pages     = {3910-3920},
  doi       = {10.1109/CVPRW63382.2024.00395},
  url       = {https://mlanthology.org/cvprw/2024/costanzino2024cvprw-test/}
}