Guided Data Augmentation for Offline Reinforcement Learning and Imitation Learning

Nicholas E. Corrado, Yuxiao Qu, John U. Balis, Adam Labiosa, Josiah P. Hanna · DOI

Abstract

Offline Reinforcement Learning (RL) aims to train agents from static datasets, but performance is often limited by data scarcity and quality. We present Guided Data Augmentation (GuDA), a framework that leverages simple human-defined rules to synthetically transform small, suboptimal datasets into high-quality experience. By guiding transformations like translation and rotation toward task goals, GuDA enables agents to learn expert-level behaviors that outperform standard random or model-based augmentation strategies across diverse robotic tasks.

Introduction

The promise of offline RL lies in training robots without the risks and costs of real-world exploration. However, real-world datasets are often sparse and suboptimal. Traditional Data Augmentation (DA) techniques, while helpful in computer vision, often fail in RL because random transformations can create trajectories that are physically impossible or counterproductive to the goal. GuDA addresses this by incorporating human intuition to ensure synthetic data reflects expert-like progress.

Methodology: Guided Data Augmentation

GuDA shifts the human's role from providing perfect demonstrations to defining what "progress" looks like. It utilizes four primary Data Augmentation Functions (DAFs): translation, rotation, reflection, and goal relabeling.

The GuDA framework uses user-specified sampling rules to generate expert-quality synthetic data.

Unlike random DA, GuDA employs a guided sampling procedure. For instance, in a parking task, a user might specify that any translation or rotation of a trajectory must result in the car ending in a valid parking spot. This constraint filters out "garbage" data, effectively synthesizing an expert dataset from a handful of messy trajectories. This model-free approach avoids the pitfalls of training complex world models on limited data.

Experimental Setup

GuDA was evaluated on several benchmarks:

  • Navigation: D4RL Maze2d and Antmaze (point-mass and 8-jointed ant).
  • Autonomous Driving: Highway-env Parking.
  • Robotic Sports: Simulated and physical soccer (using a NAO V6 humanoid).

Experiments focused on extreme data scarcity, sometimes using only a single suboptimal trajectory as the starting point.

Key Results and Discussion

GuDA consistently outperformed baselines across all tested environments and offline RL algorithms (BC, TD3+BC, AWAC).

Performance comparison of GuDA against baseline augmentation strategies across multiple benchmarks and offline RL algorithms.

Key findings include:

  • Superiority over Random DA: GuDA achieved significantly higher returns, particularly in complex tasks like antmaze-large, where it was the only strategy to consistently succeed.
  • Real-World Viability: On a physical NAO robot, GuDA trained a policy from one messy trajectory that was both more successful and more efficient than the original demonstrator.
  • Robustness: By relying on spatial symmetries (invariance to rotation/translation) rather than learned models, GuDA remains effective even when data is too sparse for model-based methods like MoCoDA.

Conclusion and Future Work

GuDA demonstrates that "how" data is augmented is as critical as the quantity of data. While it requires domain-specific sampling rules, it provides a powerful mechanism for bootstrapping expert behavior from minimal, imperfect data. Future work may explore automating the discovery of these guidance rules or applying GuDA to non-spatial domains.

Summary updated

BibTeX
@misc{corrado2023guided,
  author = {Nicholas E. Corrado and Yuxiao Qu and John U. Balis and Adam Labiosa and Josiah P. Hanna},
  title = {{Guided Data Augmentation for Offline Reinforcement Learning and Imitation Learning}},
  year = {2023},
  eprint = {2310.18247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.18247},
}
Figure