Papers › Parallel and Flexible Sampling from Autoregressive Models via Langevin Dynamics

Parallel and Flexible Sampling from Autoregressive Models via Langevin Dynamics

17 May 2021arXiv:2105.08164archive 2025-07-28

Vivek Jayaram, John Thickstun

This paper introduces an alternative approach to sampling from autoregressive models. Autoregressive models are typically sampled sequentially, according to the transition dynamics defined by the model. Instead, we propose a sampling procedure that initializes a sequence with white noise and follows a Markov chain defined by Langevin dynamics on the global log-likelihood of the sequence. This approach parallelizes the sampling process and generalizes to conditional sampling. Using an autoregressive model as a Bayesian prior, we can steer the output of a generative model using a conditional likelihood or constraints. We apply these techniques to autoregressive models in the visual and audio domains, with competitive results for audio source separation, super-resolution, and inpainting.

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="2105.08164")

Code

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

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

vivjay30/pnf-sampling officialpytorchMIT 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

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

9unverified

Licence: 0 of the 9 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 vivjay30/pnf-sampling. “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.

cyclic_cosine_annealing vivjay30/pnf-sampling/pnf-wavenet/lrschedule.py official repository unverified MIT (permissive) · 1b589fa04d754fdf · report
get_paths_by_glob vivjay30/pnf-sampling/pnf-wavenet/preprocess_normalize.py official repository unverified MIT (permissive) · e1dfe71f884480d1 · report
low_cut_filter vivjay30/pnf-sampling/pnf-wavenet/audio.py official repository unverified MIT (permissive) · 4b1bfc1d38d07b48 · report
noam_learning_rate_decay vivjay30/pnf-sampling/pnf-wavenet/lrschedule.py official repository unverified MIT (permissive) · 3f5fdf4636f5ba45 · report
read_wav_or_raw vivjay30/pnf-sampling/pnf-wavenet/mksubset.py official repository unverified MIT (permissive) · c4027950e9b2bfa5 · report
si_sdr vivjay30/pnf-sampling/pnf-wavenet/eval_data_loader.py official repository unverified MIT (permissive) · 0403b56a2eeb1c81 · report
snr vivjay30/pnf-sampling/pnf-wavenet/evaluate.py official repository unverified MIT (permissive) · 2091f12427c3b654 · report
step_learning_rate_decay vivjay30/pnf-sampling/pnf-wavenet/lrschedule.py official repository unverified MIT (permissive) · a8c3b8fb903acda7 · report
to_int16 vivjay30/pnf-sampling/pnf-wavenet/evaluate.py official repository unverified MIT (permissive) · b71103ee25d18914 · report

Tasks

Audio Source SeparationSuper-Resolution

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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