Abstract
We advocate the use of a notion of entropy that reflects the relative abundances of the symbols in an alphabet, as well as the similarities between them. This concept was originally introduced in theoretical ecology to study the diversity of ecosystems. Based on this notion of entropy, we introduce geometry-aware counterparts for several concepts and theorems in information theory. Notably, our proposed divergence exhibits performance on par with state-of-the-art methods based on the Wasserstein distance, but enjoys a closed-form expression that can be computed efficiently. We demonstrate the versatility of our method via experiments on a broad range of domains: training generative models, computing image barycenters, approximating empirical measures and counting modes.
Introduction
Standard information theory, established by Claude Shannon in 1948, is fundamentally "geometry-blind." Measures such as Shannon entropy and Kullback-Leibler (KL) divergence treat the symbols in an alphabet as a discrete set with no inherent relationship to one another. In modern machine learning, this is a significant limitation: the distance between a "cat" image and a "dog" image should intuitively be smaller than the distance between a "cat" and a "car." Standard KL divergence, however, treats all distinct symbols as equally different.
Furthermore, KL divergence is undefined (infinite) when two distributions have non-overlapping supports—a common scenario when training generative models (GANs) on low-dimensional manifolds. While Optimal Transport (OT) and the Wasserstein distance address these issues by incorporating a metric, they are computationally expensive, typically requiring iterative algorithms like Sinkhorn or solving complex linear programs. GAIT (Geometry-Aware Information Theory) provides the geometric benefits of OT with the mathematical simplicity of a closed-form divergence.
The GAIT Framework
The authors build their framework on a definition of entropy originally developed by Leinster and Cobbold (2012) for measuring biodiversity. The framework relies on three core components:
- Similarity Space: A similarity matrix $\mathbf{K}$ is defined based on a kernel (e.g., an RBF kernel), where $\mathbf{K}_{x,y}$ represents the similarity between points $x$ and $y$.
- Similarity Profile: For a distribution $\mathbb{P}$, the "similarity profile" $\mathbf{K}p$ represents the "ordinariness" of a point—how much it resembles the rest of the distribution.
- GAIT Entropy and Divergence: A similarity-sensitive entropy measures the "expected distinctiveness" of a distribution. From this, the authors derive a Bregman divergence which, for empirical measures, has a closed-form expression.
Unlike Wasserstein distance, GAIT divergence does not require an optimization loop to find the distance between two fixed point clouds, making it significantly more efficient for large-scale applications.
Geometric Properties and Insights
GAIT looks at how "ordinary" a point is relative to its neighbors, allowing the measure to perceive the underlying geometry of the data space. Like the Wasserstein distance, GAIT divergence induces a "weak topology." This ensures it provides a smooth, useful gradient for optimization even when two distributions do not overlap.
As shown in the figure above, the GAIT divergence ($D^K$) remains defined and provides a signal even far from the support of $P$, similar to the Wasserstein distance ($W_1$), whereas standard KL divergence would be infinite in these regions.
Empirical Results
The authors demonstrate GAIT's versatility across several domains:
- Efficiency: In computing image barycenters, GAIT reduced computation time from 90 seconds (using Sinkhorn methods) to less than 5 seconds on a single CPU.
- Generative Modeling: GAIT-based GANs achieved image quality comparable to Wasserstein-based GANs on MNIST and Fashion-MNIST. Notably, they were more robust to small batch sizes (as small as 50), where OT-based methods often struggle to estimate distances accurately.
- Mode Counting: The exponential of GAIT entropy provides a measure of the "effective number of points," outperforming traditional heuristics in counting modes in probability distributions.
Discussion and Future Work
While GAIT offers significant computational advantages, it faces some challenges. A core theoretical pillar—the strict concavity of GAIT entropy—remains a conjecture, though it is supported by extensive empirical evidence. Additionally, like all kernel-based methods, performance depends on the choice of the similarity kernel and its hyperparameters.
Despite these limitations, GAIT presents a powerful alternative to standard information-theoretic measures, particularly in fields like Reinforcement Learning or the Information Bottleneck framework, where geometric awareness is essential for performance.
Summary updated