Bridging the Gap from Supervised Learning to Control

David Brandfonbrener2023

Abstract

While supervised learning (SL) has undergone a scaling revolution in computer vision and natural language processing, reinforcement learning (RL) remains notoriously difficult to scale due to algorithmic instability and complex data requirements. This paper explores a paradigm shift: treating robot control more like supervised learning. By leveraging offline RL, one-step policy improvement, and inverse dynamics pretraining, we can bypass the pitfalls of traditional iterative RL. Our findings demonstrate that these simplified, data-driven approaches achieve state-of-the-art performance across complex manipulation tasks and real-world robotic grasping.

Introduction

The success of modern AI is largely built on the stability of supervised learning applied to massive, static datasets. In contrast, standard reinforcement learning requires an agent to learn through active environment interaction, which introduces non-stationary data distributions and difficult temporal credit assignment problems. This thesis investigates whether the tools of supervised learning can be adapted to solve control problems, focusing specifically on Offline RL—where agents learn from fixed datasets of prior experience without further interaction.

The Problem: Iterative Error Exploitation

Traditional offline RL algorithms often follow an iterative paradigm, alternating between policy evaluation and policy improvement. However, in an offline setting, this approach frequently falls into the "iterative error exploitation" trap. Because the dataset is fixed, any errors in value estimation are propagated and amplified over successive iterations, eventually causing the policy to fail.

To address this, we propose a One-Step Policy Learning baseline. Instead of multiple iterations, this method performs a single step of policy improvement using the behavior policy’s Q-function. This simplifies the control problem into a form that closely resembles standard supervised regression, significantly increasing stability.

Strategic Data Collection: ExORL and VBT

Offline RL is fundamentally limited by the quality of its training data. We introduce two frameworks to improve data utility:

  1. ExORL (Exploratory data for Offline RL): A pipeline that utilizes unsupervised exploration to generate diverse datasets. We discovered that if training data is sufficiently diverse, standard off-policy algorithms (like TD3) can actually outperform specialized offline RL algorithms, suggesting that data diversity acts as a powerful regularizer.
  2. Visual Backtracking Teleoperation (VBT): A novel protocol for human data collection. Instead of providing only successful demonstrations, operators intentionally demonstrate a failure, a recovery, and then a success. This allows the model to learn the critical "decision boundary" between success and failure, which is often missing in success-only datasets.

Representation Learning via Inverse Dynamics

For multitask robotic manipulation, learning effective visual representations is crucial. We investigated various pretraining objectives and found that Inverse Dynamics—training an encoder to predict the action taken between two consecutive frames—is superior to standard behavior cloning or forward dynamics.

Inverse dynamics acts as a "deconfounder." In scenarios where an expert's goal is hidden, standard behavior cloning may fail to understand why an action was taken. Inverse dynamics focuses on the physical relationship between states and actions, creating more robust features that scale efficiently with dataset size.

Empirical Results

Our methods were evaluated across several rigorous benchmarks, including D4RL (locomotion and hand manipulation), the DeepMind Control Suite, and Meta-World.

  • Algorithmic Performance: The one-step algorithm outperformed the best reported iterative results on the majority of D4RL Gym-MuJoCo and Adroit tasks.
  • Real-World Robotics: In a t-shirt grasping task using a UR5 robotic arm, a policy trained on VBT data achieved a 79% success rate, significantly higher than the 66% achieved by standard behavior cloning on success-only data.
  • Pretraining Efficiency: Inverse dynamics was the only pretraining method that consistently improved performance over training from scratch across all tested visual environments.

Discussion and Limitations

While one-step methods offer high stability, they represent a "lower bound" on performance. They are less effective at "stitching" together suboptimal trajectories than iterative methods when the data quality is exceptionally poor. Additionally, our analysis of Return Conditioned Supervised Learning (RCSL)—the foundation of Decision Transformers—reveals that it faces exponential sample complexity in stochastic environments, indicating it may not be a universal solution for all control problems.

Conclusion

By shifting the focus from complex iterative RL to stable, data-driven supervised learning paradigms, we can create more robust and scalable robotic controllers. Future work will focus on scaling inverse dynamics pretraining to larger real-world datasets and exploring sequence models that allow for zero-shot task adaptation through prompting, similar to the evolution of Large Language Models.

Summary updated

BibTeX
@misc{brandfonbrener2023bridging,
  author = {David Brandfonbrener},
  title = {{Bridging the Gap from Supervised Learning to Control}},
  year = {2023},
}
Figure