Dual Representation Learning for Out-of-Distribution Detection

Zhilin Zhao, Longbing Cao
6/19/2022
cs.LG

Official code: Lawliet-zzl/DRL (1 star, Python, MIT, last commit 2021-11-18).

Abstract

To classify in-distribution samples, deep neural networks explore strongly label-related information and discard weakly label-related information according to the information bottleneck. Out-of-distribution samples drawn from distributions differing from that of in-distribution samples could be assigned with unexpected high-confidence predictions because they could obtain minimum strongly label-related information.

Show full abstract

To distinguish in- and out-of-distribution samples, Dual Representation Learning (DRL) makes out-of-distribution samples harder to have high-confidence predictions by exploring both strongly and weakly label-related information from in-distribution samples. For a pretrained network exploring strongly label-related information to learn label-discriminative representations, DRL trains its auxiliary network exploring the remaining weakly label-related information to learn distribution-discriminative representations. Specifically, for a label-discriminative representation, DRL constructs its complementary distribution-discriminative representation by integrating diverse representations less similar to the label-discriminative representation. Accordingly, DRL combines label- and distribution-discriminative representations to detect out-of-distribution samples. Experiments show that DRL outperforms the state-of-the-art methods for out-of-distribution detection.

View on arXivView PDF

Code Implementations(1)

Lawliet-zzl/DRLOfficial100%
MIT
10Python, ShellFeb 2, 20215 years agoMIT

Similar Papers

Cite this paper

@article{zhao2022dual,
  title  = {Dual Representation Learning for Out-of-Distribution Detection},
  author = {Zhilin Zhao and Longbing Cao},
  year   = {2022},
  eprint = {2206.09387},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09387}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.09387.svg)](https://codeofpaper.com/paper/2206.09387)

Discussion