arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00472cs.CV
收藏

基于原型的语义分割异常检测

Detecting Anomalies in Semantic Segmentation with Prototypes

Politecnico di Torino(都灵理工大学);Italian Institute of Technology(意大利理工学院);University of Tübingen(图宾根大学)

Dario Fontanel, Fabio Cermelli, Massimiliano Mancini, Barbara Caputo

摘要:

传统的语义分割方法在测试时只能识别训练集中存在的类。这是一个显著的限制,特别是对于安装在智能自主系统上的、部署在现实环境中的语义分割算法。无论系统在训练时看到了多少类,在测试时都不可避免地会出现意想不到的未知对象。识别这种异常的失败可能导致配备有这种分割模型的自主智能体在部署在现实世界中时的不正确的、甚至危险的行为。目前的异常分割技术使用生成模型,利用它们无法重建训练期间看不到的模式。然而,训练这些模型是昂贵的,并且它们生成的工件可能会产生虚假的异常。在本文中,我们采取了不同的路线,我们建议通过原型学习来解决异常分割问题。我们的直觉是,异常像素是那些与模型已知的所有类原型不相似的像素。我们提取类原型的训练数据在一个轻量级的方式使用余弦相似性为基础的分类。StreetHazards上的实验表明,我们的方法实现了新的艺术状态,与以前的作品有显着的利润率,尽管减少了计算开销。代码可在https://github.com/DarioFontanel/PAnS上获得。

英文摘要:

Traditional semantic segmentation methods can recognize at test time only the classes that are present in the training set. This is a significant limitation, especially for semantic segmentation algorithms mounted on intelligent autonomous systems, deployed in realistic settings. Regardless of how many classes the system has seen at training time, it is inevitable that unexpected, unknown objects will appear at test time. The failure in identifying such anomalies may lead to incorrect, even dangerous behaviors of the autonomous agent equipped with such segmentation model when deployed in the real world. Current state of the art of anomaly segmentation uses generative models, exploiting their incapability to reconstruct patterns unseen during training. However, training these models is expensive, and their generated artifacts may create false anomalies. In this paper we take a different route and we propose to address anomaly segmentation through prototype learning. Our intuition is that anomalous pixels are those that are dissimilar to all class prototypes known by the model. We extract class prototypes from the training data in a lightweight manner using a cosine similarity-based classifier. Experiments on StreetHazards show that our approach achieves the new state of the art, with a significant margin over previous works, despite the reduced computational overhead. Code is available at https://github.com/DarioFontanel/PAnS.

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

↑