English

PaSTe: Improving the Efficiency of Visual Anomaly Detection at the Edge

Computer Vision and Pattern Recognition 2024-10-16 v1 Artificial Intelligence Machine Learning

Abstract

Visual Anomaly Detection (VAD) has gained significant research attention for its ability to identify anomalous images and pinpoint the specific areas responsible for the anomaly. A key advantage of VAD is its unsupervised nature, which eliminates the need for costly and time-consuming labeled data collection. However, despite its potential for real-world applications, the literature has given limited focus to resource-efficient VAD, particularly for deployment on edge devices. This work addresses this gap by leveraging lightweight neural networks to reduce memory and computation requirements, enabling VAD deployment on resource-constrained edge devices. We benchmark the major VAD algorithms within this framework and demonstrate the feasibility of edge-based VAD using the well-known MVTec dataset. Furthermore, we introduce a novel algorithm, Partially Shared Teacher-student (PaSTe), designed to address the high resource demands of the existing Student Teacher Feature Pyramid Matching (STFPM) approach. Our results show that PaSTe decreases the inference time by 25%, while reducing the training time by 33% and peak RAM usage during training by 76%. These improvements make the VAD process significantly more efficient, laying a solid foundation for real-world deployment on edge devices.

Keywords

Cite

@article{arxiv.2410.11591,
  title  = {PaSTe: Improving the Efficiency of Visual Anomaly Detection at the Edge},
  author = {Manuel Barusco and Francesco Borsatti and Davide Dalle Pezze and Francesco Paissan and Elisabetta Farella and Gian Antonio Susto},
  journal= {arXiv preprint arXiv:2410.11591},
  year   = {2024}
}

Comments

13 pages, 6 figures

R2 v1 2026-06-28T19:22:35.485Z