Doubly Mild Generalization for Offline Reinforcement Learning

Yixiu Mao, Qi Wang, Yun Qu, Yuhang Jiang, Xiangyang Ji
11/12/2024
cs.LGcs.AI

No official code found. Best implementation: maoyixiu/DMG (17 stars, last commit 2025-10-29).

Abstract

Offline Reinforcement Learning (RL) suffers from the extrapolation error and value overestimation. From a generalization perspective, this issue can be attributed to the over-generalization of value functions or policies towards out-of-distribution (OOD) actions. Significant efforts have been devoted to mitigating such generalization, and recent in-sample learning approaches have further succeeded in entirely eschewing it. Nevertheless, we show that mild generalization beyond the dataset can be trusted and leveraged to improve performance under certain conditions. To appropriately exploit generalization in offline RL, we propose Doubly Mild Generalization (DMG), comprising (i) mild action generalization and (ii) mild generalization propagation. The former refers to selecting actions in a close neighborhood of the dataset to maximize the Q values. Even so, the potential erroneous generalization can still be propagated, accumulated, and exacerbated by bootstrapping. In light of this, the latter concept is introduced to mitigate the generalization propagation without impeding the propagation of RL learning signals. Theoretically, DMG guarantees better performance than the in-sample optimal policy in the oracle generalization scenario. Even under worst-case generalization, DMG can still control value overestimation at a certain level and lower bound the performance. Empirically, DMG achieves state-of-the-art performance across Gym-MuJoCo locomotion tasks and challenging AntMaze tasks. Moreover, benefiting from its flexibility in both generalization aspects, DMG enjoys a seamless transition from offline to online learning and attains strong online fine-tuning performance.

View on arXivView PDF

Code Implementations(1)

maoyixiu/DMGCommunity100%

[NeurIPS 2024] Doubly Mild Generalization for Offline Reinforcement Learning

175PythonNov 12, 202411 months ago

Similar Papers

Cite this paper

@article{mao2024doubly,
  title  = {Doubly Mild Generalization for Offline Reinforcement Learning},
  author = {Yixiu Mao and Qi Wang and Yun Qu and Yuhang Jiang and Xiangyang Ji},
  year   = {2024},
  eprint = {2411.07934},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.07934},
  url    = {http://arxiv.org/abs/2411.07934v2},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07934.svg)](https://codeofpaper.com/paper/2411.07934)

Discussion