Research Article

Improvement of Offline Reinforcement Learning Based on Prior Sampling Mechanism

Yuanhang Yang*
China University of Mining and Technology

* Corresponding author: [email protected]

Abstract

Offline reinforcement learning (RL) circumvents real-time environmental interaction by leveraging pre-collected historical data, yet it faces critical challenges of distributional shift and suboptimal data distribution in experience replay buffers. To enhance agent training efficacy, this study proposes two novel prioritized sampling mechanisms: one anchored in temporal-difference (TD) error estimation and the other grounded in martingale theory. The TD error-based mechanism captures supplementary experiential data to mitigate out-of-distribution (OOD) state risks, while the martingale-theoretic counterpart prioritizes positive samples for policy optimization and suppresses negative sample interference. Integrating these mechanisms with Batch-Constrained Deep Q-Learning (BCQ) yields two enhanced algorithms: TD-PBCQ and M-PBCQ. Extensive experiments on D4RL (Ant, HalfCheetah, Hopper, Walker2d) and Torcs datasets demonstrate that the proposed sampling models selectively collect valuable experiential data, achieving significantly improved reward performance compared to the baseline BCQ. Comparative analysis shows TD-PBCQ excels in tasks with fast-converging behavior policies and low-error datasets, while M-PBCQ adapts better to high-error offline buffers. This work provides a data-driven solution for advancing offline RL performance via efficient sampling design.

Keywords: Offline reinforcement learning frameworks; Prioritized sampling strategies; Temporal difference error estimation; Martingale theory
Published: January 26, 2026
DOI: 10.54254/2755-2721/2026.31513
Volume: ACE Vol.219
pp. 127-132
Download PDF

References

  1. Sun Chang-Yin, Mu Chao-Xu. Important scientific problems of multi-agent deep reinforcement learning. Acta Automatica Sinica, 2020, 46(7): 1301−1312.
  2. Wu Xiao-Guang, Liu Shao-Wei, Yang Lei, Deng Wen-Qiang, Jia Zhe-Heng. A gait control method for biped robot on slope based on deep reinforcement learning. Acta Automatica Sinica, 2021, 47(8): 1976−1987.
  3. Yin Lin-Fei, Chen Lv-Peng, Yu Tao, Zhang Xiao-Shun. Lazy reinforcement learning through parallel systems and social system for real-time economic generation dispatch and control. Acta Automatica Sinica, 2019, 45(4): 706−719.
  4. Chen Jin-Yin, Zhang Yan, Wang Xue-Ke, Cai Hong-Bin, Wang Jue, Ji Shou-Ling. A survey of attack, defense and related security analysis for deep reinforcement learning. Acta Automatica Sinica, 2022, 48(1): 21−39.
  5. Hu Y L, Skyrms B, Tarrès P. Reinforcement learning in signaling game. arXiv preprint arXiv: 1103.5818, 2011.