Table of Contents
Fetching ...

ACL-QL: Adaptive Conservative Level in Q-Learning for Offline Reinforcement Learning

Kun Wu, Yinuo Zhao, Zhiyuan Xu, Zhengping Che, Chengxiang Yin, Chi Harold Liu, Feiferi Feng, Jian Tang

TL;DR

The paper tackles offline reinforcement learning challenges arising from distribution shift and Q-value overestimation by proposing Adaptive Conservative Level in Q-Learning (ACL-QL). It introduces two learnable weight functions to modulate conservatism per state-action pair, ensuring Q-values lie in a mild range between the ordinary Q-function and the CQL estimate, with per-transition adjustments guided by transition-quality signals and monotonicity constraints. The authors provide theoretical conditions linking weight functions to conservatism levels and offer a practical algorithm that combines monotonicity losses, surrogate hinge losses, and a BC-like behavioral policy term, then validate it on the D4RL suite showing state-of-the-art results across multiple domains. The approach reduces the need for hand-tuned global hyperparameters and improves generalization across datasets by enabling fine-grained control over conservatism, which has practical implications for robust offline RL deployment.

Abstract

Offline Reinforcement Learning (RL), which operates solely on static datasets without further interactions with the environment, provides an appealing alternative to learning a safe and promising control policy. The prevailing methods typically learn a conservative policy to mitigate the problem of Q-value overestimation, but it is prone to overdo it, leading to an overly conservative policy. Moreover, they optimize all samples equally with fixed constraints, lacking the nuanced ability to control conservative levels in a fine-grained manner. Consequently, this limitation results in a performance decline. To address the above two challenges in a united way, we propose a framework, Adaptive Conservative Level in Q-Learning (ACL-QL), which limits the Q-values in a mild range and enables adaptive control on the conservative level over each state-action pair, i.e., lifting the Q-values more for good transitions and less for bad transitions. We theoretically analyze the conditions under which the conservative level of the learned Q-function can be limited in a mild range and how to optimize each transition adaptively. Motivated by the theoretical analysis, we propose a novel algorithm, ACL-QL, which uses two learnable adaptive weight functions to control the conservative level over each transition. Subsequently, we design a monotonicity loss and surrogate losses to train the adaptive weight functions, Q-function, and policy network alternatively. We evaluate ACL-QL on the commonly used D4RL benchmark and conduct extensive ablation studies to illustrate the effectiveness and state-of-the-art performance compared to existing offline DRL baselines.

ACL-QL: Adaptive Conservative Level in Q-Learning for Offline Reinforcement Learning

TL;DR

The paper tackles offline reinforcement learning challenges arising from distribution shift and Q-value overestimation by proposing Adaptive Conservative Level in Q-Learning (ACL-QL). It introduces two learnable weight functions to modulate conservatism per state-action pair, ensuring Q-values lie in a mild range between the ordinary Q-function and the CQL estimate, with per-transition adjustments guided by transition-quality signals and monotonicity constraints. The authors provide theoretical conditions linking weight functions to conservatism levels and offer a practical algorithm that combines monotonicity losses, surrogate hinge losses, and a BC-like behavioral policy term, then validate it on the D4RL suite showing state-of-the-art results across multiple domains. The approach reduces the need for hand-tuned global hyperparameters and improves generalization across datasets by enabling fine-grained control over conservatism, which has practical implications for robust offline RL deployment.

Abstract

Offline Reinforcement Learning (RL), which operates solely on static datasets without further interactions with the environment, provides an appealing alternative to learning a safe and promising control policy. The prevailing methods typically learn a conservative policy to mitigate the problem of Q-value overestimation, but it is prone to overdo it, leading to an overly conservative policy. Moreover, they optimize all samples equally with fixed constraints, lacking the nuanced ability to control conservative levels in a fine-grained manner. Consequently, this limitation results in a performance decline. To address the above two challenges in a united way, we propose a framework, Adaptive Conservative Level in Q-Learning (ACL-QL), which limits the Q-values in a mild range and enables adaptive control on the conservative level over each state-action pair, i.e., lifting the Q-values more for good transitions and less for bad transitions. We theoretically analyze the conditions under which the conservative level of the learned Q-function can be limited in a mild range and how to optimize each transition adaptively. Motivated by the theoretical analysis, we propose a novel algorithm, ACL-QL, which uses two learnable adaptive weight functions to control the conservative level over each transition. Subsequently, we design a monotonicity loss and surrogate losses to train the adaptive weight functions, Q-function, and policy network alternatively. We evaluate ACL-QL on the commonly used D4RL benchmark and conduct extensive ablation studies to illustrate the effectiveness and state-of-the-art performance compared to existing offline DRL baselines.

Paper Structure

This paper contains 23 sections, 4 theorems, 43 equations, 4 figures, 10 tables, 1 algorithm.

Key Result

Proposition 4.1

(The conservative level of ACL-QL). For any $\mu$ with $\mathop{{\rm supp}} \mu \subset \mathop{{\rm supp}} \hat{\pi}_{\beta}$, without considering the sampling error between the empirical $\hat{\mathcal{B}}^{\pi} \hat{Q}$ and ordinary Bellman backups ${\bm{B}}^{\pi} \hat{Q}$, the conservative level

Figures (4)

  • Figure 1: Performance gaps of CQL Kumar2020conservative with different conservative levels ($\alpha=1,10,20$) on HalfCheetah-v2 tasks with expert, medium, random datasets.
  • Figure 2: ACL-QL can limit the Q-values into the interval between the ordinary Q-values and CQL Q-values by using $d_{ord}(s,a)$ and $d_{cql}(s,a)$ in Propositions \ref{['prop:ACL-QL_1']} and \ref{['prop:ACL-QL_3']} respectively.
  • Figure 3: To eliminate the impact of gaps in results due to the quality of the dataset itself and fairly show the comparison for different datasets, we use CQL-5 as a baseline and report the improvement percentages of the normalized results of ACL-QL and CQL with other conservative levels ($\alpha=1,10,20$) on D4RL Gym-MuJoCo-v2 environments. Note that we scale the y-axis using log due to the huge improvements of ACL-QL on random datasets (e.g., ACL-QL achieves 33.5 on Hopper-random-v2, which is 679.1% times higher than the results of 4.9 for CQL-5).
  • Figure 4: Visualization of the Q-values $Q_{\mu}(s,a)$, where the actions $a$ are from the learned policy $\pi$ or dataset $D$, on HalfCheetah-medium-expert-v2 and HalfCheetah-random datasets. The Q-values are sorted in ascending order according to relative transition quality measurement $m(s,a)$. In the left figure, almost all Q-values of the predicted actions and the in-dataset actions overlap, showing the learned policy and the behavioral policy are similar. In the right figure, the Q-values of the predicted actions are higher than the Q-values of the in-dataset actions, showing ACL-QL learns a better policy.

Theorems & Definitions (5)

  • Proposition 4.1
  • Proposition 4.2
  • Proposition 4.3
  • Definition 4.1
  • Lemma 5.1