Trajectory Generation with Conservative Value Guidance for Offline Reinforcement Learning

Tieru Wang, Kunbao Wu, Guoshun NanICLR 2026

TL;DR

TGCVG (Trajectory Generation with Conservative Value Guidance) is a high-efficiency data augmentation framework that supercharges offline reinforcement learning. By replacing slow, complex diffusion models with a lightweight, "conservative" Transformer-based generator, it synthesizes high-quality trajectories that stay true to the original data distribution while significantly slashing training and generation time.

Introduction: The Challenge of Offline RL

In Offline Reinforcement Learning (RL), agents must learn to make decisions from a static, pre-collected dataset without any room for trial and error in the environment. The primary bottleneck in this field is distributional shift: if an agent chooses an action slightly different from those in the dataset, it might "hallucinate" a high reward, leading to catastrophic failure in real-world deployment.

To mitigate this, researchers often use data augmentation—generating synthetic data to fill the gaps in the state-action space. However, current state-of-the-art methods rely heavily on Diffusion models. While Diffusion models produce diverse data, they are computationally "heavy," requiring expensive training and slow, multi-step denoising to generate a single trajectory. This makes them difficult to deploy in resource-constrained or time-sensitive environments.

Methods: The TGCVG Framework

The authors propose a two-stage framework called TGCVG to address these inefficiencies:

TGCVG Framework Architecture
  1. The Action Synthesizer (Transformer-CQL): Instead of a standard MLP or a computationally expensive Diffusion model, the authors use a Transformer backbone. Crucially, they train it using Conservative Q-Learning (CQL). This ensures the policy doesn't just aim for high rewards but stays "conservative"—it prioritizes actions that are well-supported by the original dataset, preventing the generator from drifting into hallucinated high-value regions.
  2. The Dynamics Model: A separate model learns the "physics" of the environment, predicting the next state and reward given a current state and action.
  3. Autoregressive Generation: To create a new trajectory, the system takes a real state sequence, uses the Transformer to pick a "safe" but high-value action, and uses the dynamics model to predict the next state. This process repeats, effectively "rolling out" a synthetic future that mimics the original data collection process.

By using a Transformer instead of Diffusion, the model captures long-term dependencies in the data much more efficiently.

Datasets

The researchers evaluated TGCVG on the D4RL benchmark, the industry standard for offline RL:

  • MuJoCo Gym: Locomotion tasks (HalfCheetah, Hopper, Walker2d) with varying data quality (medium, medium-replay, medium-expert).
  • Maze2D: Navigation tasks that test an algorithm's ability to "stitch" together sub-trajectories to reach a goal.
  • AntMaze: A more complex, high-dimensional navigation environment with sparse rewards (0 or 1).

Key Insights and Ideas

Performance and t-SNE visualization comparing CQL and TD3BC augmentation
  • Conservatism is the Secret Sauce: The authors found that without conservative guidance (e.g., using a method like TD3BC instead of CQL), the generator creates "outlier" clusters of data. As seen in the t-SNE visualizations above, these outliers confuse the final RL agent, leading to a performance collapse. Conservative guidance keeps the synthetic data safely "on-distribution."
  • Efficiency over Complexity: You don't always need a Diffusion model. A well-regularized Transformer can generate high-quality data at a fraction of the temporal cost.
  • Consistency > Reward: In their data quality analysis, the authors noted that dynamic consistency (how well the synthetic transitions follow the laws of the environment) is often a better predictor of success than simply how high the synthetic rewards are.
  • Data Amplification: TGCVG is remarkably effective in "low-data" regimes. Even when given only 1% of the original dataset, it can extract and amplify useful patterns to outperform agents trained on much larger datasets.

Key Results

  • Performance Boost: TGCVG consistently improved the scores of standard offline RL algorithms (like CQL, IQL, and TD3BC). On the halfcheetah-medium task, it boosted the score from 48.42 to 68.14.
  • Speedup: Compared to GTA (a leading Diffusion-based method), TGCVG is significantly faster. It reduces training time by roughly 4-5x and offers even more dramatic speedups during the trajectory generation phase by avoiding the iterative denoising steps required by Diffusion.
  • State-of-the-Art: In many tasks, TGCVG-augmented agents achieved results comparable to or better than much more complex, specialized offline RL architectures.

Limitations and Future Work

  • Inherited Weaknesses: Because TGCVG is built on top of the CQL framework, it inherits some of CQL's limitations. If a task is fundamentally "unsolvable" for the underlying conservative logic, the generator may struggle to produce the "breakthrough" data needed for high performance.
  • Future Directions: The authors suggest exploring iterative grounding (using tree-based methods to pick only the best trajectory segments) and unsupervised anomaly detection to automatically filter out low-quality synthetic data before it reaches the training phase. They also see potential for deploying this on diverse robotic platforms.

Summary updated

BibTeX
@inproceedings{wang2026trajectory,
  author = {Tieru Wang and Kunbao Wu and Guoshun Nan},
  title = {{Trajectory Generation with Conservative Value Guidance for Offline Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=eTThjhjzwZ},
}
Figure