这是一个集群游戏吗?--探索基于嵌入空间聚类的分布外检测
Is it all a cluster game? -- Exploring Out-of-Distribution Detection based on Clustering in the Embedding Space
摘要:
对于深度神经网络的安全关键型应用,确定新输入何时与训练分布显著不同至关重要。在本文中,我们探讨了这种出分布(OOD)检测问题的图像分类使用集群的语义相似的嵌入的训练数据和利用这些集群之间的距离关系的差异分布数据。我们研究了嵌入空间中聚类的结构和分离,发现有监督的对比学习可以得到分离良好的聚类,而自监督学习则不能。在我们对不同的训练方法、聚类策略、距离度量和阈值方法的广泛分析中,我们观察到没有明确的赢家。最佳方法取决于模型架构和所选的分布内和分布外数据集。虽然我们可以在CIFAR-10上再现作为分布数据的对比训练的出色结果,但我们发现,当在CIFAR-100上训练时,标准交叉熵与余弦相似性配对优于所有对比训练方法。与昂贵的对比训练方法相比,交叉熵提供了有竞争力的结果。
英文摘要:
It is essential for safety-critical applications of deep neural networks to determine when new inputs are significantly different from the training distribution. In this paper, we explore this out-of-distribution (OOD) detection problem for image classification using clusters of semantically similar embeddings of the training data and exploit the differences in distance relationships to these clusters between in- and out-of-distribution data. We study the structure and separation of clusters in the embedding space and find that supervised contrastive learning leads to well-separated clusters while its self-supervised counterpart fails to do so. In our extensive analysis of different training methods, clustering strategies, distance metrics, and thresholding approaches, we observe that there is no clear winner. The optimal approach depends on the model architecture and selected datasets for in- and out-of-distribution. While we could reproduce the outstanding results for contrastive training on CIFAR-10 as in-distribution data, we find standard cross-entropy paired with cosine similarity outperforms all contrastive training methods when training on CIFAR-100 instead. Cross-entropy provides competitive results as compared to expensive contrastive training methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。