SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.02241 · 2026

BlockGen: Flexible Blockwise Sequence Modeling with Hybrid Samplers

Caglar Gulcehre, Justin Deschenaux

arXiv · PDF · Open in the Atlas

Code that ran

12 of 18 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; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 9 failures of our instrument; 6 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/2606.02241.json · badge: /api/ran/2606.02241.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
jdeschena/blockgen canonical (classifier label)
classifier basis: census
12 ran · 6 no recorded run
FunctionStatusWhere it lives
bias_dropout_add_scale Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jdeschena/blockgen/models/dit.py
pointer only (licence: NONE); the stored copy get_code serves, from hxixixh/gumbel-distill, is pointer only (licence: NONE) · get_code("fbbc6722b74bda27")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jdeschena/blockgen 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_samples Ran
ran, violated the contract we drafted
jdeschena/blockgen/sandbox_gsm8k.py
pointer only (licence: NONE) · get_code("3e1d14952db2c876")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jdeschena/blockgen 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_bias_dropout_add_scale Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/models/dit.py
pointer only (licence: NONE) · get_code("06d2d8e50f91481f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jdeschena/blockgen 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_noise Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/noise_schedules.py
pointer only (licence: NONE) · get_code("6214e0180e3a7ed6")
How it ran

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

is_safetensors_spec Ran
ran, violated the contract we drafted
jdeschena/blockgen/loading.py
pointer only (licence: NONE) · get_code("e537f9c94d54bc23")
How it ran

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

lm1b_detokenizer Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/dataloader.py
pointer only (licence: NONE) · get_code("576e1b9b9bcae8ff")
How it ran

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

load_from_safetensors Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/loading.py
pointer only (licence: NONE) · get_code("be857850092aef57")
How it ran

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

modulate Ran
ran, honoured the contract we drafted
jdeschena/blockgen/models/dit.py
pointer only (licence: NONE); the stored copy get_code serves, from hxixixh/gumbel-distill, is pointer only (licence: NONE) · get_code("78b555034273f3c7")
How it ran

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

ptb_detokenizer Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/dataloader.py
pointer only (licence: NONE) · get_code("9f7fbdbe7ca280e0")
How it ran

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

sample_categorical Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/samplers.py
pointer only (licence: NONE) · get_code("42d20a65c4d664db")
How it ran

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

training_block_diff_mask Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/models/block_dit.py
pointer only (licence: NONE) · get_code("f7e80b687fbacfc3")
How it ran

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

wt_detokenizer Ran
ran; our contract draft was wrong, not the code
jdeschena/blockgen/dataloader.py
pointer only (licence: NONE) · get_code("46c10627206a7795")
How it ran

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

absorbing_posterior_probs Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/samplers.py
pointer only (licence: NONE) · get_code("b8724226f0c9dc7c")
How it ran

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

ar_verification_mask Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/models/block_dit.py
pointer only (licence: NONE) · get_code("204e76d63ba6bb1c")
How it ran

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

block_generation_mask Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/models/block_dit.py
pointer only (licence: NONE) · get_code("e3299708c77af14f")
How it ran

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

dataclass Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/dataclass_patch.py
pointer only (licence: NONE) · get_code("60415613b01cd2d8")
How it ran

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

generate_sudoku_dataset Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/sudoku_generator.py
pointer only (licence: NONE) · get_code("6f282ca885430979")
How it ran

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

sample_absorbing_posterior Not yet run
unverified (harvested, no recorded run)
jdeschena/blockgen/samplers.py
pointer only (licence: NONE) · get_code("fd914ec9c4226ca5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jdeschena/blockgen 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 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 0 later) and 11 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
lm1b_detokenizer 11 other papers
11 dated earlier
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2412.10193 (2024-12)
Simple Guidance Mechanisms for Discrete Diffusion Models
and 8 more not named here
ptb_detokenizer 10 other papers
10 dated earlier
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
and 7 more not named here
wt_detokenizer 10 other papers
10 dated earlier
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2406.03736 (2024-06)
Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
and 7 more not named here
modulate 9 other papers
9 dated earlier · 1 only as an assembly brick
2410.21035 (2024-10)
Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
2412.10193 (2024-12)
Simple Guidance Mechanisms for Discrete Diffusion Models
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
and 6 more not named here
get_bias_dropout_add_scale 8 other papers
8 dated earlier
2310.16834 (2023-10)
Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
2405.20971 (2024-05)
Amortizing intractable inference in diffusion models for vision, language, and control
2410.21035 (2024-10)
Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
and 5 more not named here
bias_dropout_add_scale 7 other papers
6 dated earlier, 1 the same month
2410.21035 (2024-10)
Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
2503.09573 (2025-03)
BLOCK DIFFUSION: INTERPOLATING BETWEEN AU-TOREGRESSIVE AND DIFFUSION LANGUAGE MODELS
2505.18883 (2025-05)
Partition Generative Modeling: Masked Modeling Without Masks
and 4 more not named here
dataclass 1 other paper
1 dated earlier
2605.11125 (2026-05)
Language Modeling with Hyperspherical Flows

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

Is the uniform-state diffusion framework a more powerful paradigm for discrete diffusion? Recent studies indicate that this may be the case. In combination with predictor-corrector samplers, uniform-state diffusion models (USDMs) produce samples of higherquality than masked diffusion models (MDMs), and USDMs equal or outperform MDMs in downstream tasks, even though they exhibit greater perplexity. Two issues remain unresolved. First, existing work compares uniform and masked diffusion with un-informed correctors that re-inject noise at random positions, rather than targeting tokens most likely to be wrong. Second, prior work compares fullsequence diffusion models, so we do not know whether the same conclusion holds when tokens are generated block by block. To address these issues, we introduce BlockGen, a blockwise sequence model that we instantiate with both masked and uniform diffusion. Block-Gen trains on a mixture of block sizes and its likelihood interpolates between AR and pure diffusion more finely than models with a fixed block size. BlockGen enables AR-informed predictor-corrector sampling (ARPC), which combines AR and diffusion predictions to regenerate unlikely tokens without an auxiliary verifier. Under ancestral sampling, uniform outperforms masked in the block-by-block setting, especially in the few-step regime. Under ARPC, the gap closes and reverses at high NFE. With block size 16 on GSM8K, MDMs reach slightly higher accuracy than USDMs, and we observe a similar trend in Generative Perplexity on OpenWebText. Find our code at https: //github.com/jdeschena/blockgen.

For agents

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

get_harvested_code_for_paper("2606.02241")
get_code_for_paper("2606.02241")
have("2606.02241")

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

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

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

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

Connect an agent — have() is free.