Conditioned Sequence Models (CSMs) learn policies by treating return-to-go (RTG) as a control signal. However, existing CSMs often treat the RTGs as simple numerical inputs rather than aligning them with the performance of their policies. In this paper, we propose Q-ALIGN DT, a framework that enforces this alignment by ensuring the Q-value of the output policy is consistent with the input RTG. By leveraging a Q function to provide dense guidance to CSMs and further fine-tuning it using an RTG-perturbation technique with the CSM, our method ensures that higher RTGs are consistently mapped to trajectories with higher expected returns. Theoretically, we show that Q-ALIGN DT can efficiently learn the desired policy and output a near-optimal one when the RTG is sufficiently high. Empirically, we demonstrate through extensive experiments that Q-ALIGN DT achieves superior controllability and performance across the D4RL benchmark. Remarkably, our model effectively learns a structured family of policies that maintains precise alignment and generalizes to tasks like velocity-tracking where prior methods fail.
@article{arxiv.2605.29028,
title = {Return-to-Go Is More Than a Number: Q-Guided Alignment for Return-Conditioned Supervised Learning},
author = {Yuxiao Yang and Weitong Zhang},
journal= {arXiv preprint arXiv:2605.29028},
year = {2026}
}
Comments
28 pages, 13 figures, 20 tables, accepted by ICML 2026