Stefano Ermon, Andy Shih
3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2010.11446.json · badge: /api/ran/2010.11446.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.
| Repository | Role | Ran |
|---|---|---|
| AndyShih12/SPN_Variational_Inference | marked official in Papers with Code Papers with Code archive |
3 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| BernoulliLayer | Ran ran on a synthesized input · constructed an object; no result was computed |
AndyShih12/SPN_Variational_Inference/codebase/models/spns/spn.py pointer only (licence: NONE) · get_code("fcb59642886be283") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AndyShih12/SPN_Variational_Inference 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. |
| ProductLayer | Ran ran on a synthesized input · constructed an object; no result was computed |
AndyShih12/SPN_Variational_Inference/codebase/models/spns/spn.py pointer only (licence: NONE) · get_code("b1a16a011006d5fc") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AndyShih12/SPN_Variational_Inference 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. |
| SumLayer | Ran ran on a synthesized input · constructed an object; no result was computed |
AndyShih12/SPN_Variational_Inference/codebase/models/spns/spn.py pointer only (licence: NONE) · get_code("ddb09a7b20558b0d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AndyShih12/SPN_Variational_Inference 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. |
| NodeLayer | Not yet run unverified (harvested, no recorded run) |
AndyShih12/SPN_Variational_Inference/codebase/models/spns/spn.py pointer only (licence: NONE) · get_code("a2b8d23bce2563af") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AndyShih12/SPN_Variational_Inference 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. |
| SPN | Not yet run unverified (harvested, no recorded run) |
AndyShih12/SPN_Variational_Inference/codebase/models/spns/spn.py pointer only (licence: NONE) · get_code("1f02068f18cb0491") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AndyShih12/SPN_Variational_Inference 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. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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.
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Inference in discrete graphical models with variational methods is difficult because of the inability to re-parameterize gradients of the Evidence Lower Bound (ELBO). Many sampling-based methods have been proposed for estimating these gradients, but they suffer from high bias or variance. In this paper, we propose a new approach that leverages the tractability of probabilistic circuit models, such as Sum Product Networks (SPN), to compute ELBO gradients exactly (without sampling) for a certain class of densities. In particular, we show that selective-SPNs are suitable as an expressive variational distribution, and prove that when the logdensity of the target model is a polynomial the corresponding ELBO can be computed analytically. To scale to graphical models with thousands of variables, we develop an efficient and effective construction of selective-SPNs with size O(kn), where n is the number of variables and k is an adjustable hyperparameter. We demonstrate our approach on three types of graphical models -Ising models, Latent Dirichlet Allocation, and factor graphs from the UAI Inference Competition. Selective-SPNs give a better lower bound than mean-field and structured meanfield, and is competitive with approximations that do not provide a lower bound, such as Loopy Belief Propagation and Tree-Reweighted Belief Propagation. Our results show that probabilistic circuits are promising tools for variational inference in discrete graphical models as they combine tractability and expressivity.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2010.11446")
get_code_for_paper("2010.11446")
have("2010.11446")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2010.11446.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2010.11446)
Connect an agent — have() is free.