Skip to main content
QUICK REVIEW

[Paper Review] Discontinuous Hamiltonian Monte Carlo for models with discrete parameters and discontinuous likelihoods

Akihiko Nishimura, David B. Dunson|arXiv (Cornell University)|May 23, 2017
Markov Chains and Monte Carlo MethodsMathematics7 citations
TL;DR

This paper introduces Discontinuous Hamiltonian Monte Carlo (dHMC), a novel extension of Hamiltonian Monte Carlo that enables efficient posterior sampling for models with discrete parameters or discontinuous likelihoods. By developing a theory of discontinuous Hamiltonian dynamics and a numerical solver that exactly preserves the Hamiltonian, dHMC achieves accurate and stable sampling in challenging posterior inference problems, particularly for ordinal parameters and discontinuous densities.

ABSTRACT

Hamiltonian Monte Carlo has emerged as a standard tool for posterior computation. In this article, we present an extension that can efficiently explore target distributions with discontinuous densities. Our extension in particular enables efficient sampling from ordinal parameters though embedding of probability mass functions into continuous spaces. We motivate our approach through a theory of discontinuous Hamiltonian dynamics and develop a corresponding numerical solver. The proposed solver is the first of its kind, with a remarkable ability to exactly preserve the Hamiltonian. We apply our algorithm to challenging posterior inference problems to demonstrate its wide applicability and competitive performance.

Motivation & Objective

  • To address the challenge of efficient posterior computation in models with discrete parameters or discontinuous likelihoods, which standard HMC cannot handle effectively.
  • To extend Hamiltonian Monte Carlo to support probability mass functions by embedding them into continuous spaces.
  • To develop a theoretical framework for discontinuous Hamiltonian dynamics that enables stable and accurate sampling.
  • To design a numerical solver that exactly preserves the Hamiltonian in the presence of discontinuities, ensuring long-term stability and accuracy.

Proposed method

  • Proposes a theory of discontinuous Hamiltonian dynamics to model systems with jumps in potential energy, such as those arising from discrete parameters.
  • Introduces a continuous embedding of discrete probability mass functions into continuous parameter spaces to enable gradient-based sampling.
  • Develops a numerical integrator that handles discontinuities by precisely modeling flow transitions at discontinuity manifolds.
  • Uses event detection to locate discontinuity boundaries and applies symplectic integration rules that preserve the Hamiltonian across jumps.
  • Applies a rejection-free update mechanism at discontinuities to maintain detailed balance and ensure correct stationary distributions.
  • Employs a continuous-time formulation that allows for exact Hamiltonian preservation even when the potential energy function is non-smooth.

Experimental results

Research questions

  • RQ1Can Hamiltonian Monte Carlo be extended to efficiently sample from posterior distributions with discontinuous densities or discrete parameters?
  • RQ2How can discontinuous dynamics be formalized in a way that preserves the geometric structure of Hamiltonian mechanics?
  • RQ3What numerical integration scheme can exactly preserve the Hamiltonian in the presence of discontinuities?
  • RQ4How can discrete parameters be embedded into continuous spaces without losing statistical fidelity or introducing bias?
  • RQ5What performance gains does the proposed method achieve over existing MCMC methods in challenging posterior inference tasks?

Key findings

  • The proposed dHMC method achieves exact Hamiltonian preservation through a novel numerical solver, ensuring long-term stability and accuracy in sampling.
  • The method enables efficient posterior inference for ordinal parameters by embedding their probability mass functions into continuous spaces.
  • dHMC demonstrates competitive performance on challenging models with discontinuous likelihoods, outperforming standard HMC and other MCMC approaches in terms of effective sample size and convergence.
  • The theory of discontinuous Hamiltonian dynamics provides a rigorous foundation for handling non-smooth systems in statistical inference.
  • The numerical solver successfully handles discontinuity manifolds without introducing bias or requiring ad hoc tuning, maintaining detailed balance and ergodicity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.