FewSOME:基于孪生网络的单类少样本异常检测
FewSOME: One-Class Few Shot Anomaly Detection with Siamese Networks
AI总结:
针对现有异常检测技术数据需求大、训练复杂的问题,提出基于孪生网络和Stop Loss的少样本单类异常检测算法FewSOME,仅需少量正常样本即可达到SOTA性能且鲁棒性强。
摘要:
近年来的异常检测技术在该领域取得了长足进展,但代价是训练流程日益复杂。这类技术需要大量训练数据,导致算法计算成本高昂,不适用于仅有少量正常样本可用于训练的场景。我们提出了“少样本异常检测”(Few Shot anOMaly detection,简称FewSOME),这是一种深度单类异常检测算法,仅在少量正常类样本、无异常类样本的条件下训练,就能准确检测异常。由于数据需求低、训练时间短,FewSOME的复杂度较低。该方法以孪生网络(Siamese Networks)为架构基础,并借助预训练权重提升性能。通过消融实验,我们验证了所提出的“Stop Loss(停止损失)”函数如何提升FewSOME的鲁棒性。实验结果表明,仅用30个正常样本训练(这一数据量仅为现有方法训练数据的极小一部分),FewSOME在基准数据集MNIST、CIFAR-10、F-MNIST和MVTec AD上的性能就能达到当前最优水平。此外,实验还显示FewSOME对受污染的数据集具有鲁棒性。除AUC外,我们还报告了F1分数和平衡准确率,可作为未来技术对比的基准。代码已开源,地址:https://github.com/niamhbelton/FewSOME。
英文摘要:
Recent Anomaly Detection techniques have progressed the field considerably but at the cost of increasingly complex training pipelines. Such techniques require large amounts of training data, resulting in computationally expensive algorithms that are unsuitable for settings where only a small amount of normal samples are available for training. We propose 'Few Shot anOMaly detection' (FewSOME), a deep One-Class Anomaly Detection algorithm with the ability to accurately detect anomalies having trained on 'few' examples of the normal class and no examples of the anomalous class. We describe FewSOME to be of low complexity given its low data requirement and short training time. FewSOME is aided by pretrained weights with an architecture based on Siamese Networks. By means of an ablation study, we demonstrate how our proposed loss, 'Stop Loss', improves the robustness of FewSOME. Our experiments demonstrate that FewSOME performs at state-of-the-art level on benchmark datasets MNIST, CIFAR-10, F-MNIST and MVTec AD while training on only 30 normal samples, a minute fraction of the data that existing methods are trained on. Moreover, our experiments show FewSOME to be robust to contaminated datasets. We also report F1 score and balanced accuracy in addition to AUC as a benchmark for future techniques to be compared against. Code available; https://github.com/niamhbelton/FewSOME.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。