SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.03665 · ICML · 2022

Variational Sparse Coding with Learned Thresholding

Christopher Rozell, Kion Fallah

arXiv · PDF · Open in the Atlas

Code that ran

6 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 4 failures of our instrument; 10 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/2205.03665.json · badge: /api/ran/2205.03665.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
kfallah/variational-sparse-coding canonical (classifier label)
classifier basis: classifier_2025
3 ran · 5 no recorded run
kfallah/manifold-contrastive community
Papers with Code archive
3 ran · 5 no recorded run
FunctionStatusWhere it lives
ConvEncoder Ran
ran on a synthesized input
kfallah/variational-sparse-coding/model/lista.py
pointer only (licence: NONE) · get_code("903ea2efea36342b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

MLPEncoder Ran
ran on a synthesized input
kfallah/variational-sparse-coding/model/lista.py
pointer only (licence: NONE) · get_code("06232d415e12a510")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

draw_noise_samples Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("6c049df661812c5c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

reparameterize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("3522556f6aac7d0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

soft_threshold Ran
ran; our contract draft was wrong, not the code
kfallah/variational-sparse-coding/model/lista.py
pointer only (licence: NONE) · get_code("b082bfb3081bcf63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

soft_threshold Ran
ran; our contract draft was wrong, not the code
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("63e0ab2c6652828b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

CoefficientEncoder Not yet run
unverified (harvested, no recorded run)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("693c2208d67c25f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

DistributionData Not yet run
unverified (harvested, no recorded run)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("09a8466928f23739")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

VIEncoder Not yet run
unverified (harvested, no recorded run)
kfallah/variational-sparse-coding/model/lista.py
pointer only (licence: NONE) · get_code("b5cc5a076789ea2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

VIEncoderLISTA Not yet run
unverified (harvested, no recorded run)
kfallah/variational-sparse-coding/model/lista.py
pointer only (licence: NONE) · get_code("bb9d074b88eaaf89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

VariationalEncoderConfig Not yet run
unverified (harvested, no recorded run)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("77036ddc9499e731")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

compute_kl Not yet run
unverified (harvested, no recorded run)
kfallah/variational-sparse-coding/model/reparameterization.py
pointer only (licence: NONE) · get_code("592a9f533df33a85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

compute_loss Not yet run
unverified (harvested, no recorded run)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("81df6932691462ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

fixed_kl Not yet run
unverified (harvested, no recorded run)
kfallah/variational-sparse-coding/model/reparameterization.py
pointer only (licence: NONE) · get_code("9c18a4838eab1610")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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.

infer_coefficients Not yet run
unverified (harvested, no recorded run)
kfallah/manifold-contrastive/src/model/manifold/vi_encoder.py
pointer only (licence: NONE) · get_code("ee0aa4c2748a9421")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/manifold-contrastive 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.

vamp_kl Not yet run
unverified (harvested, no recorded run)
kfallah/variational-sparse-coding/model/reparameterization.py
pointer only (licence: NONE) · get_code("f293d4bd17b84527")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kfallah/variational-sparse-coding 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, 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 16 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.

Repositories linked to this paper

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

Abstract

Sparse coding strategies have been lauded for their parsimonious representations of data that leverage low dimensional structure. However, inference of these codes typically relies on an optimization procedure with poor computational scaling in high-dimensional problems. For example, sparse inference in the representations learned in the high-dimensional intermediary layers of deep neural networks (DNNs) requires an iterative minimization to be performed at each training step. As such, recent, quick methods in variational inference have been proposed to infer sparse codes by learning a distribution over the codes with a DNN. In this work, we propose a new approach to variational sparse coding that allows us to learn sparse distributions by thresholding samples, avoiding the use of problematic relaxations. We first evaluate and analyze our method by training a linear generator, showing that it has superior performance, statistical efficiency, and gradient estimation compared to other sparse distributions. We then compare to a standard variational autoencoder using a DNN generator on the Fashion MNIST and CelebA datasets.

For agents

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

get_harvested_code_for_paper("2205.03665")
get_code_for_paper("2205.03665")
have("2205.03665")

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

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

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

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

Connect an agent — have() is free.