Out-of-Distribution Detection Using Maximum Entropy Coding and Generative Networks
Given a default distribution <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$P$</tex> and a set of test data <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$x^{M}=\{x_{1},\ x_{2},\ \ldots,\ x_{M}\}$</tex> this paper seeks to answer the question if it was likely that <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$x^{M}$</tex> was generated by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$P$</tex>. For discrete distributions, the definitive answer is in principle given by Kolmogorov-Martin-Lof randomness. In this paper we seek to generalize this to continuous distributions. We consider a set of statistics <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$T_{1}(x^{M}), T_{2}(x^{M}),\cdots$</tex>. To each statistic we associate its maximum entropy distribution and with this a universal source coder. The maximum entropy distributions are subsequently combined to give a total codelength, which is compared with <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$-\log P(x^{M})$</tex>. We show that this approach satisfied a number of theoretical properties. For real world data <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$P$</tex> usually is unknown. We transform data into a standard distribution in the latent space using a bidirectional generate network and use maximum entropy coding there. We compare the resulting method to other methods that also used generative neural networks to detect anomalies. In most cases, our results show better performance.
Authors
- Mojtaba Abolfazli (ORCID: https://orcid.org/0000-0001-9437-5126)
- Mohammad Zaeri Amirani
- Anders Høst-Madsen (ORCID: https://orcid.org/0000-0002-1472-4953)
- András Bratincsák (ORCID: https://orcid.org/0000-0001-8537-827X)
- Jun Zhang (ORCID: https://orcid.org/0000-0001-7835-9871)
Institutions
- University of Hawaii System (US)
Publication Details
- Published
- 2024-11-10
- DOI
- https://doi.org/10.23919/isita60732.2024.10858233
- Primary Topic
- Image and Signal Denoising Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- National Institutes of Health