SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.17699 · 2024

Gradient-based Discrete Sampling with Automatic Cyclical Scheduling

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 (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2402.17699.json · badge: /api/ran/2402.17699.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
patrickpynadath1/automatic_cyclical_sampling canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
all_binary_choices Ran
ran, honoured the contract we drafted
patrickpynadath1/automatic_cyclical_sampling/block_samplers.py
pointer only (licence: NONE) · get_code("4b71b5539fbe3289")
How it ran

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

avg_hamming Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mmd.py
pointer only (licence: NONE) · get_code("cf3a4e39e2d79a43")
How it ran

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

calc_probs Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/multi_modal_ex.py
pointer only (licence: NONE) · get_code("2d70133f59562ab2")
How it ran

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

config_acs_args Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/config_cmdline.py
pointer only (licence: NONE) · get_code("9a0e7a7738621547")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mlp.py
pointer only (licence: NONE) · get_code("a01b6bf3d5c907c2")
How it ran

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

conv_transpose_3x3 Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mlp.py
pointer only (licence: NONE) · get_code("abe28c18ca27abc1")
How it ran

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

evaluate Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/ais.py
pointer only (licence: NONE) · get_code("924730532d5e99f9")
How it ran

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

exp_avg_hamming Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mmd.py
pointer only (licence: NONE) · get_code("dfc4c4bf9a645098")
How it ran

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

generate_text_samples Ran
ran on a synthesized input
patrickpynadath1/automatic_cyclical_sampling/run_text_sampling.py
pointer only (licence: NONE) · get_code("101c15272a0d35ca")
How it ran

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

get_modes Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/multi_modal_ex.py
pointer only (licence: NONE) · get_code("63653736074e7a1e")
How it ran

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

hamming_ball Ran
ran, honoured the contract we drafted
patrickpynadath1/automatic_cyclical_sampling/block_samplers.py
pointer only (licence: NONE) · get_code("9d0191ea46d3b42e")
How it ran

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

mlp_ebm Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mlp.py
pointer only (licence: NONE) · get_code("646a9f9fd82940a8")
How it ran

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

run_sampler_burnin Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/multi_modal_ex.py
pointer only (licence: NONE) · get_code("afe25139f1c95e42")
How it ran

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

scaled_exp_avg_hamming Ran
ran; our contract draft was wrong, not the code
patrickpynadath1/automatic_cyclical_sampling/mmd.py
pointer only (licence: NONE) · get_code("d5d8e438b37db8df")
How it ran

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

config_acs_pcd_args Not yet run
unverified (harvested, no recorded run)
patrickpynadath1/automatic_cyclical_sampling/config_cmdline.py
pointer only (licence: NONE) · get_code("297b7c3b1a05ee63")
How it ran

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

get_unique_ngram Not yet run
unverified (harvested, no recorded run)
patrickpynadath1/automatic_cyclical_sampling/run_text_sampling.py
pointer only (licence: NONE) · get_code("df8ea1929abb5d9f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, patrickpynadath1/automatic_cyclical_sampling 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, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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
conv_transpose_3x3 3 other papers
3 dated earlier
2209.08183 (2022-09)
Optimal Scaling for Locally Balanced Proposals in Discrete Spaces
2307.04333 (2023-07)
Enhancing Adversarial Robustness via Score-Based Optimization
2310.12920 (2023-10)
Generative Marginalization Models
conv3x3 2 other papers
2 dated earlier
2209.08183 (2022-09)
Optimal Scaling for Locally Balanced Proposals in Discrete Spaces
2307.04333 (2023-07)
Enhancing Adversarial Robustness via Score-Based Optimization
mlp_ebm 2 other papers
2 dated earlier
2202.01361 (2022-02)
Generative Flow Networks for Discrete Probabilistic Modeling
2209.08183 (2022-09)
Optimal Scaling for Locally Balanced Proposals in Discrete Spaces
all_binary_choices 1 other paper
1 dated earlier
2109.03867 (2021-09)
LSB: Local Self-Balancing MCMC in Discrete Spaces
avg_hamming 1 other paper
1 dated earlier
2109.03867 (2021-09)
LSB: Local Self-Balancing MCMC in Discrete Spaces
exp_avg_hamming 1 other paper
1 dated earlier
2109.03867 (2021-09)
LSB: Local Self-Balancing MCMC in Discrete Spaces
hamming_ball 1 other paper
1 dated earlier
2109.03867 (2021-09)
LSB: Local Self-Balancing MCMC in Discrete Spaces
scaled_exp_avg_hamming 1 other paper
1 dated earlier
2109.03867 (2021-09)
LSB: Local Self-Balancing MCMC in Discrete Spaces

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-22.

Repositories linked to this paper

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

Abstract

Discrete distributions, particularly in high-dimensional deep models, are often highly multimodal due to inherent discontinuities. While gradient-based discrete sampling has proven effective, it is susceptible to becoming trapped in local modes due to the gradient information. To tackle this challenge, we propose an automatic cyclical scheduling, designed for efficient and accurate sampling in multimodal discrete distributions. Our method contains three key components: (1) a cyclical step size schedule where large steps discover new modes and small steps exploit each mode; (2) a cyclical balancing schedule, ensuring "balanced" proposals for given step sizes and high efficiency of the Markov chain; and (3) an automatic tuning scheme for adjusting the hyperparameters in the cyclical schedules, allowing adaptability across diverse datasets with minimal tuning. We prove the non-asymptotic convergence and inference guarantee for our method in general discrete distributions. Extensive experiments demonstrate the superiority of our method in sampling complex multimodal discrete distributions.

For agents

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

get_harvested_code_for_paper("2402.17699")
get_code_for_paper("2402.17699")
have("2402.17699")

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

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

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

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

Connect an agent — have() is free.