High Dimensional Inference With Random Maximum A-Posteriori Perturbations

Tamir Hazan, Francesco Orabona, Anand D. Sarwate, Subhransu Maji, Tommi S. Jaakkola · DOI

Abstract

This paper introduces "perturb-max," a framework that bridges the gap between optimization and inference in high-dimensional graphical models. By adding low-dimensional Gumbel noise to model potentials, the authors transform Maximum A-Posteriori (MAP) optimization into a powerful tool for sampling from complex distributions and estimating entropy. This approach bypasses the slow convergence of traditional Markov Chain Monte Carlo (MCMC) methods, providing a practical and efficient alternative for high-dimensional inference.

Introduction

In fields such as computer vision and computational biology, researchers often face a trade-off between speed and depth of understanding. MAP inference—finding the single most likely state—is an optimization problem that is typically fast but provides no measure of uncertainty. Conversely, Gibbs sampling via MCMC provides a full distribution but often fails in high-dimensional, "ragged" probability landscapes where samplers become trapped in local modes.

Theoretical links have long suggested that adding Gumbel noise to every possible configuration of a model and then finding the MAP is equivalent to sampling from the Gibbs distribution. However, the exponential number of configurations in large models makes this classic approach intractable. This paper presents a scalable solution to make "perturb-and-MAP" practical for high-dimensional systems.

The Perturb-Max Framework

The authors propose several innovations to achieve scalability:

  • Low-Dimensional Perturbations: Instead of perturbing every configuration, the framework uses a linear number of perturbations (e.g., one per node or edge in a graph).
  • Sequential Sampling: A rejection sampling scheme (Algorithm 1) allows for the generation of unbiased samples from the full Gibbs distribution using standard MAP solvers as the core engine.
  • Theoretical Bounds: The expected value of these perturbed MAP operations provides rigorous upper and lower bounds on the log-partition function and the model's entropy.
  • Measure Concentration: By proving new Poincaré and log-Sobolev inequalities for Gumbel distributions, the authors demonstrate that the average of just a few perturbed MAP runs converges rapidly to the true expected value.

Experimental Results

The framework was evaluated on synthetic Spin Glass models and structured learning tasks like binary image denoising.

Figure 1: Application of the perturb-max framework to image segmentation and denoising. The composite shows the original image with segmentation contours (left), the resulting binary mask (center), and an uncertainty heatmap generated through perturbed MAP runs (right).

Key Findings

  • Denoising Accuracy: In image denoising tasks, the perturb-max approach achieved a 1.8% test error, significantly outperforming the standard Structured SVM (SVM-struct), which recorded a 2.5% error.
  • Sample Efficiency: Empirical results confirmed that for models with $10^4$ variables, as few as 10 samples were sufficient to obtain excellent estimates of the expectation, validating the theoretical concentration results.
  • Superior Bounds: On attractive spin glass models, the probabilistic lower bounds were tighter than those produced by standard Belief Propagation, particularly in difficult medium-to-high coupling regimes.

Conclusion

The "perturb-max" framework demonstrates that optimization can serve as a robust engine for sampling. By injecting noise correctly, MAP solvers can provide the richness of full distribution sampling with the speed of optimization. While future work is needed to refine bounds for models with mixed couplings and to explore higher-order moments like variance, this research provides a significant step forward in making high-dimensional inference accessible and efficient.

Summary updated

BibTeX
@article{hazan2016high,
  author = {Tamir Hazan and Francesco Orabona and Anand D. Sarwate and Subhransu Maji and Tommi S. Jaakkola},
  title = {{High Dimensional Inference With Random Maximum A-Posteriori Perturbations}},
  journal = {IEEE Trans. Information Theory},
  year = {2016},
  doi = {10.1109/tit.2019.2916805},
}
Figure