MVREC: A General Few-Shot Defect Classification Model Using Multi-View Region-Context

Abstract

Few-shot defect multi-classification (FSDMC) is an emerging trend in quality control within industrial manufacturing. However, current FSDMC research often lacks generalizability due to its focus on specific datasets. Additionally, defect classification heavily relies on contextual information within images, and existing methods fall short of effectively extracting this information. To address these challenges, we propose a general FSDMC framework called MVREC, which offers two primary advantages: (1) MVREC extracts general features for defect instances by incorporating the pre-trained AlphaCLIP model. (2) It utilizes a region-context framework to enhance defect features by leveraging mask region input and multi-view context augmentation. Furthermore, Few-shot Zip-Adapter(-F) classifiers within the model are introduced to cache the visual features of the support set and perform few-shot classification. We also introduce MVTec-FS, a new FSDMC benchmark based on MVTec AD, which includes 1228 defect images with instance-level mask annotations and 46 defect types. Extensive experiments conducted on MVTec-FS and four additional datasets demonstrate its effectiveness in general defect classification and its ability to incorporate contextual information to improve classification performance.

Cite

Text

Lyu et al. "MVREC: A General Few-Shot Defect Classification Model Using Multi-View Region-Context." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I6.32634

Markdown

[Lyu et al. "MVREC: A General Few-Shot Defect Classification Model Using Multi-View Region-Context." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/lyu2025aaai-mvrec/) doi:10.1609/AAAI.V39I6.32634

BibTeX

@inproceedings{lyu2025aaai-mvrec,
  title     = {{MVREC: A General Few-Shot Defect Classification Model Using Multi-View Region-Context}},
  author    = {Lyu, Shuai and Zhang, Rongchen and Ma, Zeqi and Liao, Fangjian and Mo, Dongmei and Wong, Waikeung},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {5937-5945},
  doi       = {10.1609/AAAI.V39I6.32634},
  url       = {https://mlanthology.org/aaai/2025/lyu2025aaai-mvrec/}
}