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

一种基于余弦相似度的分布外检测方法

A Cosine Similarity-based Method for Out-of-Distribution Detection

FPT Software AI Center(FPT软件人工智能中心);VinUniversity(文森大学);Johns Hopkins University(约翰斯·霍普金斯大学)

Nguyen Ngoc-Hieu, Nguyen Hung-Quang, The-Anh Ta, Thanh Nguyen-Tang, Khoa D Doan, Hoang Thanh-Tung

AI总结:

本文提出一种基于余弦相似度的事后OOD检测算法Class Typical Matching (CTM),通过计算测试特征与典型ID特征间的余弦相似度作为评分函数,在多个基准上优于现有方法。

摘要:

检测OOD数据是实际机器学习应用的关键方面。在本工作中,我们展示了测试特征与典型ID特征之间的余弦相似度是OOD数据的良好指标。我们提出了Class Typical Matching(CTM),这是一种使用余弦相似度评分函数的事后OOD检测算法。在多个基准上的广泛实验表明,CTM优于现有的事后OOD检测方法。

英文摘要:

The ability to detect OOD data is a crucial aspect of practical machine learning applications. In this work, we show that cosine similarity between the test feature and the typical ID feature is a good indicator of OOD data. We propose Class Typical Matching (CTM), a post hoc OOD detection algorithm that uses a cosine similarity scoring function. Extensive experiments on multiple benchmarks show that CTM outperforms existing post hoc OOD detection methods.

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

↑