Skip to content

This repo is the code for T-SCEND, a novel framework that significantly improves diffusion model’s reasoning capabilities with better energy-based training and scaling up test-time computation.

Notifications You must be signed in to change notification settings

AI4Science-WestlakeU/t_scend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Here is the official implementation for T-SCEND: Test-time Scalable MCTS-enhanced Diffusion Model.

[arXiv]

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.

Trained with Maze tasks of up to 6x6, T-SCEND can generalize to solve much harder 15x15 Maze tasks, with larger test-time compute resulting in higher accuracy:

Framework of T-SCEND:

1. Environment Setup

conda env create -f environment.yml
conda activate tscendEnv
pip install -e .

2. Dataset and checkpoints

The datasets and checkpoints can be downloaded from this link.

3. Training

To train the model, run the following command

sh scripts/Maze_train.sh
sh scripts/Sudoku_train.sh

4. Inference

sh scripts/Maze_inference.sh
sh scripts/Sudoku_inference.sh

Citation

If you find our work and/or our code useful, please cite us via:

@article{zhang2025tscend,
  title={T-SCEND: Test-time Scalable MCTS-enhanced Diffusion Model},
  author={Zhang, Tao and Pan, Jia-Shu and Feng, Ruiqi and Wu, Tailin},
  journal={arXiv preprint arXiv:2502.01989},
  year={2025}
}

About

This repo is the code for T-SCEND, a novel framework that significantly improves diffusion model’s reasoning capabilities with better energy-based training and scaling up test-time computation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published