ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2306.07961
24
4

Differentiating Metropolis-Hastings to Optimize Intractable Densities

13 June 2023
Gaurav Arya
Ruben Seyer
Frank Schafer
Kartik Chandra
Alexander K. Lew
Mathieu Huot
Vikash K. Mansinghka
Jonathan Ragan-Kelley
Chris Rackauckas
Moritz Schauer
    TPM
ArXivPDFHTML
Abstract

We develop an algorithm for automatic differentiation of Metropolis-Hastings samplers, allowing us to differentiate through probabilistic inference, even if the model has discrete components within it. Our approach fuses recent advances in stochastic automatic differentiation with traditional Markov chain coupling schemes, providing an unbiased and low-variance gradient estimator. This allows us to apply gradient-based optimization to objectives expressed as expectations over intractable target densities. We demonstrate our approach by finding an ambiguous observation in a Gaussian mixture model and by maximizing the specific heat in an Ising model.

View on arXiv
Comments on this paper