Proceedings

Maximum Entropy Softmax Policy Gradient via Entropy Advantage Estimation

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4958-4966.

https://doi.org/10.24963/ijcai.2025/552

Abstract

Entropy Regularisation is a widely adopted technique that enhances policy optimisation performance and stability. Maximum entropy reinforcement learning (MaxEnt RL) regularises policy evaluation by augmenting the objective with an entropy term, showing theoretical benefits in policy optimisation. However, its practical application in straightforward direct policy gradient settings remains surprisingly underexplored. We hypothesise that this is due to the difficulty of managing the entropy reward in practice. This paper proposes Entropy Advantage Policy Optimisation (EAPO), a simple method that facilitates MaxEnt RL implementation by separately estimating task and entropy objectives. Our empirical evaluations demonstrate that extending Proximal Policy Optimisation (PPO) and Trust Region Policy Optimisation (TRPO) within the MaxEnt framework improves optimisation performance, generalisation, and exploration in various environments. Moreover, our method provides a stable and performant MaxEnt RL algorithm for discrete action spaces.

  1. Env. EAPO γH:0.8 λH:0.95 EAPO γH:0.9 λH:0.0 PPO SD-SAC τ :0.02 τ :0.005 τ :0.02 τ :0.005 c:0.01 c:0.001 α:0.02 CoinRun 8.34±0.24 8.31±0.22 7.59±0.51 8.33±0.36 8.13±0.22 7.38±2.48 4.08±0.88 StarPilot 54.33±3.41 52.12±1.95 53.28±2.57 54.24±3.13 49.4±3.72 50.57±2.4 32.35±5.34 CaveFlyer 7.03±0.32 6.48±0.57 7.17±0.3 6.62±0.56 6.32±0.7 6.3±0.63 3.19±0.97 Dodgeball 13.64±0.68 11.59±0.86 13.23±0.63 12.34±0.85 8.51±0.98 7.2±1.14 0.90±0.33 Fruitbot 27.28±0.74 26.5±0.9 27.19±1.14 26.57±1.32 25.91±1.26 25.34±1.18 24.00±1.17 Chaser 10.5±0.46 11.12±0.3 10.52±0.38 11.05±0.38 11.12±0.45 10.64±0.4 1.32±0.56 Miner 10.13±0.38 8.9±0.84 10.13±0.5 9.08±0.78 8.6±0.76 8.06±0.94 1.33±0.32 Jumper 5.7±0.46 5.76±0.27 5.84±0.54 5.45±0.48 5.21±0.45 5.17±0.44 5.00±0.72 Leaper 8.24±0.52 7.75±0.33 7.51±1.17 7.88±0.67 6.54±0.9 6.61±1.06 2.56±1.11 Maze 6.5±0.48 5.7±0.27 5.75±0.52 5.56±0.47 5.38±0.56 5.45±0.31 4.78±0.89 BigFish 19.89±2.14 17.88±1.46 19.83±2.4 18.73±2.87 12.84±1.54 12.56±2.86 15.80±5.28 Heist 3.75±0.66 2.97±0.67 4.22±0.58 3.06±0.49 2.11±0.54 1.68±0.5 3.36±1.00 Climber 7.43±0.87 8.0±0.5 6.29±0.74 7.22±0.52 6.78±0.68 6.22±0.48 2.60±0.68 Plunder 9.0±0.71 7.66±1.15 9.55±0.9 8.35±1.38 4.16±0.55 3.94±1.23 1.35±0.45 Ninja 6.49±0.47 6.07±0.46 6.43±0.41 6.21±0.37 6.09±0.63 5.87±0.58 2.72±0.91 BossFight 7.49±0.77 9.58±0.66 7.82±0.71 9.38±0.59 7.61±0.76 5.15±3.32 5.40±1.23 Norm. 0.54±0.06 0.51±0.05 0.52±0.07 0.51±0.06 0.42±0.07 0.38±0.11 0.11±0.10 MiniGrid-DoorKey-8x8-v0 EAPO τ:1e-5 γ:0.8 λ:0 PPO c:0.01 PPO c:0.001 References
  2. [Agarwal et al., 2021] Alekh Agarwal, Sham M Kakade, Ja- son D Lee, and Gaurav Mahajan. On the theory of policy gradient methods: Optimality, approximation, and distri- bution shift. The Journal of Machine Learning Research, 22(1):4431-4506, 2021.
  3. [Ahmed et al., 2019] Zafarali Ahmed, Nicolas Le Roux, Mohammad Norouzi, and Dale Schuurmans. Understand- ing the impact of entropy on policy optimization. In Inter- national conference on machine learning, pages 151-160.
  4. PMLR, 2019.
  5. [Cen et al., 2022] Shicong Cen, Chen Cheng, Yuxin Chen, Yuting Wei, and Yuejie Chi. Fast global convergence of natural policy gradient methods with entropy regulariza- tion. Operations Research, 70(4):2563-2578, 2022.
  6. [Cetin and Celiktutan, 2022] Edoardo Cetin and Oya Celik- tutan. Policy gradient with serial markov chain reason- ing. Advances in Neural Information Processing Systems, 35:8824-8839, 2022.
  7. [Chevalier-Boisvert et al., 2023] Maxime Chevalier- Boisvert, Bolun Dai, Mark Towers, Rodrigo de Lazcano, Lucas Willems, Salem Lahlou, Suman Pal, Pablo Samuel Castro, and Jordan Terry. Minigrid & miniworld: Modular & customizable reinforcement learning environments for goal-oriented tasks. CoRR, abs/2306.13831, 2023.
  8. [Christiano et al., 2017] Paul F Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. Advances in neural information processing systems, 30, 2017.
  9. [Christodoulou, 2019] Petros Christodoulou. Soft actor- critic for discrete action settings. arXiv preprint arXiv:1910.07207, 2019.
  10. [Cobbe et al., 2020] Karl Cobbe, Chris Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. In International con- ference on machine learning, pages 2048-2056. PMLR, 2020.
  11. [Eysenbach and Levine, 2019] Benjamin Eysenbach and Sergey Levine. If maxent rl is the answer, what is the question? arXiv preprint arXiv:1910.01913, 2019.
  12. [Eysenbach and Levine, 2021] Benjamin Eysenbach and Sergey Levine. Maximum entropy rl (prov- ably) solves some robust rl problems. arXiv preprint arXiv:2103.06257, 2021.
  13. [Geist et al., 2019] Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov deci- sion processes. In International Conference on Machine Learning, pages 2160-2169. PMLR, 2019.
  14. [Haarnoja et al., 2017] Tuomas Haarnoja, Haoran Tang, Pieter Abbeel, and Sergey Levine. Reinforcement learn- ing with deep energy-based policies. In International con- ference on machine learning, pages 1352-1361. PMLR, 2017. [Haarnoja et al., 2018] Tuomas Haarnoja, Aurick Zhou, Kristian Hartikainen, George Tucker, Sehoon Ha, Jie Tan, Vikash Kumar, Henry Zhu, Abhishek Gupta, Pieter Abbeel, et al. Soft actor-critic algorithms and applications. arXiv preprint arXiv:1812.05905, 2018.
  15. [Hessel et al., 2019] Matteo Hessel, Hubert Soyer, Lasse Es- peholt, Wojciech Czarnecki, Simon Schmitt, and Hado van Hasselt. Multi-task deep reinforcement learning with popart. In Proceedings of the AAAI Conference on Artifi- cial Intelligence, volume 33, pages 3796-3803, 2019.
  16. [Levine, 2018] Sergey Levine. Reinforcement learning and control as probabilistic inference: Tutorial and review. arXiv preprint arXiv:1805.00909, 2018.
  17. [Marino et al., 2021] Joseph Marino, Alexandre Piché, Alessandro Davide Ialongo, and Yisong Yue. Iterative amortized policy optimization. Advances in Neural Information Processing Systems, 34:15667-15681, 2021.
  18. [Mei et al., 2020] Jincheng Mei, Chenjun Xiao, Csaba Szepesvari, and Dale Schuurmans. On the global conver- gence rates of softmax policy gradient methods. In Inter- national Conference on Machine Learning, pages 6820- 6829. PMLR, 2020.
  19. [Mnih et al., 2016] Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asyn- chronous methods for deep reinforcement learning. In In- ternational conference on machine learning, pages 1928- 1937. PMLR, 2016.
  20. [Mohammadpour et al., 2024] Sobhan Mohammadpour, Emmanuel Bengio, Emma Frejinger, and Pierre-Luc Bacon. Maximum entropy gflownets with soft q-learning. In International Conference on Artificial Intelligence and Statistics, pages 2593-2601. PMLR, 2024.
  21. [Neu et al., 2017] Gergely Neu, Anders Jonsson, and Vicenc ¸ Gómez. A unified view of entropy-regularized markov de- cision processes. arXiv preprint arXiv:1705.07798, 2017.
  22. [Raffin et al., 2019] Antonin Raffin, Ashley Hill, Maximil- ian Ernestus, Adam Gleave, Anssi Kanervisto, and Noah Dormann. Stable baselines3, 2019.
  23. [Schulman et al., 2015a] John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International conference on machine learning, pages 1889-1897. PMLR, 2015.
  24. [Schulman et al., 2015b] John Schulman, Philipp Moritz, Sergey Levine, Michael Jordan, and Pieter Abbeel. High- dimensional continuous control using generalized advan- tage estimation. arXiv preprint arXiv:1506.02438, 2015.
  25. [Schulman et al., 2017a] John Schulman, Xi Chen, and Pieter Abbeel. Equivalence between policy gradients and soft q-learning. arXiv preprint arXiv:1704.06440, 2017.
  26. [Schulman et al., 2017b] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  27. [Shani et al., 2020] Lior Shani, Yonathan Efroni, and Shie Mannor. Adaptive trust region policy optimization: Global convergence and faster rates for regularized mdps. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 5668-5675, 2020.
  28. [Shi et al., 2019] Wenjie Shi, Shiji Song, and Cheng Wu. Soft policy gradient method for maximum entropy deep reinforcement learning. arXiv preprint arXiv:1909.03198, 2019. IJCAI
  29. [Sutton and Barto, 2018] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
  30. [Tang and Agrawal, 2020] Yunhao Tang and Shipra Agrawal. Discretizing continuous action space for on-policy optimization. In Proceedings of the aaai conference on artificial intelligence, volume 34, pages 5981-5988, 2020.
  31. [Tiapkin et al., 2023] Daniil Tiapkin, Denis Belomestny, Daniele Calandriello, Eric Moulines, Remi Munos, Alexey Naumov, Pierre Perrault, Yunhao Tang, Michal Valko, and Pierre Menard. Fast rates for maximum entropy explo- ration. arXiv preprint arXiv:2303.08059, 2023.
  32. [Tiapkin et al., 2024] Daniil Tiapkin, Nikita Morozov, Alexey Naumov, and Dmitry P Vetrov. Generative flow networks as entropy-regularized rl. In International Conference on Artificial Intelligence and Statistics, pages 4213-4221. PMLR, 2024.
  33. [Todorov et al., 2012] Emanuel Todorov, Tom Erez, and Yu- val Tassa. Mujoco: A physics engine for model-based con- trol. In 2012 IEEE/RSJ international conference on intel- ligent robots and systems, pages 5026-5033. IEEE, 2012.
  34. [van Hasselt et al., 2016] Hado P van Hasselt, Arthur Guez, Matteo Hessel, Volodymyr Mnih, and David Silver. Learn- ing values across many orders of magnitude. Advances in neural information processing systems, 29, 2016.
  35. [Vieillard et al., 2020] Nino Vieillard, Tadashi Kozuno, Bruno Scherrer, Olivier Pietquin, Rémi Munos, and Matthieu Geist. Leverage the average: an analysis of kl regularization in reinforcement learning. Advances in Neural Information Processing Systems, 33:12163-12174, 2020.
  36. [Ward et al., 2019] Patrick Nadeem Ward, Ariella Smofsky, and Avishek Joey Bose. Improving exploration in soft- actor-critic with normalizing flows policies. arXiv preprint arXiv:1906.02771, 2019.
  37. [Weng et al., 2022] Jiayi Weng, Min Lin, Shengyi Huang, Bo Liu, Denys Makoviichuk, Viktor Makoviychuk, Zichen Liu, Yufan Song, Ting Luo, Yukun Jiang, et al. Envpool: A highly parallel reinforcement learning environment exe- cution engine. Advances in Neural Information Processing Systems, 35:22409-22421, 2022.
  38. [Xu et al., 2021] Yaosheng Xu, Dailin Hu, Litian Liang, Stephen McAleer, Pieter Abbeel, and Roy Fox. Target en- tropy annealing for discrete soft actor-critic. arXiv preprint arXiv:2112.02852, 2021.
  39. [Yu et al., 2022] Haonan Yu, Haichao Zhang, and Wei Xu. Do you need the entropy reward (in practice)? arXiv preprint arXiv:2201.12434, 2022.
  40. [Zhou et al., 2024] Haibin Zhou, Tong Wei, Zichuan Lin, junyou li, Junliang Xing, Yuanchun Shi, Li Shen, Chao Yu, and Deheng Ye. Revisiting discrete soft actor-critic. Transactions on Machine Learning Research, 2024.
  41. [Ziebart, 2010] Brian D Ziebart. Modeling purposeful adap- tive behavior with the principle of maximum causal en- tropy. Carnegie Mellon University, 2010.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards