Multimodal Task Representation Memory Bank vs. Catastrophic Forgetting in Anomaly Detection
You Zhou, Jiangshan Zhao, Deyu Zeng, Zuo Zuo, Weixiang Liu, Zongze Wu
TL;DR
The paper tackles unsupervised continual anomaly detection (UCAD) under multi-task settings by addressing catastrophic forgetting caused by incomplete multimodal representations. It introduces the Multimodal Task Representation Memory Bank (MTRMB), which combines a Key-Prompt-Multimodal Knowledge (KPMK) mechanism with Refined Structure-based Contrastive Learning (RSCL) to preserve prior task knowledge while adapting to new tasks, enabling cross-modal fusion between BERT and ViT. During inference, MTRMB retrieves task-specific prompts and uses segmentation-guided structure masks from Grounding DINO and SAM to produce compact, transferable representations and robust anomaly scores. Experiments on MVTEC AD and VisA show state-of-the-art continual detection performance with an average detection accuracy of $0.921$ at the lowest forgetting rate, and the authors plan to open-source the implementation on GitHub.
Abstract
Unsupervised Continuous Anomaly Detection (UCAD) faces significant challenges in multi-task representation learning, with existing methods suffering from incomplete representation and catastrophic forgetting. Unlike supervised models, unsupervised scenarios lack prior information, making it difficult to effectively distinguish redundant and complementary multimodal features. To address this, we propose the Multimodal Task Representation Memory Bank (MTRMB) method through two key technical innovations: A Key-Prompt-Multimodal Knowledge (KPMK) mechanism that uses concise key prompts to guide cross-modal feature interaction between BERT and ViT. Refined Structure-based Contrastive Learning (RSCL) leveraging Grounding DINO and SAM to generate precise segmentation masks, pulling features of the same structural region closer while pushing different structural regions apart. Experiments on MVtec AD and VisA datasets demonstrate MTRMB's superiority, achieving an average detection accuracy of 0.921 at the lowest forgetting rate, significantly outperforming state-of-the-art methods. We plan to open source on GitHub.
