TDRM: Smooth Reward Models with Temporal Difference for LLM RL and Inference

Dan Zhang, Min Cai, Jonathan Light, Ziniu Hu, Yisong Yue +1 more
9/18/2025
cs.LGcs.CL

Official code: THUDM/TDRM (9 stars, Apache-2.0, last commit 2025-09-25).

Abstract

Reward models are central to both reinforcement learning (RL) with language models and inference-time verification. However, existing reward models often lack temporal consistency, leading to ineffective policy updates and unstable RL training. We introduce TDRM, a method for learning smoother and more reliable reward models by minimizing temporal differences (TD) for training-time reinforcement learning and inference-time verification. Experiments show that TD-trained process reward models (PRMs) improve performance across Best-of-N (up to 6.6%) and tree-search (up to 23.7%) settings. When combined with Reinforcement Learning with Verifiable Rewards (RLVR), TD-trained PRMs lead to more data-efficient RL -- achieving comparable performance with just 2.5k data to what baseline methods require 50.1k data to attain -- and yield higher-quality language model policies in 8 model variants (5 series), e.g., Qwen2.5-(0.5B, 1,5B), GLM4-9B-0414, GLM-Z1-9B-0414, Qwen2.5-Math-(1.5B, 7B), and DeepSeek-R1-Distill-Qwen-(1.5B, 7B). We release all code at https://github.com/THUDM/TDRM.

View on arXivView PDF

Code Implementations(1)

THUDM/TDRMOfficial100%
Apache-2.0
91Shell, PythonSep 19, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2025tdrm,
  title  = {TDRM: Smooth Reward Models with Temporal Difference for LLM RL and Inference},
  author = {Dan Zhang and Min Cai and Jonathan Light and Ziniu Hu and Yisong Yue and Jie Tang},
  year   = {2025},
  eprint = {2509.15110},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.15110v2}
}

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.15110.svg)](https://codeofpaper.com/paper/2509.15110)

Discussion