TR2-D2: Tree Search Guided Trajectory-Aware Fine-Tuning for Discrete Diffusion

Sophia Tang, Yuchen Zhu, Molei Tao, Pranam Chatterjee
9/29/2025
cs.LGq-bio.BM

No official code found. Best implementation: sophtang/TR2-D2 (23 stars, MIT, last commit 2026-02-12).

Abstract

Reinforcement learning with stochastic optimal control offers a promising framework for diffusion fine-tuning, where a pre-trained diffusion model is optimized to generate paths that lead to a reward-tilted distribution. While these approaches enable optimization without access to explicit samples from the optimal distribution, they require training on rollouts under the current fine-tuned model, making them susceptible to reinforcing sub-optimal trajectories that yield poor rewards. To overcome this challenge, we introduce TRee Search Guided TRajectory-Aware Fine-Tuning for Discrete Diffusion (TR2-D2), a novel framework that optimizes reward-guided discrete diffusion trajectories with tree search to construct replay buffers for trajectory-aware fine-tuning. These buffers are generated using Monte Carlo Tree Search (MCTS) and subsequently used to fine-tune a pre-trained discrete diffusion model under a stochastic optimal control objective. We validate our framework on single- and multi-objective fine-tuning of biological sequence diffusion models, highlighting the overall effectiveness of TR2-D2 for reliable reward-guided fine-tuning in discrete sequence generation.

View on arXivView PDF

Code Implementations(1)

sophtang/TR2-D2Community73%
MIT

Code for TR2-D2: Tree Search Guided Trajectory-Aware Fine-Tuning for Discrete Diffusion

231Shell, PythonSep 28, 20258 months agoMIT
diffusion-modelsfine-tuninggenerative-models

Similar Papers

Cite this paper

@article{tang2025trd,
  title  = {TR2-D2: Tree Search Guided Trajectory-Aware Fine-Tuning for Discrete Diffusion},
  author = {Sophia Tang and Yuchen Zhu and Molei Tao and Pranam Chatterjee},
  year   = {2025},
  eprint = {2509.25171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.25171v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.25171.svg)](https://codeofpaper.com/paper/2509.25171)

Discussion