English

Out of Distribution Reasoning by Weakly-Supervised Disentangled Logic Variational Autoencoder

Machine Learning 2022-10-19 v1

Abstract

Out-of-distribution (OOD) detection, i.e., finding test samples derived from a different distribution than the training set, as well as reasoning about such samples (OOD reasoning), are necessary to ensure the safety of results generated by machine learning models. Recently there have been promising results for OOD detection in the latent space of variational autoencoders (VAEs). However, without disentanglement, VAEs cannot perform OOD reasoning. Disentanglement ensures a one- to-many mapping between generative factors of OOD (e.g., rain in image data) and the latent variables to which they are encoded. Although previous literature has focused on weakly-supervised disentanglement on simple datasets with known and independent generative factors. In practice, achieving full disentanglement through weak supervision is impossible for complex datasets, such as Carla, with unknown and abstract generative factors. As a result, we propose an OOD reasoning framework that learns a partially disentangled VAE to reason about complex datasets. Our framework consists of three steps: partitioning data based on observed generative factors, training a VAE as a logic tensor network that satisfies disentanglement rules, and run-time OOD reasoning. We evaluate our approach on the Carla dataset and compare the results against three state-of-the-art methods. We found that our framework outperformed these methods in terms of disentanglement and end-to-end OOD reasoning.

Keywords

Cite

@article{arxiv.2210.09959,
  title  = {Out of Distribution Reasoning by Weakly-Supervised Disentangled Logic Variational Autoencoder},
  author = {Zahra Rahiminasab and Michael Yuhas and Arvind Easwaran},
  journal= {arXiv preprint arXiv:2210.09959},
  year   = {2022}
}

Comments

Accepted in The 6th International Conference on System Reliability and Safety (ICSRS) 2022

R2 v1 2026-06-28T03:55:42.591Z