Papers › Can Microcanonical Langevin Dynamics Leverage Mini-Batch Gradient Noise?

Can Microcanonical Langevin Dynamics Leverage Mini-Batch Gradient Noise?

6 Feb 2026ICMLarXiv:2602.06500added by Syntology

Emanuel Sommer, Kangning Diao, Jakob Robnik, Uros Seljak, David Rügamer

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Scaling inference methods such as Markov chain Monte Carlo to high-dimensional models remains a central challenge in Bayesian deep learning. A promising recent proposal, microcanonical Langevin Monte Carlo, has shown state-of-the-art performance across a wide range of problems. However, its reliance on full-dataset gradients makes it prohibitively expensive for large-scale problems. This paper addresses a fundamental question: Can microcanonical dynamics effectively leverage mini-batch gradient noise? We provide the first systematic study of this problem, establishing a novel continuous-time theoretical analysis of stochastic-gradient microcanonical dynamics. We reveal two critical failure modes: a theoretically derived bias due to anisotropic gradient noise and numerical instabilities in complex high-dimensional posteriors. To tackle these issues, we propose a principled gradient noise preconditioning scheme shown to significantly reduce this bias and develop a novel, energy-variance-based adaptive tuner that automates step size selection and dynamically informs numerical guardrails. The resulting algorithm is a robust and scalable microcanonical Monte Carlo sampler that achieves state-of-the-art performance on challenging high-dimensional inference tasks like Bayesian neural networks. Combined with recent ensemble techniques, our work unlocks a new class of stochastic microcanonical Langevin ensemble (SMILE) samplers for large-scale Bayesian inference.

PaperPDFCode 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="2602.06500")

Code

Syntology Ran 1 of 11 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

EmanuelSommer/SMILE found in paper text by Syntology report

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

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 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.

1ran
10unverified

Licence: 11 of the 11 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 EmanuelSommer/SMILE. “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.

pretty_string_dict EmanuelSommer/SMILE/src/utils.py found in paper text by Syntology ran no licence file found · pointer only · 41a106a60b7f7d23 · report
Banana_log_density EmanuelSommer/SMILE/analytical/inference_models.py found in paper text by Syntology unverified no licence file found · pointer only · 924d660d55b86036 · report
Funnel_log_density EmanuelSommer/SMILE/analytical/inference_models.py found in paper text by Syntology unverified no licence file found · pointer only · 0170bb2dedf336b8 · report
Ill_condition_Gaussian_log_density EmanuelSommer/SMILE/analytical/inference_models.py found in paper text by Syntology unverified no licence file found · pointer only · a070ca35a3ca4fd3 · report
get_by_path EmanuelSommer/SMILE/src/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 132a237eb0c21e47 · report
get_likelihood_factories EmanuelSommer/SMILE/analytical/samplers.py found in paper text by Syntology unverified no licence file found · pointer only · 406b66b281e59043 · report
make_sampling_state EmanuelSommer/SMILE/analytical/samplers.py found in paper text by Syntology unverified no licence file found · pointer only · 37ad2287b5a609e5 · report
post_analysis EmanuelSommer/SMILE/analytical/analysis.py found in paper text by Syntology unverified no licence file found · pointer only · 4c3707dae346564a · report
scan_sghmc_body EmanuelSommer/SMILE/analytical/samplers.py found in paper text by Syntology unverified no licence file found · pointer only · e79f497e8e058190 · report
set_by_path EmanuelSommer/SMILE/src/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 4839cda0e9d01f87 · report
setup_blackjax_path EmanuelSommer/SMILE/analytical/bjx_utils.py found in paper text by Syntology unverified no licence file found · pointer only · bac3780b097dfdfa · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.06500, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Placed on leaderboards by Syntology Syntology

Syntology's extractor considered 1 leaderboard for this paper and did not place the paper on it: 1 refused by a rule. What is not shown.

Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.

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