Reframing Offline Reinforcement Learning as a Regression Problem

Prajwal Koirala, Cody H. Fleming · DOI

Introduction

Offline reinforcement learning (RL) typically involves complex neural architectures and extensive computational resources. This paper challenges that paradigm by demonstrating that offline RL can be effectively reframed as a supervised regression problem. By utilizing decision-tree-based ensembles, specifically XGBoost, the authors introduce two frameworks—Return-Conditioned Decision Tree Policy (RCDTP) and Return-Weighted Decision Tree Policy (RWDTP)—that achieve state-of-the-art performance with training times measured in seconds on standard CPUs.

The Challenge of Offline RL

Offline RL is inherently difficult because agents must learn optimal behaviors from static, pre-collected datasets without the benefit of environment interaction. Traditional deep RL methods often succumb to the "deadly triad": the combination of function approximation, bootstrapping, and off-policy data. This frequently leads to unstable training, overestimation of out-of-distribution actions, and high computational costs. Furthermore, the "black box" nature of neural networks limits their utility in safety-critical applications like robotics or autonomous driving, where interpretability is paramount.

Methodology: Decision Trees for RL

The authors propose two distinct frameworks that leverage the efficiency and interpretability of decision trees:

  1. Return-Conditioned Decision Tree Policy (RCDTP): Inspired by sequence modeling approaches like the Decision Transformer, RCDTP conditions the policy on the current state, timestep, and a target "Return-to-Go." At inference, the agent is prompted with a high target reward, and the decision trees predict the actions required to achieve it.
  2. Return-Weighted Decision Tree Policy (RWDTP): This approach utilizes weighted imitation learning. It assigns higher weights to actions associated with superior total returns in the dataset, training the decision trees to regress toward the most successful behaviors.

To address datasets lacking expert demonstrations, the authors incorporate an Implicit Q-Learning (IQL) Critic. This critic ranks multiple action predictions from the tree ensemble, selecting the one with the highest estimated value to improve performance on suboptimal data.

Figure 1: Performance of RWDTP and RCDTP on classic control tasks (Cartpole and Pendulum), showing stable control over time.

Experimental Results

The frameworks were evaluated across diverse benchmarks, including D4RL (MuJoCo, Adroit, Franka Kitchen), Racecar Gym, and Pybullet Drones.

Efficiency and Speed

The most significant advantage of these methods is computational efficiency. While a Decision Transformer might require nearly 48 minutes to train on the Hopper Expert task, RWDTP achieves comparable results in just 9.64 seconds on a CPU. This represents a reduction in training time of over 99%.

Generalization and Control

In the Racecar Gym environment, RCDTP demonstrated superior "zero-shot" transfer capabilities, navigating unseen racetracks using only LiDAR and velocity data more effectively than the Decision Transformer. In the Pybullet Drones environment, the models showed precise control, successfully hovering at various target heights as specified by the return conditioning.

Figure 4: (a) Zero-shot transfer performance in Racecar Gym comparing RCDTP to Decision Transformer (DT). (b) Drone height control in Pybullet Drones using RWDTP at different target levels.

Interpretability and Real-Time Control

Unlike neural networks, decision trees offer inherent interpretability through feature importance analysis. The authors were able to identify exactly which sensor inputs—such as specific joint velocities—were most influential in the agent's decision-making process. Additionally, the microsecond-scale inference latency of decision trees makes them ideal for high-frequency real-time robotic control.

Conclusion and Future Work

Reframing offline RL as a regression problem using decision trees offers a compelling alternative to deep learning approaches, providing massive gains in speed and transparency without sacrificing performance. While current limitations include the inability to process raw high-dimensional data (like images) without external feature extractors and challenges in online fine-tuning, this research paves the way for more accessible and explainable autonomous systems.

Summary updated

BibTeX
@inproceedings{koirala2024reframing,
  author = {Prajwal Koirala and Cody H. Fleming},
  title = {{Reframing Offline Reinforcement Learning as a Regression Problem}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=eTRncsYYdv},
}
Figure