English

AdapTS: Lightweight Teacher-Student Approach for Multi-Class and Continual Visual Anomaly Detection

Computer Vision and Pattern Recognition 2026-03-19 v1 Artificial Intelligence

Abstract

Visual Anomaly Detection (VAD) is crucial for industrial inspection, yet most existing methods are limited to single-category scenarios, failing to address the multi-class and continual learning demands of real-world environments. While Teacher-Student (TS) architectures are efficient, they remain unexplored for the Continual Setting. To bridge this gap, we propose AdapTS, a unified TS framework designed for multi-class and continual settings, optimized for edge deployment. AdapTS eliminates the need for two different architectures by utilizing a single shared frozen backbone and injecting lightweight trainable adapters into the student pathway. Training is enhanced via a segmentation-guided objective and synthetic Perlin noise, while a prototype-based task identification mechanism dynamically selects adapters at inference with 99\% accuracy. Experiments on MVTec AD and VisA demonstrate that AdapTS matches the performance of existing TS methods across multi-class and continual learning scenarios, while drastically reducing memory overhead. Our lightest variant, AdapTS-S, requires only 8 MB of additional memory, 13x less than STFPM (95 MB), 48x less than RD4AD (360 MB), and 149x less than DeSTSeg (1120 MB), making it a highly scalable solution for edge deployment in complex industrial environments.

Keywords

Cite

@article{arxiv.2603.17530,
  title  = {AdapTS: Lightweight Teacher-Student Approach for Multi-Class and Continual Visual Anomaly Detection},
  author = {Manuel Barusco and Davide Dalle Pezze and Francesco Borsatti and Gian Antonio Susto},
  journal= {arXiv preprint arXiv:2603.17530},
  year   = {2026}
}
R2 v1 2026-07-01T11:25:49.352Z