arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.09543stat.MLcs.AIcs.LG
收藏

基于潜在空间密度估计的分布外检测元学习

Meta-learning for Out-of-Distribution Detection via Density Estimation in Latent Space

NTT Communication Science Laboratories(NTT通信科学实验室);NTT Computer and Data Science Laboratories(NTT计算机与数据科学实验室)

Tomoharu Iwata, Atsutoshi Kumagai

摘要:

已经提出了许多基于神经网络的分布外(OoD)检测方法。然而,它们需要为每个目标任务提供许多训练数据。我们提出了一种简单而有效的元学习方法来检测目标任务中具有小分布数据的OoD。该方法通过潜在空间中的密度估计实现OoD检测。所有任务之间共享的神经网络用于灵活地将原始空间中的实例映射到潜在空间。对神经网络进行元学习,使得通过使用与目标任务不同的各种任务来提高预期的OoD检测性能。这种元学习过程使我们能够在潜在空间中获得适当的表示,用于OoD检测。对于密度估计,我们使用一个高斯混合模型(GMM)与全协方差的每一类。我们可以通过最大化可能性来使GMM参数以封闭形式适应每个任务中的分布数据。由于封闭形式的解决方案是可微的,我们可以元学习的神经网络有效地与随机梯度下降方法,通过将解决方案纳入元学习目标函数。在使用六个数据集的实验中,我们证明了所提出的方法比现有的元学习和OoD检测方法具有更好的性能。

英文摘要:

Many neural network-based out-of-distribution (OoD) detection methods have been proposed. However, they require many training data for each target task. We propose a simple yet effective meta-learning method to detect OoD with small in-distribution data in a target task. With the proposed method, the OoD detection is performed by density estimation in a latent space. A neural network shared among all tasks is used to flexibly map instances in the original space to the latent space. The neural network is meta-learned such that the expected OoD detection performance is improved by using various tasks that are different from the target tasks. This meta-learning procedure enables us to obtain appropriate representations in the latent space for OoD detection. For density estimation, we use a Gaussian mixture model (GMM) with full covariance for each class. We can adapt the GMM parameters to in-distribution data in each task in a closed form by maximizing the likelihood. Since the closed form solution is differentiable, we can meta-learn the neural network efficiently with a stochastic gradient descent method by incorporating the solution into the meta-learning objective function. In experiments using six datasets, we demonstrate that the proposed method achieves better performance than existing meta-learning and OoD detection methods.

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

↑