Papers › T-SCEND: Test-time Scalable MCTS-enhanced Diffusion Model

T-SCEND: Test-time Scalable MCTS-enhanced Diffusion Model

4 Feb 2025arXiv:2502.01989archive 2025-07-28

Tao Zhang, Jia-Shu Pan, Ruiqi Feng, Tailin Wu

We introduce Test-time Scalable MCTS-enhanced Diffusion Model (T-SCEND), a novel framework that significantly improves diffusion model's reasoning capabilities with better energy-based training and scaling up test-time computation. We first show that na\"ively scaling up inference budget for diffusion models yields marginal gain. To address this, the training of T-SCEND consists of a novel linear-regression negative contrastive learning objective to improve the performance-energy consistency of the energy landscape, and a KL regularization to reduce adversarial sampling. During inference, T-SCEND integrates the denoising process with a novel hybrid Monte Carlo Tree Search (hMCTS), which sequentially performs best-of-N random search and MCTS as denoising proceeds. On challenging reasoning tasks of Maze and Sudoku, we demonstrate the effectiveness of T-SCEND's training objective and scalable inference method. In particular, trained with Maze sizes of up to 6×6, our T-SCEND solves 88% of Maze problems with much larger sizes of 15×15, while standard diffusion completely fails.Code to reproduce the experiments can be found at https://github.com/AI4Science-WestlakeU/t_scend.

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

Code

Syntology Ran 19 of 34 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · violated contract; 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 5 ran; found in paper text by Syntology: 21 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ai4science-westlakeu/t_scend officialmentioned in papermentioned on GitHubpytorchMIT 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

34 samples harvested; 19 ran; 2 honoured the contract we drafted; 15 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.

2ran · honoured contract
3ran · violated contract
3ran · our draft was wrong
2ran · fixture could not drive it
9ran
15unverified

Licence: 0 of the 34 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

identity ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/denoising_diffusion_pytorch_1d.py official repository ran · honoured contract MIT (permissive) · 7f1040f5e3991d5e · report
swish ai4science-westlakeu/t_scend/tscend_src/model/models.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 0f786c407fb1ee4c · report
default ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/denoising_diffusion_pytorch_1d.py official repository ran · violated contract MIT (permissive) · d1ef6b8cb9a28a53 · report
exists ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/denoising_diffusion_pytorch_1d.py official repository ran · violated contract MIT (permissive) · 608e364a9d2376a3 · report
get_time ai4science-westlakeu/t_scend/tscend_src/utils/utils.py official repository ran MIT (permissive) · 35d5144a8f9cae87 · report
add_args_from_config ai4science-westlakeu/t_scend/tscend_src/utils/utils.py official repository unverified MIT (permissive) · 120c5b54f80e01ab · report
broadcast ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/nlm_utils.py official repository unverified MIT (permissive) · cf4d925ba3e0cd70 · report
caculate_confidence_interval ai4science-westlakeu/t_scend/tscend_src/utils/utils.py official repository unverified MIT (permissive) · d03ae14d2490cf24 · report
extract ai4science-westlakeu/t_scend/tscend_src/utils/utils_maze_continuous.py official repository unverified MIT (permissive) · 09c8479d9a5b3e06 · report
meshgrid ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/nlm_utils.py official repository unverified MIT (permissive) · 3bd1f73dff951c9d · report
meshgrid_exclude_self ai4science-westlakeu/t_scend/tscend_src/model/diffusion_lib/nlm_utils.py official repository unverified MIT (permissive) · a8a55f19dcddf768 · report
process_tensor_sudoku ai4science-westlakeu/t_scend/tscend_src/utils/utils_maze_continuous.py official repository unverified MIT (permissive) · 465cda5a23bfa556 · report
sudoku_score ai4science-westlakeu/t_scend/tscend_src/utils/utils_maze_continuous.py official repository unverified MIT (permissive) · bf38386f25f34c74 · report
Expander AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · 14f0772248b45045 · report
InferenceBase AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran MIT (permissive) · 143b2aeff2125292 · report
LinearLayer AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · 8d87e276de13f530 · report
LogicInference AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran MIT (permissive) · b20179518aab1891 · report
MLPLayer AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran MIT (permissive) · b172f5e1fa3d4d6a · report
Reducer AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · 4d7e91ea410a99e5 · report
_get_tuple_n AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 421df320f85fd119 · report
broadcast AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · a58996a6b5a75e87 · report
exclude_mask AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 70af23bab509259e · report
get_activation AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c608fc7d98f990e0 · report
get_batcnnorm AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran MIT (permissive) · 9b9856f78988b052 · report
get_dropout AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 3acb2b23a9bd22b9 · report
mask_value AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology ran fingerprinted MIT (permissive) · dbb922152c1e332c · report
str2bool ai4science-westlakeu/vfscale/vfscale_src/inference/inference_Maze.py found in paper text by Syntology ran · violated contract MIT (permissive) · 7c54b06017e05bd2 · report
GNNConvEBM AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · 36f1484dd68e104d · report
LogicLayer AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · a5425637206e3216 · report
LogicMachine AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · 6615bbe76e18ddd6 · report
NLMConv1DBlock AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · 2221e5ee9ad31dc0 · report
NLMConvBlock AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · 80023fe7520ff23f · report
Permutation AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · bbedff446942642a · report
concat_shape AI4Science-WestlakeU/VFScale/vfscale_src/model/models.py found in paper text by Syntology unverified MIT (permissive) · b40432e68b551baa · report

Tasks

Contrastive LearningDenoising

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive LearningDiffusionRandom Search

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