A Geometric View of Conjugate Priors

Arvind Agarwal, Hal Daumé Iii

In Bayesian inference, conjugate priors are typically introduced as a "mathematical convenience." If the likelihood is Gaussian and the prior is Gaussian, the posterior remains Gaussian, simplifying the algebra. However, Arvind Agarwal and Hal Daumé III argue that this convenience is actually a symptom of a deeper geometric alignment. In their work, they demonstrate that conjugate priors are the only priors that share the same underlying geometry as the likelihood function.

Theoretical Foundations: Bregman Divergence and Duality

The authors' framework relies on Information Geometry, specifically the use of Bregman divergences. A Bregman divergence $d_G(p, q)$ is a measure of "distance" derived from a strictly convex function $G$. In the context of the exponential family, this function $G$ is the log-partition function.

A key concept here is Legendre Duality, which connects the space of natural parameters ($\theta$) to the space of mean parameters ($\mu$). Every exponential family distribution can be viewed as a point on a manifold where the "straight lines" (geodesics) are defined by the log-partition function.

Comparison of Euclidean distance (a) and geodesic distance on a manifold (b).

As shown in the figure above, calculating distances in a flat Euclidean space (a) is fundamentally different from calculating them on a curved manifold (b). The authors argue that using a non-conjugate prior is akin to mixing these two geometries, which leads to "ill-formed" optimization problems.

MLE and MAP as Geometric Medians

One of the paper's primary contributions is reframing Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP) estimation as geometric problems. In Theorems 1 and 2, the authors formally prove that finding the MLE is equivalent to finding the Bregman median—the point that minimizes the sum of Bregman divergences to the observed data points.

Mapping between the natural parameter space $\Theta$ and the mean parameter space $\mathcal{M}$.

In this dual-space view, data points $x_i$ in the mean parameter space correspond to natural parameters $\theta_i$. The MLE $\hat{\theta}_{ML}$ corresponds to the mean of the data $\mu_{ML}$. When we introduce a prior for MAP estimation, we are essentially adding "virtual" data points to this manifold. This geometric logic extends beyond standard exponential families to the broader $\alpha$-family of distributions using specialized "natural" divergences.

The Geometric Necessity of Conjugate Priors

The "convenience" of conjugate priors arises because they use the same log-partition function $G(\theta)$ as the likelihood. This ensures that the prior and the likelihood "speak the same language."

Geometrically, the hyperparameters of a conjugate prior ($\alpha, \beta$) act as effective sample points. $\beta$ represents the number of virtual observations, and $\alpha/\beta$ represents their location on the manifold. Because they inhabit the same manifold, the MAP estimate is simply a weighted Bregman median of the real data and these virtual points.

If one were to use a non-conjugate prior (e.g., a Gaussian prior for a Multinomial likelihood), the prior would be defined by a different convex function. This would be equivalent to trying to find a median where some distances are measured on a sphere and others on a flat plane—a process that lacks a unified geometric interpretation and typically lacks a closed-form solution. This analysis provides a rigorous theoretical foundation for empirical results where conjugate priors were found to outperform Gaussian priors in hybrid semi-supervised learning tasks.

Conclusion

By moving beyond algebraic tricks, this geometric perspective provides a rigorous justification for the use of conjugate priors. They are not just easy to compute; they are the only priors that maintain geometric consistency within the exponential family. This insight provides a foundation for developing priors in more complex hybrid models and understanding the interpolation between generative and discriminative components along valid geodesics.

Summary updated

BibTeX
@inproceedings{agarwal2011geometric,
  author = {Arvind Agarwal and Hal Daumé III},
  title = {{A Geometric View of Conjugate Priors}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2011},
  url = {https://openreview.net/forum?id=H1-8Nrzd-S},
}
Figure