Skip to main content
QUICK REVIEW

[Paper Review] Decoupled Prioritized Resampling for Offline RL

Yue Yang, Bingyi Kang|arXiv (Cornell University)|Jun 8, 2023
Mental Health Research TopicsPsychology3 citations
TL;DR

This paper proposes Offline Decoupled Prioritized Resampling (ODPR), a plug-and-play method that improves offline reinforcement learning by iteratively refining the behavior policy through action-quality-based prioritized resampling. By assigning higher weights to high-advantage actions, ODPR generates a superior behavior policy that enables better performance in constrained offline RL algorithms, with significant gains across five state-of-the-art algorithms on D4RL benchmarks, including settings without trajectory information.

ABSTRACT

Offline reinforcement learning (RL) is challenged by the distributional shift problem. To address this problem, existing works mainly focus on designing sophisticated policy constraints between the learned policy and the behavior policy. However, these constraints are applied equally to well-performing and inferior actions through uniform sampling, which might negatively affect the learned policy. To alleviate this issue, we propose Offline Prioritized Experience Replay (OPER), featuring a class of priority functions designed to prioritize highly-rewarding transitions, making them more frequently visited during training. Through theoretical analysis, we show that this class of priority functions induce an improved behavior policy, and when constrained to this improved policy, a policy-constrained offline RL algorithm is likely to yield a better solution. We develop two practical strategies to obtain priority weights by estimating advantages based on a fitted value network (OPER-A) or utilizing trajectory returns (OPER-R) for quick computation. OPER is a plug-and-play component for offline RL algorithms. As case studies, we evaluate OPER on five different algorithms, including BC, TD3+BC, Onestep RL, CQL, and IQL. Extensive experiments demonstrate that both OPER-A and OPER-R significantly improve the performance for all baseline methods. Codes and priority weights are availiable at https://github.com/sail-sg/OPER.

Motivation & Objective

  • To address the performance degradation in offline RL caused by suboptimal policy constraints that treat good and bad actions equally.
  • To improve the behavior policy in offline RL by prioritizing high-quality actions through data resampling, rather than relying on uniform constraints.
  • To design a method that is compatible with existing offline RL algorithms and effective even when trajectory information is unavailable.
  • To theoretically and empirically validate that prioritized resampling leads to a provably improved behavior policy and better downstream policy learning.
  • To provide two practical implementations—ODPR-A (advantage-based) and ODPR-R (return-based)—that balance performance and computational efficiency.

Proposed method

  • ODPR introduces a decoupled resampling strategy that reweights transitions based on normalized action advantages, favoring high-quality actions.
  • The priority function is defined using either one-step TD error (ODPR-A) or trajectory returns (ODPR-R), enabling flexible and efficient implementation.
  • The method iteratively refines the behavior policy by resampling the dataset using the priority weights, creating a superior dataset $\mathcal{D}^K$ for training.
  • The refined dataset is then used as input for standard policy-constrained offline RL algorithms, such as BC, TD3+BC, CQL, IQL, and Onestep RL.
  • Both resampling and reweighting implementations are provided, with theoretical equivalence in expected loss, ensuring robustness to implementation choice.
  • A scaling hyperparameter $\sigma$ is introduced for ODPR-A to increase the variance of priority weights, ensuring effective prioritization.
Figure 1: (a) Prioritized resampling . Given a state, possible actions are ranked by quality in x-axis. A behavior policy (in blue) usually follows a multi-modal distribution. A prioritized policy (in red) is acquired by prioritized resampling which assigns higher weights to better actions. (b) Offl
Figure 1: (a) Prioritized resampling . Given a state, possible actions are ranked by quality in x-axis. A behavior policy (in blue) usually follows a multi-modal distribution. A prioritized policy (in red) is acquired by prioritized resampling which assigns higher weights to better actions. (b) Offl

Experimental results

Research questions

  • RQ1Can we improve offline RL performance by refining the behavior policy through prioritized resampling based on action quality?
  • RQ2Does decoupled prioritized resampling lead to a provably better behavior policy than the original dataset?
  • RQ3Can ODPR enhance performance across diverse offline RL algorithms without requiring architectural changes?
  • RQ4How effective is ODPR in datasets lacking trajectory information, where prior trajectory-based methods fail?
  • RQ5Does the choice between resampling and reweighting implementation affect the performance of ODPR?

Key findings

  • ODPR-A and ODPR-R significantly improve performance across five offline RL algorithms (BC, TD3+BC, Onestep RL, CQL, IQL) on the D4RL benchmark, with average gains of 10-20% on locomotion tasks.
  • ODPR-A achieves a total score of 734.1 ± 10.4 on Mujoco-v2, outperforming vanilla TD3+BC (689.5 ± 11.2), and improves performance even in the absence of trajectory data.
  • On random datasets with low behavioral diversity, ODPR shows minimal improvement, confirming that its gains stem from leveraging existing behavioral variance.
  • The hyperparameter $\sigma$ in ODPR-A is critical: with $\sigma = 2.0$, performance improves from 229.5 to 284.2 on the total score, while no scaling leads to suboptimal results.
  • Resampling and reweighting yield comparable results across most tasks, but reweighting fails on Pen tasks due to extreme priority weights, suggesting implementation sensitivity in high-variance return distributions.
  • ODPR-R achieves a 10.5% average improvement on Kitchen tasks and 12.5% on Adroit tasks, demonstrating effectiveness in complex, high-dimensional environments.
Figure 2: A subset of tasks pertinent to real-world applications from the D4RL benchmark [ 29 ] , including Mujoco locmotion tasks with bipeds or quadrupeds, Maze navigation tasks with an 8-DoF Ant quadruped robot, Kitchen tasks with a 9-DoF Franka robot, and Adroit tasks with a 24-DoF Hand robot 2
Figure 2: A subset of tasks pertinent to real-world applications from the D4RL benchmark [ 29 ] , including Mujoco locmotion tasks with bipeds or quadrupeds, Maze navigation tasks with an 8-DoF Ant quadruped robot, Kitchen tasks with a 9-DoF Franka robot, and Adroit tasks with a 24-DoF Hand robot 2

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.