Out-of-Distribution Detection using Maximum Entropy Coding

Abstract

Given a default distribution P and a set of test data xM=\x1,x2,…,xM\ this paper seeks to answer the question if it was likely that xM was generated by P. For discrete distributions, the definitive answer is in principle given by Kolmogorov-Martin-L\"of randomness. In this paper we seek to generalize this to continuous distributions. We consider a set of statistics T1(xM),T2(xM),…. 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 - P(xM). We show that this approach satisfied a number of theoretical properties. For real world data P 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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…