arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.20047cs.CVcs.LG
收藏

ResAD:一种用于类别泛化异常检测的简单框架

ResAD: A Simple Framework for Class Generalizable Anomaly Detection

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);China Pacific Insurance (Group) Co., Ltd.(中国太平洋保险(集团)股份有限公司);MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University(上海交通大学人工智能研究院、教育部人工智能重点实验室)

Xincheng Yao, Zixin Chen, Chao Gao, Guangtao Zhai, Chongyang Zhang

AI总结:

针对跨类别异常检测中正常特征差异导致泛化差的问题,本文提出ResAD框架,通过学习残差特征分布并加以约束和估计,使模型无需重训即可直接检测新类别异常。

摘要:

本文探讨了类别泛化异常检测问题,其目标是训练一个统一的AD模型,该模型能够泛化以检测来自不同领域的多种类别的异常,而无需在目标数据上进行任何重新训练或微调。由于正常特征表示在不同类别之间存在显著差异,这将导致被广泛研究的一对一AD模型具有较差的类别泛化能力(即,在用于新类别时性能急剧下降)。在本工作中,我们提出了一个简单但有效的框架(称为ResAD),可直接应用于检测新类别中的异常。我们的主要洞见是学习残差特征分布,而非初始特征分布。通过这种方式,我们可以显著减少特征变化。即使在新类别中,正常残差特征的分布也不会相对于已学习的分布发生显著偏移。因此,学习到的模型可以直接适配新类别。ResAD由三个组件组成:(1)Feature Converter(特征转换器),将初始特征转换为残差特征;(2)简单且浅层的Feature Constraintor(特征约束器),将正常残差特征约束到一个空间超球体内,以进一步减少特征变化并维持不同类别之间特征尺度的一致性;(3)Feature Distribution Estimator(特征分布估计器),估计正常残差特征分布,异常可被识别为分布外样本。尽管简单,ResAD在直接用于新类别时仍能取得显著的异常检测结果。代码可在https://github.com/xcyao00/ResAD获取。

英文摘要:

This paper explores the problem of class-generalizable anomaly detection, where the objective is to train one unified AD model that can generalize to detect anomalies in diverse classes from different domains without any retraining or fine-tuning on the target data. Because normal feature representations vary significantly across classes, this will cause the widely studied one-for-one AD models to be poorly classgeneralizable (i.e., performance drops dramatically when used for new classes). In this work, we propose a simple but effective framework (called ResAD) that can be directly applied to detect anomalies in new classes. Our main insight is to learn the residual feature distribution rather than the initial feature distribution. In this way, we can significantly reduce feature variations. Even in new classes, the distribution of normal residual features would not remarkably shift from the learned distribution. Therefore, the learned model can be directly adapted to new classes. ResAD consists of three components: (1) a Feature Converter that converts initial features into residual features; (2) a simple and shallow Feature Constraintor that constrains normal residual features into a spatial hypersphere for further reducing feature variations and maintaining consistency in feature scales among different classes; (3) a Feature Distribution Estimator that estimates the normal residual feature distribution, anomalies can be recognized as out-of-distribution. Despite the simplicity, ResAD can achieve remarkable anomaly detection results when directly used in new classes. The code is available at https://github.com/xcyao00/ResAD.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑