Adaptive Prioritized Experience Replay for Deep Q-Networks via TD-Error Dispersion
Abstract
Prioritized Experience Replay (PER) samples transitions in proportion to their Temporal Difference (TD) error, which improves the sample efficiency of Deep Q-Networks (DQN). Conventional PER, however, keeps the prioritization strength α fixed for the entire training run. This paper proposes a TD-error adaptive PER strategy: after each optimization step, α is reset from the standard deviation of the batch's TD errors and bounded within [0.2, 0.8], so that how strongly the buffer is prioritized changes with what the network is currently learning. The method is evaluated in CartPole-v1 against Uniform DQN and fixed-α PER with several α values. Across five seeds, the adaptive strategy showed the smallest cross-seed variance in training performance (26.92) and the highest mean reward under greedy evaluation (239.10), even though its final training score of 115.97 stayed below the best-tuned fixed-α setting. Adaptive prioritization therefore looks promising, but it has not yet beaten a carefully chosen fixed-α in a consistent way.
References
- Sutton, R. S., & Barto, A. G. (2018).Reinforcement learning: An introduction(2nd ed.). MIT Press.
- Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., Dieleman, S., Grewe, D., Nham, J., Kalchbrenner, N., Sutskever, I., Lillicrap, T., Leach, M., Kavukcuoglu, K., Graepel, T., & Hassabis, D. (2016). Mastering the game of Go with deep neural networks and tree search.Nature, 529(7587), 484–489.
- Lillicrap, T. P., Hunt, J. J., Pritzel, A., Heess, N., Erez, T., Tassa, Y., Silver, D., & Wierstra, D. (2016). Continuous control with deep reinforcement learning. InProceedings of the International Conference on Learning Representations (ICLR).
- Kiran, B. R., Sobh, I., Talpaert, V., Mannion, P., Al Sallab, A. A., Yogamani, S., & Pérez, P. (2022). Deep reinforcement learning for autonomous driving: A survey.IEEE Transactions on Intelligent Transportation Systems, 23(6), 4909–4926.
- Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidjeland, A. K., Ostrovski, G., Petersen, S., Beattie, C., Sadik, A., Antonoglou, I., King, H., Kumaran, D., Wierstra, D., Legg, S., & Hassabis, D. (2015). Human-level control through deep reinforcement learning.Nature, 518(7540), 529–533.
- Lin, L.-J. (1992). Self-improving reactive agents based on reinforcement learning, planning and teaching.Machine Learning, 8(3–4), 293–321.
- Schaul, T., Quan, J., Antonoglou, I., & Silver, D. (2016). Prioritized experience replay. InProceedings of the International Conference on Learning Representations (ICLR).
- Farama Foundation. (n.d.). Cart pole.Gymnasium documentation. Retrieved from https://gymnasium.farama.org/environments/classic_control/cart_pole/
- van Hasselt, H., Guez, A., & Silver, D. (2016). Deep reinforcement learning with double Q-learning. InProceedings of the AAAI Conference on Artificial Intelligence.
- Hessel, M., Modayil, J., van Hasselt, H., Schaul, T., Ostrovski, G., Dabney, W., Horgan, D., Piot, B., Azar, M., & Silver, D. (2018). Rainbow: Combining improvements in deep reinforcement learning. InProceedings of the AAAI Conference on Artificial Intelligence.
- Hassani, H., Nikan, S., & Shami, A. (2025). Improved exploration-exploitation trade-off through adaptive prioritized experience replay.Neurocomputing, 614, 128836.
- Kingma, D. P., & Ba, J. (2015). Adam: A method for stochastic optimization. InProceedings of the International Conference on Learning Representations (ICLR).