Skip to content

Investigate HMC for more efficient uncertainty estimation #150

Description

@ergodic-ludwig

Goal

Evaluate whether Hamiltonian Monte Carlo (HMC) can improve sampling efficiency for TSADAR uncertainty estimation relative to the current MCMC baseline.

The existing MCMC implementation is functional but computationally expensive; a high-quality run currently takes approximately 1–2 hours. HMC should be considered only after the baseline MCMC workflow is fully integrated.

Investigation

  • Identify which fitted parameters and model paths expose usable gradients.
  • Consult relevant experts and review suitable HMC implementations for the JAX-based stack.
  • Define a representative inference case and compare HMC with the current MCMC baseline.
  • Measure effective sample size, convergence diagnostics, wall time, and implementation complexity.
  • Document incompatibilities, numerical stability concerns, or model changes needed for HMC.

Acceptance criteria

  • Baseline MCMC integration prerequisites are identified and confirmed.
  • A representative benchmark and comparison metrics are defined.
  • At least one HMC approach is prototyped or ruled out with documented evidence.
  • Results compare sampling quality and computational cost against baseline MCMC.
  • A recommendation is recorded: adopt, defer, or reject HMC, with rationale.

Provenance

Action item from the Avi / Archis meeting on 2026-09-01. Discussion: HMC proposal at 00:26:34 and decision to defer until baseline integration at 00:29:09.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions