Skip to main content
QUICK REVIEW

[Paper Review] Policy Regularization with Dataset Constraint for Offline Reinforcement Learning

Yuhang Ran, Yi-Chen Li|arXiv (Cornell University)|Jun 11, 2023
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes Policy Regularization with Dataset Constraint (PRDC), a novel offline reinforcement learning method that guides policies using the nearest state-action pair in the dataset rather than restricting them to actions from the behavior policy’s distribution or support. PRDC reduces overestimation bias more effectively than prior methods, achieving state-of-the-art performance on D4RL benchmarks with minimal hyperparameter tuning.

ABSTRACT

We consider the problem of learning the best possible policy from a fixed dataset, known as offline Reinforcement Learning (RL). A common taxonomy of existing offline RL works is policy regularization, which typically constrains the learned policy by distribution or support of the behavior policy. However, distribution and support constraints are overly conservative since they both force the policy to choose similar actions as the behavior policy when considering particular states. It will limit the learned policy's performance, especially when the behavior policy is sub-optimal. In this paper, we find that regularizing the policy towards the nearest state-action pair can be more effective and thus propose Policy Regularization with Dataset Constraint (PRDC). When updating the policy in a given state, PRDC searches the entire dataset for the nearest state-action sample and then restricts the policy with the action of this sample. Unlike previous works, PRDC can guide the policy with proper behaviors from the dataset, allowing it to choose actions that do not appear in the dataset along with the given state. It is a softer constraint but still keeps enough conservatism from out-of-distribution actions. Empirical evidence and theoretical analysis show that PRDC can alleviate offline RL's fundamentally challenging value overestimation issue with a bounded performance gap. Moreover, on a set of locomotion and navigation tasks, PRDC achieves state-of-the-art performance compared with existing methods. Code is available at https://github.com/LAMDA-RL/PRDC

Motivation & Objective

  • To address the overconservatism of existing policy regularization methods in offline RL that restrict policies to behavior policy actions.
  • To reduce value overestimation in out-of-distribution actions by leveraging broader dataset information.
  • To develop a less conservative yet still safe policy regularization method that improves generalization beyond behavior policy actions.
  • To achieve state-of-the-art performance on standard offline RL benchmarks with minimal hyperparameter sensitivity.

Proposed method

  • PRDC searches the offline dataset for the nearest state-action pair to the current policy’s predicted action in a given state.
  • It regularizes the policy to output actions close to the action of the nearest neighbor in the dataset, forming a point-to-set distance constraint.
  • The method uses a KD-Tree for efficient nearest neighbor search, enabling fast inference and training.
  • The regularization is implemented as a penalty term in the policy update, with a hyperparameter β controlling conservatism.
  • PRDC is compatible with any actor-critic algorithm and is instantiated with TD3 for empirical evaluation.
  • The dataset constraint is neither a distribution nor support constraint, but a new form of constraint based on global dataset proximity.

Experimental results

Research questions

  • RQ1Can a policy regularization method that uses the nearest neighbor in the dataset improve performance beyond behavior policy constraints?
  • RQ2Does a dataset-based constraint reduce value overestimation more effectively than distribution or support constraints?
  • RQ3How does PRDC perform compared to state-of-the-art offline RL methods on standard benchmarks?
  • RQ4What is the sensitivity of PRDC to the hyperparameter β controlling conservatism?
  • RQ5Can PRDC be efficiently implemented at scale, especially with large or high-dimensional datasets?

Key findings

  • PRDC achieves state-of-the-art performance on the D4RL Gym and AntMaze benchmark environments, outperforming prior methods including CQL and SAC-A.
  • On hopper-medium-v2, PRDC achieves a mean return of 3312.8, significantly outperforming the next best baseline.
  • The method shows robust performance across a wide range of β values (1, 2, 5), indicating low sensitivity to hyperparameter tuning.
  • When β is too small (0.1), performance drops due to insufficient state-awareness in neighbor selection; when β is too large (1000), overconservatism reduces performance.
  • PRDC runs at acceptable speed, with inference time comparable to or faster than CQL on the hopper-medium-v2 dataset due to efficient KD-Tree indexing.
  • Ablation studies show that averaging actions from multiple nearest neighbors does not improve performance, suggesting single nearest neighbor is optimal for this formulation.

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.