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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Out-of-Distribution Detection Using Maximum Entropy Coding and Generative Networks

Mojtaba Abolfazli, Mohammad Zaeri Amirani, Anders Høst-Madsen, András Bratincsák et al.
Image and Signal Denoising Methods
article

Out-of-Distribution Detection Using Maximum Entropy Coding and Generative Networks

Mojtaba Abolfazli, Mohammad Zaeri Amirani, Anders Høst-Madsen, András Bratincsák, Jun Zhang
article en

Abstract

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.

University of Hawaii System (US)
National Science Foundation, National Institutes of Health
Affordable and clean energy
Openalex Percentile: Top 73%
Image and Signal Denoising Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.