Papers › GTA: Generative Trajectory Augmentation with Guidance for Offline Reinforcement Learning

GTA: Generative Trajectory Augmentation with Guidance for Offline Reinforcement Learning

27 May 2024arXiv:2405.16907archive 2025-07-28

Jaewoo Lee, Sujin Yun, Taeyoung Yun, Jinkyoo Park

Offline Reinforcement Learning (Offline RL) presents challenges of learning effective decision-making policies from static datasets without any online interactions. Data augmentation techniques, such as noise injection and data synthesizing, aim to improve Q-function approximation by smoothing the learned state-action region. However, these methods often fall short of directly improving the quality of offline datasets, leading to suboptimal results. In response, we introduce GTA, Generative Trajectory Augmentation, a novel generative data augmentation approach designed to enrich offline data by augmenting trajectories to be both high-rewarding and dynamically plausible. GTA applies a diffusion model within the data augmentation framework. GTA partially noises original trajectories and then denoises them with classifier-free guidance via conditioning on amplified return value. Our results show that GTA, as a general data augmentation strategy, enhances the performance of widely used offline RL algorithms across various tasks with unique challenges. Furthermore, we conduct a quality analysis of data augmented by GTA and demonstrate that GTA improves the quality of the data. Our code is available at https://github.com/Jaewoopudding/GTA

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.16907")

Code

Syntology Ran 32 of 37 code samples harvested from 3 repositories linked to this paper; 5 have no recorded run. Of those that ran: 3 ran · honoured contract; 4 ran · violated contract; 5 ran · our draft was wrong; 20 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 16 ran; found in paper text by Syntology: 18 samples from 2 repositories, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jaewoopudding/gta officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

37 samples harvested; 32 ran; 3 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
4ran · violated contract
5ran · our draft was wrong
20ran
5unverified

Licence: 0 of the 37 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ElucidatedDiffusion jaewoopudding/gta/src/diffusion/elucidated_diffusion.py official repository ran MIT (permissive) · 01dc94ab923da1cc · report
asymmetric_l2_loss Jaewoopudding/GTA/corl/algorithms/iql.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 82a8f299419d4d83 · report
compute_mean_std Jaewoopudding/GTA/corl/shared/utils.py official repository ran fingerprinted MIT (permissive) · 86f2ca05d53e29f0 · report
default Jaewoopudding/GTA/src/diffusion/elucidated_diffusion.py official repository ran · violated contract MIT (permissive) · 915fbeb88e13d4a3 · report
define_rewardweighting_sampler Jaewoopudding/GTA/src/diffusion/elucidated_diffusion.py official repository ran MIT (permissive) · 7606f8708b6efb13 · report
discounted_cumsum Jaewoopudding/GTA/corl/algorithms/dt.py official repository ran fingerprinted MIT (permissive) · f1082bd682dc3cf0 · report
exists Jaewoopudding/GTA/src/diffusion/elucidated_diffusion.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
extend_and_repeat Jaewoopudding/GTA/corl/algorithms/cql.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · a4d39c2adb56e8ce · report
get_activation Jaewoopudding/GTA/src/diffusion/denoiser_network/helpers.py official repository ran MIT (permissive) · 308e4d2dcc2d67f2 · report
normalize_states Jaewoopudding/GTA/corl/shared/utils.py official repository ran · honoured contract fingerprinted MIT (permissive) · ba80f9ff81b1de5f · report
pad_along_axis Jaewoopudding/GTA/corl/algorithms/dt.py official repository ran MIT (permissive) · 47482b0dd3325c35 · report
return_reward_range Jaewoopudding/GTA/corl/shared/buffer.py official repository ran · honoured contract MIT (permissive) · 136a4348dc060901 · report
split_diffusion_trajectory Jaewoopudding/GTA/src/diffusion/utils.py official repository ran MIT (permissive) · f3eb5978a6086471 · report
split_diffusion_transition Jaewoopudding/GTA/src/diffusion/utils.py official repository ran MIT (permissive) · 254a3bde31e8eccb · report
wrap_env Jaewoopudding/GTA/corl/algorithms/dt.py official repository ran MIT (permissive) · 637dc1e936615e64 · report
wrap_env Jaewoopudding/GTA/corl/shared/utils.py official repository ran MIT (permissive) · 92425c08adf4c962 · report
BaseNormalizer jaewoopudding/gta/src/diffusion/elucidated_diffusion.py official repository unverified MIT (permissive) · 463193b720793e28 · report
apply_conditioning jaewoopudding/gta/src/diffusion/elucidated_diffusion.py official repository unverified MIT (permissive) · f723bf01040101db · report
prepare_replay_buffer Jaewoopudding/GTA/corl/shared/buffer.py official repository unverified MIT (permissive) · b02ea4837cdfa314 · report
compute_mean_std conglu1997/SynthER/synther/corl/algorithms/cql.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 4e08ac58e3891cfb · report
log conglu1997/SynthER/synther/diffusion/elucidated_diffusion.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · b5472673332de78e · report
combine_two_tensors conglu1997/SynthER/synther/online/redq_rlpd_agent.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 4d84241d86cd513b · report
default conglu1997/SynthER/synther/diffusion/denoiser_network.py found in paper text by Syntology ran · violated contract MIT (permissive) · d1ef6b8cb9a28a53 · report
episode_len conglu1997/v-d4rl/drqbc/replay_buffer.py found in paper text by Syntology ran MIT (permissive) · 9f840a22d31a89bc · report
eval_actor conglu1997/SynthER/synther/corl/algorithms/edac.py found in paper text by Syntology ran MIT (permissive) · 7ca0a51383f3d84b · report
exists conglu1997/SynthER/synther/diffusion/denoiser_network.py found in paper text by Syntology ran · violated contract MIT (permissive) · 608e364a9d2376a3 · report
get_time_limit conglu1997/SynthER/synther/online/online_exp.py found in paper text by Syntology ran MIT (permissive) · 996f00d5d9b562ae · report
get_unique_int conglu1997/v-d4rl/drqbc/dmc.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 52a34e88baa61a95 · report
load_episode conglu1997/v-d4rl/drqbc/replay_buffer.py found in paper text by Syntology ran MIT (permissive) · 184876e5f4ab6562 · report
make_replay_loader conglu1997/v-d4rl/drqbc/replay_buffer.py found in paper text by Syntology ran MIT (permissive) · 6567f3b84283c0f8 · report
normalizer_factory conglu1997/SynthER/synther/diffusion/norm.py found in paper text by Syntology ran MIT (permissive) · be9e2d491a0432c5 · report
save_episode conglu1997/v-d4rl/conversion_scripts/hdf5_to_npz.py found in paper text by Syntology ran MIT (permissive) · a5da65c6813c8a2e · report
schedule conglu1997/v-d4rl/drqbc/utils.py found in paper text by Syntology ran · honoured contract MIT (permissive) · ae234269debed3f4 · report
to_torch conglu1997/v-d4rl/drqbc/utils.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 6244e9922f4e0610 · report
wrap_gym conglu1997/SynthER/synther/online/online_exp.py found in paper text by Syntology ran MIT (permissive) · e06e791cc82d11d9 · report
load_episodes conglu1997/v-d4rl/conversion_scripts/npz_to_hdf5.py found in paper text by Syntology unverified MIT (permissive) · 5ca2fd0c3f022a7d · report
wrap_env conglu1997/SynthER/synther/corl/algorithms/cql.py found in paper text by Syntology unverified MIT (permissive) · 4dd56ecf0f797666 · report

Tasks

Data AugmentationDecision MakingOffline RLReinforcement Learningreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections