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

06/20/2022
by   Tomoharu Iwata, et al.
0

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.

READ FULL TEXT
research
03/01/2021

Meta-learning One-class Classifiers with Eigenvalue Solvers for Supervised Anomaly Detection

Neural network-based anomaly detection methods have shown to achieve hig...
research
03/01/2021

Meta-learning representations for clustering with infinite Gaussian mixture models

For better clustering performance, appropriate representations are criti...
research
07/02/2021

Meta-Learning for Relative Density-Ratio Estimation

The ratio of two probability densities, called a density-ratio, is a vit...
research
06/29/2021

Meta-learning for Matrix Factorization without Shared Rows or Columns

We propose a method that meta-learns a knowledge on matrix factorization...
research
06/18/2020

Unsupervised out-of-distribution detection using kernel density estimation

Deep neural networks achieve significant advancement to the state-of-the...
research
02/08/2023

Disentangling Learning Representations with Density Estimation

Disentangled learning representations have promising utility in many app...
research
07/15/2023

Generative Meta-Learning Robust Quality-Diversity Portfolio

This paper proposes a novel meta-learning approach to optimize a robust ...

Please sign up or login with your details

Forgot password? Click here to reset