Skip to main content
QUICK REVIEW

[Paper Review] CORL: Research-oriented Deep Offline Reinforcement Learning Library

Denis Tarasov, Alexander Nikulin|arXiv (Cornell University)|Oct 13, 2022
Reinforcement Learning in RoboticsComputer Science9 citations
TL;DR

CORL is a research-oriented, single-file library for deep offline and offline-to-online reinforcement learning, offering minimal, transparent implementations of 16 algorithms with integrated experiment tracking and reproducible benchmarking on D4RL. It enables rapid prototyping and reliable comparison by isolating key implementation details and providing cloud-logged metrics and performance references for 10 offline and 6 offline-to-online methods.

ABSTRACT

CORL is an open-source library that provides thoroughly benchmarked single-file implementations of both deep offline and offline-to-online reinforcement learning algorithms. It emphasizes a simple developing experience with a straightforward codebase and a modern analysis tracking tool. In CORL, we isolate methods implementation into separate single files, making performance-relevant details easier to recognize. Additionally, an experiment tracking feature is available to help log metrics, hyperparameters, dependencies, and more to the cloud. Finally, we have ensured the reliability of the implementations by benchmarking commonly employed D4RL datasets providing a transparent source of results that can be reused for robust evaluation tools such as performance profiles, probability of improvement, or expected online performance.

Motivation & Objective

  • To address the complexity and abstraction barriers in existing modular RL libraries that hinder algorithm understanding and modification for researchers.
  • To provide a minimal, single-file implementation of deep offline and offline-to-online RL algorithms for improved readability and ease of experimentation.
  • To ensure reproducibility and reliability by benchmarking all algorithms on standard D4RL datasets with consistent hyperparameters and logging.
  • To support advanced analysis through integration with experiment tracking tools like Weights & Biases for metrics, hyperparameters, and dependencies.
  • To serve as a reference benchmark for future research by publishing transparent, reusable results including performance profiles and cumulative regret metrics.

Proposed method

  • Each algorithm is implemented in a single, self-contained Python file (~400–600 lines), isolating environment, algorithm, and evaluation parameters for clarity and maintainability.
  • A YAML configuration file is used to specify hyperparameters, environment settings, and training configurations, enabling easy experiment setup and reproducibility.
  • Integration with Weights & Biases enables automatic logging of metrics, hyperparameters, and dependencies to the cloud for transparent, traceable analysis.
  • All implementations are rigorously benchmarked on the D4RL suite, with results compared against published baselines to ensure correctness and consistency.
  • The library supports both standard offline RL (e.g., CQL, IQL, BCQ) and emerging offline-to-online methods (e.g., ReBRAC, Cal-QL, SPOT), including online finetuning experiments.
  • Performance is evaluated using standard metrics such as average return, success rate, and cumulative regret, with statistical significance assessed over 4 random seeds.

Experimental results

Research questions

  • RQ1How can a minimal, single-file implementation of offline RL algorithms improve transparency and reproducibility in research?
  • RQ2To what extent do single-file implementations preserve performance compared to modular libraries while enhancing readability and ease of modification?
  • RQ3How do different offline-to-online finetuning strategies (e.g., ReBRAC, Cal-QL, AWAC) compare in terms of cumulative regret and final performance on D4RL benchmarks?
  • RQ4Can a lightweight, dependency-minimized library like CORL serve as a reliable reference benchmark for offline RL without sacrificing feature completeness?
  • RQ5What insights can be drawn from performance profiles and probability of improvement metrics when comparing offline-to-online methods across AntMaze and Adroit environments?

Key findings

  • ReBRAC and IQL achieved the highest average performance across both AntMaze and Adroit environments after online finetuning, with ReBRAC showing a 19% average cumulative regret (0.19) compared to 0.47 for the next best method.
  • AWAC performed poorly in online finetuning, with a cumulative regret of 0.82 on average, indicating it does not benefit from online adaptation on complex tasks.
  • CQL and Cal-QL showed minimal performance differences, with Cal-QL not significantly outperforming CQL on any D4RL task, suggesting limited gains from the proposed modification.
  • On AntMaze, CQL and Cal-QL achieved the best offline scores, but both failed to solve Adroit tasks, indicating limitations in generalization to high-dimensional control.
  • IQL and ReBRAC were the only algorithms to significantly improve performance on Adroit tasks after finetuning, with ReBRAC showing a 28.41-point improvement in average return on antmaze-large-diverse-v2.
  • The performance profile and probability of improvement analysis confirmed ReBRAC as the strongest baseline, outperforming others in 75% of comparisons after online tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.