Papers › Gradient-free Hamiltonian Monte Carlo with Efficient Kernel Exponential Families

Gradient-free Hamiltonian Monte Carlo with Efficient Kernel Exponential Families

8 Jun 2015NeurIPS 2015 12arXiv:1506.02564archive 2025-07-28

Heiko Strathmann, Dino Sejdinovic, Samuel Livingstone, Zoltan Szabo, Arthur Gretton

We propose Kernel Hamiltonian Monte Carlo (KMC), a gradient-free adaptive MCMC algorithm based on Hamiltonian Monte Carlo (HMC). On target densities where classical HMC is not an option due to intractable gradients, KMC adaptively learns the target's gradient structure by fitting an exponential family model in a Reproducing Kernel Hilbert Space. Computational costs are reduced by two novel efficient approximations to this gradient. While being asymptotically exact, KMC mimics HMC in terms of sampling efficiency, and offers substantial mixing improvements over state-of-the-art gradient free samplers. We support our claims with experimental studies on both toy and real-world applications, including Approximate Bayesian Computation and exact-approximate MCMC.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1506.02564")

Code

Syntology Ran 0 of 21 code samples harvested from 2 repositories linked to this paper; 21 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran; community (archive-listed): 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

karlnapf/kernel_hmc officialmentioned in papermentioned on GitHubBSD-3-Clause report
karlnapf/kernel_exp_family mentioned on GitHubBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

21unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_hamiltonian karlnapf/kernel_hmc/kernel_hmc/hamiltonian/hamiltonian.py official repository unverified BSD-3-Clause (permissive) · 29e20443e95e1224 · report
compute_log_accept_pr karlnapf/kernel_hmc/kernel_hmc/hamiltonian/hamiltonian.py official repository unverified BSD-3-Clause (permissive) · 277c7ba269a4d872 · report
compute_log_accept_pr_single karlnapf/kernel_hmc/kernel_hmc/hamiltonian/hamiltonian.py official repository unverified BSD-3-Clause (permissive) · e9d1b01844c6fdbe · report
gamma_median_heuristic karlnapf/kernel_hmc/kernel_hmc/proposals/metropolis.py official repository unverified BSD-3-Clause (permissive) · e07fd07ecd9bf03e · report
leapfrog karlnapf/kernel_hmc/kernel_hmc/hamiltonian/leapfrog.py official repository unverified BSD-3-Clause (permissive) · 6c764cff71d22a7d · report
leapfrog_no_storing karlnapf/kernel_hmc/kernel_hmc/hamiltonian/leapfrog.py official repository unverified BSD-3-Clause (permissive) · 6fb85dfc6b7b817e · report
log_gaussian_pdf karlnapf/kernel_hmc/kernel_hmc/densities/gaussian.py official repository unverified BSD-3-Clause (permissive) · fae9cdd794af0134 · report
rank_update_mean_covariance_cholesky_lmbda_naive karlnapf/kernel_hmc/kernel_hmc/proposals/metropolis.py official repository unverified BSD-3-Clause (permissive) · de55b9d7d9628e5e · report
sample_gaussian karlnapf/kernel_hmc/kernel_hmc/densities/gaussian.py official repository unverified BSD-3-Clause (permissive) · ff81502c713bcd2f · report
standard_sqrt_schedule karlnapf/kernel_hmc/kernel_hmc/proposals/base.py official repository unverified BSD-3-Clause (permissive) · 92bf96ecad7e3e6f · report
SE karlnapf/kernel_exp_family/kernel_exp_family/kernels/develop/kernels.py community (archive-listed) unverified BSD-3-Clause (permissive) · 569bcdd97bd75b7e · report
compute_C karlnapf/kernel_exp_family/kernel_exp_family/estimators/finite/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · 73329303ba1d8c94 · report
compute_C karlnapf/kernel_exp_family/kernel_exp_family/estimators/lite/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · cc2693e2c6f2983a · report
compute_C_sym karlnapf/kernel_exp_family/kernel_exp_family/estimators/lite/develop/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · 3dd923a3df120950 · report
compute_b karlnapf/kernel_exp_family/kernel_exp_family/estimators/lite/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · f0de675df2ee5b85 · report
compute_b_sym karlnapf/kernel_exp_family/kernel_exp_family/estimators/lite/develop/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · b4442e480a0f9c3d · report
compute_lower_right_submatrix_loop karlnapf/kernel_exp_family/kernel_exp_family/estimators/full/develop/gaussian.py community (archive-listed) unverified BSD-3-Clause (permissive) · 4cc823ebc7943656 · report
gaussian_kernel karlnapf/kernel_exp_family/kernel_exp_family/kernels/kernels.py community (archive-listed) unverified BSD-3-Clause (permissive) · 1a4110008b634268 · report
gaussian_kernel_dx_component karlnapf/kernel_exp_family/kernel_exp_family/kernels/kernels.py community (archive-listed) unverified BSD-3-Clause (permissive) · 8bd2226b9a61cb5b · report
gaussian_kernel_grad karlnapf/kernel_exp_family/kernel_exp_family/kernels/kernels.py community (archive-listed) unverified BSD-3-Clause (permissive) · e1b95660ade3b969 · report
rff_feature_map_grad_loop karlnapf/kernel_exp_family/kernel_exp_family/kernels/develop/kernels.py community (archive-listed) unverified BSD-3-Clause (permissive) · b18f89dae51889f8 · report

Tasks

Bayesian Inference

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections