SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.18997 · ICML · 2024

Kernel Semi-Implicit Variational Inference

Cheng Zhang, Shiyue Zhang, Longlin Yu, Tianyu Xie, Ziheng Cheng

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (8 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.18997.json · badge: /api/ran/2405.18997.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
longinyu/ksivi canonical (classifier label)
classifier basis: classifier_2025
14 ran · 2 no recorded run
FunctionStatusWhere it lives
Banana_shape Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("5601bc78a5228484")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Bnn Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("482c1ee5ddf93185")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

IMQ_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
longinyu/ksivi/utils/kernels.py
pointer only (licence: NONE) · get_code("5f7c89e1686bca8a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LRwaveform Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("6542c19a838fa61d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Langevin_post Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("991c97cb3b27313e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Multimodal Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("57e3823e31fa77a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SIMINet Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("ee48748220daa480")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

StudentTFullDim Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("b7625bd511229985")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

X_shaped Ran
ran on a synthesized input · constructed an object; no result was computed
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("eeb63522a2e3594d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

annealing Ran
ran, honoured the contract we drafted
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("eda37aa649362a3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_jacobian Ran
ran; our contract draft was wrong, not the code
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("946a6f88c2d5c17d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

density_estimation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("1f9e355031d1ccd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gaussian_kernel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
longinyu/ksivi/utils/kernels.py
pointer only (licence: NONE) · get_code("447cd6e519ab757f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

laplace_kernel Ran
ran; our contract draft was wrong, not the code
longinyu/ksivi/utils/kernels.py
pointer only (licence: NONE) · get_code("d248c2131529471a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

KernelSIVI_lr Not yet run
unverified (harvested, no recorded run)
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("950572fc3dc84ed9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Toy_2D Not yet run
unverified (harvested, no recorded run)
longinyu/ksivi/sivistein_lr.py
pointer only (licence: NONE) · get_code("0ddcf131ce089894")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, longinyu/ksivi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 12 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 12 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
Bnn
brick of this paper's assembly: model
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.10014 (2023-08)
Semi-Implicit Variational Inference via Score Matching
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
LRwaveform
brick of this paper's assembly: model
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.10014 (2023-08)
Semi-Implicit Variational Inference via Score Matching
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
annealing
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2308.10014 (2023-08)
Semi-Implicit Variational Inference via Score Matching
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
Banana_shape
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
Langevin_post
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
Multimodal
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
SIMINet
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
StudentTFullDim
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
Toy_2D
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
X_shaped
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
compute_jacobian
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2601.12023 (2026-01)
A Kernel Approach for Semi-implicit Variational Inference
density_estimation
brick of this paper's assembly: helper
1 other paper
1 later
2407.00649 (2024-07)
Particle Semi-Implicit Variational Inference

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Semi-implicit variational inference (SIVI) extends traditional variational families with semiimplicit distributions defined in a hierarchical manner. Due to the intractable densities of semiimplicit distributions, classical SIVI often resorts to surrogates of evidence lower bound (ELBO) that would introduce biases for training. A recent advancement in SIVI, named SIVI-SM, utilizes an alternative score matching objective made tractable via a minimax formulation, albeit requiring an additional lower-level optimization. In this paper, we propose kernel SIVI (KSIVI), a variant of SIVI-SM that eliminates the need for lowerlevel optimization through kernel tricks. Specifically, we show that when optimizing over a reproducing kernel Hilbert space (RKHS), the lowerlevel problem has an explicit solution. This way, the upper-level objective becomes the kernel Stein discrepancy (KSD), which is readily computable for stochastic gradient descent due to the hierarchical structure of semi-implicit variational distributions. An upper bound for the variance of the Monte Carlo gradient estimators of the KSD objective is derived, which allows us to establish novel convergence guarantees of KSIVI. We demonstrate the effectiveness and efficiency of KSIVI on both synthetic distributions and a variety of real data Bayesian inference tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.18997")
get_code_for_paper("2405.18997")
have("2405.18997")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.18997.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.18997.svg)](https://syntology.ai/paper/2405.18997)

Connect an agent — have() is free.