Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (9): 2725-2731.DOI: 10.11772/j.issn.1001-9081.2025081006

• Artificial intelligence •    

Maximum entropy reinforcement learning method with temperature coefficient adaptive adjustment

Tao XU1,2, Bin HU1,2, Jin QIN1,2()   

  1. 1.State Key Laboratory of Public Big Data (Guizhou University),Guiyang Guizhou 550025,China
    2.College of Computer Science and Technology,Guizhou University,Guiyang Guizhou 550025,China
  • Received:2025-09-04 Revised:2026-01-08 Accepted:2026-02-03 Online:2026-02-12 Published:2026-09-10
  • Contact: Jin QIN
  • About author:XU Tao, born in 2000, M. S. candidate. His research interests include reinforcement learning.
    HU Bin, born in 1977, Ph. D., professor. His research interests include computational intelligence, neural computing.
    QIN Jin, born in 1978, Ph. D., associate professor. His research interests include computational intelligence, reinforcement learning.
  • Supported by:
    Natural Science Foundation of China(62162007);Scientific and Technological Project in Guizhou(KJZY [2025]020)

温度系数自适应调节的最大熵强化学习方法

许涛1,2, 胡滨1,2, 秦进1,2()   

  1. 1.公共大数据国家重点实验室(贵州大学),贵阳 550025
    2.贵州大学 计算机科学与技术学院,贵阳 550025
  • 通讯作者: 秦进
  • 作者简介:许涛(2000—),男,贵州遵义人,硕士研究生,主要研究方向:强化学习
    胡滨(1977—),男,贵州都匀人,教授,博士,CCF高级会员,主要研究方向:计算智能、神经计算
    秦进(1978—),男,贵州黔西人,副教授,博士,CCF会员,主要研究方向:计算智能、强化学习。
  • 基金资助:
    国家自然科学基金资助项目(62162007);贵州省科技计划项目(黔科合人才KJZY〔2025〕020)

Abstract:

Maximum entropy reinforcement learning has attracted considerable attention due to its exceptional exploration capabilities in complex tasks. The temperature coefficient, which regulates the importance of the policy entropy term, is a key factor in balancing policy exploration and exploitation, and its setting affects algorithm performance significantly. However, the existing methods for adjusting temperature coefficient are typically based on empirical presets or fixed target entropy adjustments, neglecting state-related variations in exploration and lacking effective adaptive mechanisms. Therefore, a state-based adaptive temperature coefficient adjustment method was proposed. In the method, a neural network model was employed to predict an appropriate temperature coefficient based on a given state, and normalized temporal-difference error was used to construct supervisory information to guide model training, thereby realizing adaptive adjustment of entropy term weights based on the state. Then, this adaptive temperature coefficient adjustment method was integrated with the SAC (Soft Actor-Critic) algorithm to form a state-based temperature coefficient adaptive adjustment SAC algorithm. Experimental results show that on standard MuJoCo control tasks, this algorithm generally outperforms the baseline algorithms such as SAC and TD3 (Twin Delayed Deep Deterministic policy gradient) in terms of performance and training stability, during the evaluation stage, the algorithm has the average return increased by at least 4.3% and 6.2% compared with SAC and TD3 algorithms, respectively, validating the effectiveness of the state-based adaptive adjustment method for temperature coefficient.

Key words: reinforcement learning, maximum entropy theory, temporal-difference error, temperature coefficient, exploration-exploitation balance, Soft Actor-Critic (SAC) algorithm

摘要:

最大熵强化学习因在复杂任务中卓越的探索能力备受关注,调节策略熵项重要性的温度系数是平衡策略探索与利用的关键因素,它的设定方式对算法性能具有重要影响。然而,现有温度系数调节方法通常依赖经验预设或固定目标熵调整,忽视了与状态相关的探索的差异,缺乏有效的自适应机制。因此,提出基于状态的温度系数自适应调节方法,采用神经网络模型根据给定状态预测适合的温度系数,利用规范化的时序差分误差构建监督信息指导模型训练,从而实现基于状态的熵项权重自适应调节。将该温度系数自适应调节方法与软演员-评论家(SAC)算法相结合,提出基于状态的温度系数自适应调节SAC算法。实验结果表明,在MuJoCo标准控制任务上,该算法在性能与训练稳定性方面总体优于SAC和TD3(Twin Delayed Deep Deterministic policy gradient)等基准算法,在测试阶段的平均回报相较于SAC与TD3算法分别至少提升了4.3%和6.2%,验证了基于状态的温度系数自适应调节方法的有效性。

关键词: 强化学习, 最大熵理论, 时序差分误差, 温度系数, 探索与利用平衡, 软演员-评论家算法

CLC Number: