Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Doubly Mild Generalization for Offline Reinforcement Learning

About

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.

Yixiu Mao, Qi Wang, Yun Qu, Yuhang Jiang, Xiangyang Ji• 2024

Related benchmarks

TaskDatasetResultRank
Offline Reinforcement Learninghopper medium
Normalized Score100.6
52
Offline Reinforcement Learningwalker2d medium
Normalized Score92.4
51
Offline Reinforcement Learningwalker2d medium-replay
Normalized Score89.7
50
Offline Reinforcement Learninghopper medium-replay
Normalized Score101.9
44
Offline Reinforcement Learninghalfcheetah medium
Normalized Score54.9
43
Offline Reinforcement Learninghalfcheetah medium-replay
Normalized Score51.4
43
Offline Reinforcement LearningD4RL AntMaze
AntMaze Umaze Return92.4
39
Offline Reinforcement LearningWalker2d medium-expert
Normalized Score114.4
31
Offline Reinforcement LearningHopper medium-expert
Normalized Score110.4
24
Offline Reinforcement LearningD4RL Walker2d expert
Mean Normalized Score114.7
22
Showing 10 of 24 rows

Other info

Code

Follow for update