# Understanding the Behaviour of the Empirical Cross-Entropy Beyond the   Training Distribution

**Authors:** Matias Vera, Pablo Piantanida, Leonardo Rey Vega

arXiv: 1905.11972 · 2019-05-29

## TL;DR

This paper investigates how the empirical cross-entropy behaves when the test data distribution differs from the training data, providing bounds based on mutual information and supporting the theory with numerical simulations.

## Contribution

It introduces a theoretical framework linking the testing gap of empirical cross-entropy to mutual information, extending understanding beyond training distribution.

## Key findings

- Testing gap bounded by mutual information between inputs and representations
- Numerical simulations confirm mutual information as a predictor of testing gap
- Results applicable to understanding generalization beyond training distribution

## Abstract

Machine learning theory has mostly focused on generalization to samples from the same distribution as the training data. Whereas a better understanding of generalization beyond the training distribution where the observed distribution changes is also fundamentally important to achieve a more powerful form of generalization. In this paper, we attempt to study through the lens of information measures how a particular architecture behaves when the true probability law of the samples is potentially different at training and testing times. Our main result is that the testing gap between the empirical cross-entropy and its statistical expectation (measured with respect to the testing probability law) can be bounded with high probability by the mutual information between the input testing samples and the corresponding representations, generated by the encoder obtained at training time. These results of theoretical nature are supported by numerical simulations showing that the mentioned mutual information is representative of the testing gap, capturing qualitatively the dynamic in terms of the hyperparameters of the network.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.11972/full.md

## Figures

16 figures with captions in the complete paper: https://tomesphere.com/paper/1905.11972/full.md

## References

26 references — full list in the complete paper: https://tomesphere.com/paper/1905.11972/full.md

---
Source: https://tomesphere.com/paper/1905.11972