Diffusion-HMC: Parameter Inference with Diffusion-model-driven Hamiltonian Monte Carlo

Nayantara Mudur, Carolina Cuesta-Lazaro, Douglas P. Finkbeiner
5/8/2024
astro-ph.COcs.LG

No official code found. Best implementation: nmudur/diffusion-hmc (8 stars, MIT, last commit 2024-12-24).

Abstract

Diffusion generative models have excelled at diverse image generation and reconstruction tasks across fields. A less explored avenue is their application to discriminative tasks involving regression or classification problems. The cornerstone of modern cosmology is the ability to generate predictions for observed astrophysical fields from theory and constrain physical models from observations using these predictions. This work uses a single diffusion generative model to address these interlinked objectives -- as a surrogate model or emulator for cold dark matter density fields conditional on input cosmological parameters, and as a parameter inference model that solves the inverse problem of constraining the cosmological parameters of an input field. The model is able to emulate fields with summary statistics consistent with those of the simulated target distribution. We then leverage the approximate likelihood of the diffusion generative model to derive tight constraints on cosmology by using the Hamiltonian Monte Carlo method to sample the posterior on cosmological parameters for a given test image. Finally, we demonstrate that this parameter inference approach is more robust to small perturbations of noise to the field than baseline parameter inference networks.

View on arXivView PDF

Code Implementations(1)

MIT

Code for Diffusion-HMC: Parameter Inference with Diffusion Model driven Hamiltonian Monte Carlo

80Shell, PythonApr 24, 20241 years agoMIT

Similar Papers

Cite this paper

@article{mudur2024diffusionhmc,
  title  = {Diffusion-HMC: Parameter Inference with Diffusion-model-driven Hamiltonian Monte Carlo},
  author = {Nayantara Mudur and Carolina Cuesta-Lazaro and Douglas P. Finkbeiner},
  year   = {2024},
  eprint = {2405.05255},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.05255v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.05255.svg)](https://codeofpaper.com/paper/2405.05255)

Discussion