Pareto-optimal data compression for binary classification tasks

The goal of lossy data compression is to reduce the storage cost of a data set while retaining as much information as possible about something () that you care about. For example, what aspects of an image contain the most information about whether it depicts a cat? Mathematically, this corresponds to finding a mapping that maximizes the mutual information while the entropy is kept below some fixed threshold. We present a method for mapping out the Pareto frontier for classification tasks, reflecting the tradeoff between retained entropy and class information. We first show how a random variable (an image, say) drawn from a class can be distilled into a vector losslessly, so that ; for example, for a binary classification task of cats and dogs, each image is mapped into a single real number retaining all information that helps distinguish cats from dogs. For the case of binary classification, we then show how can be further compressed into a discrete variable by binning into bins, in such a way that varying the parameter sweeps out the full Pareto frontier, solving a generalization of the Discrete Information Bottleneck (DIB) problem. We argue that the most interesting points on this frontier are "corners" maximizing for a fixed number of bins which can be conveniently be found without multiobjective optimization. We apply this method to the CIFAR-10, MNIST and Fashion-MNIST datasets, illustrating how it can be interpreted as an information-theoretically optimal image clustering algorithm.
View on arXiv