NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A categorical characterization of relative entropy on standard Borel spaces

Nicolas Gagné, Prakash Panangaden

TL;DR

This paper extends the categorical characterization of relative entropy (Kullback-Leibler divergence) from finite sets to the much broader and more complex realm of standard Borel spaces. By defining a new category, SbStat, the authors prove that relative entropy is the unique functor (up to a multiplicative constant) that satisfies essential properties like convexity, lower semicontinuity, and functoriality in a continuous setting.

What Problem Does This Paper Address?

Relative entropy is a cornerstone of information theory and machine learning, particularly in Bayesian inference. While we have a strong intuitive and analytical grasp of it, researchers have recently sought a "categorical" understanding—viewing entropy not just as a formula, but as a structural property of how we process information.

Previous work by Baez and Fritz successfully characterized relative entropy categorically, but their framework was limited to finite sets. Most real-world applications in statistics and machine learning involve continuous data and complex probability spaces. The challenge addressed here is generalizing that framework to standard Borel spaces (mathematical spaces that are "nice" enough for measure theory but broad enough to include the real numbers and other continuous structures). This requires navigating the technical hurdles of measure theory, such as Radon-Nikodym derivatives and the disintegration of measures.

Methods

The authors employ several high-level tools from category theory and measure theory:

  • The Giry Monad: A standard categorical tool used to model probability measures as an endofunctor on the category of measurable spaces.
  • Category SbStat: The authors introduce this new category where objects are pairs $(X, p)$ (a standard Borel space and a probability measure). Morphisms are "coherent pairs" $(f, s)$, representing a measurement process ($f$) and a hypothesis ($s$) about the original state.
  • Functoriality: They treat relative entropy as a functor into Lawvere’s category $[0, \infty]$, where objects are a single point and morphisms are non-negative reals. In this view, the "chain rule" of entropy is simply the composition of morphisms.
  • Disintegration Theorem: To handle the transition from global to local information in continuous spaces, they rely on Rohlin’s disintegration theorem, which allows a measure to be broken down into a family of conditional measures.

Datasets

Not discussed in the paper. As a theoretical work in mathematical logic and computer science, it focuses on proving theorems rather than empirical evaluation on datasets.

Key Insights and Ideas

  • Entropy as Structure: The most profound insight is that the fundamental properties of relative entropy (like the chain rule) are actually expressions of functoriality. This means entropy is a natural way to measure the "cost" or "loss" of moving between different statistical observations.
  • Coherence and Optimality: The authors define "coherent" morphisms to capture the relationship between an experiment and a hypothesis. They identify a subcategory, FP, where hypotheses are "optimal" (meaning the hypothesis perfectly reconstructs the original measure), and show that relative entropy must vanish on these optimal paths.
  • The Power of Uniqueness: The paper demonstrates that if you demand a measure of information that is convex, lower semicontinuous, and behaves well under composition (functorial), you are mathematically forced to arrive at relative entropy. There is no other choice (up to a scaling factor).

Key Results

  • Functoriality (Theorem 4.5): Proves that the relative entropy of a composed process is the sum of the relative entropies of the individual steps: $RE((g, t) \circ (f, s)) = RE(g, t) + RE(f, s)$.
  • Convex Linearity (Theorem 4.8): Shows that the total relative entropy can be calculated by integrating "local" relative entropies across the space of observations.
  • Lower Semicontinuity (Theorem 4.11): Establishes that the entropy functor behaves predictably under limits, which is vital for the stability of statistical inference.
  • The Characterization Theorem (Theorem 5.3): This is the "main event." It proves that any functor on SbStat satisfying the above properties is exactly a multiple of the Kullback-Leibler divergence.

Limitations and Future Work

  • Point-Free Approach: The authors acknowledge that while standard Borel spaces are broad, some modern approaches to learning theory use "point-free" topology (locales). They suggest extending this work to those settings.
  • Machine Learning Integration: While this provides the mathematical "stage," the authors note that the next step is to use this framework to better understand specific machine learning concepts like Bayesian inversion and the role of entropy in learning algorithms.
  • Technical Complexity: The transition to continuous spaces introduced "awkward" proofs regarding absolute continuity. Future work might find more streamlined categorical ways to handle these measure-theoretic edge cases.

Summary updated

BibTeX
@inproceedings{gagne2018categorical,
  author = {Nicolas Gagné and Prakash Panangaden},
  title = {{A categorical characterization of relative entropy on standard Borel spaces}},
  booktitle = {Log. Methods Comput. Sci},
  year = {2018},
}
Figure