Papers › Globally Convergent Variational Inference

Globally Convergent Variational Inference

14 Jan 2025arXiv:2501.08201archive 2025-07-28

Declan McNamara, Jackson Loper, Jeffrey Regier

In variational inference (VI), an approximation of the posterior distribution is selected from a family of distributions through numerical optimization. With the most common variational objective function, known as the evidence lower bound (ELBO), only convergence to a local optimum can be guaranteed. In this work, we instead establish the global convergence of a particular VI method. This VI method, which may be considered an instance of neural posterior estimation (NPE), minimizes an expectation of the inclusive (forward) KL divergence to fit a variational distribution that is parameterized by a neural network. Our convergence result relies on the neural tangent kernel (NTK) to characterize the gradient dynamics that arise from considering the variational objective in function space. In the asymptotic regime of a fixed, positive-definite neural tangent kernel, we establish conditions under which the variational objective admits a unique solution in a reproducing kernel Hilbert space (RKHS). Then, we show that the gradient descent dynamics in function space converge to this unique function. In ablation studies and practical problems, we demonstrate that our results explain the behavior of NPE in non-asymptotic finite-neuron settings, and show that NPE outperforms ELBO-based optimization, which often converges to shallow local optima.

PaperPDFCodeCode 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="2501.08201")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: official repository: 15 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.

declanmcnamara/gcvi_neurips officialmentioned in paperpytorchMIT 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

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

15unverified

Licence: 0 of the 15 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 declanmcnamara/gcvi_neurips. “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.

centers_in_order declanmcnamara/gcvi_neurips/amortized_clustering/plots.py official repository unverified MIT (permissive) · a91d7943f801abc1 · report
dists_to_center declanmcnamara/gcvi_neurips/amortized_clustering/plots.py official repository unverified MIT (permissive) · 71a8311b49ba29a4 · report
favi_loss declanmcnamara/gcvi_neurips/rotated_mnist_full/losses.py official repository unverified MIT (permissive) · 2448056e82c2afc4 · report
found_correct_centers declanmcnamara/gcvi_neurips/amortized_clustering/plots.py official repository unverified MIT (permissive) · de68a0045fe03b5f · report
gaussian_log_density_natural declanmcnamara/gcvi_neurips/amortized_clustering/losses.py official repository unverified MIT (permissive) · 979b63cdcf16b691 · report
generate_data declanmcnamara/gcvi_neurips/amortized_clustering/generate.py official repository unverified MIT (permissive) · 9419bd6dacc97f35 · report
generate_data declanmcnamara/gcvi_neurips/canonical_gaussian/generate.py official repository unverified MIT (permissive) · 0e38816dc105e9f8 · report
generate_data_favi declanmcnamara/gcvi_neurips/amortized_clustering/generate.py official repository unverified MIT (permissive) · be1933a4a09373d1 · report
get_imp_weights_amortized_angle_only declanmcnamara/gcvi_neurips/rotated_mnist_toy/losses.py official repository unverified MIT (permissive) · f574485712435d83 · report
get_imp_weights_nonamortized declanmcnamara/gcvi_neurips/rotated_mnist_full/losses.py official repository unverified MIT (permissive) · a1894bf30d528da2 · report
iwbo_loss_nonamortized declanmcnamara/gcvi_neurips/rotated_mnist_full/losses.py official repository unverified MIT (permissive) · c290d5627f8b35bb · report
log_evidence declanmcnamara/gcvi_neurips/rotated_mnist_toy/losses.py official repository unverified MIT (permissive) · 300875045ed0624d · report
processor declanmcnamara/gcvi_neurips/amortized_clustering/utils.py official repository unverified MIT (permissive) · b5a12a851965663a · report
processor_batch declanmcnamara/gcvi_neurips/amortized_clustering/utils.py official repository unverified MIT (permissive) · d9b094b4134cddf5 · report
rotate_batch_images declanmcnamara/gcvi_neurips/rotated_mnist_toy/losses.py official repository unverified MIT (permissive) · 369657ed033b58b5 · report

Tasks

Variational Inference

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Variational Inference

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