A leading adaptive activation function for deep reinforcement learning

IF 3.1 3区 计算机科学 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Chongjiexin Jia , Tuanjie Li , Hangjia Dong , Chao Xie , Wenxuan Peng , Yuming Ning
{"title":"A leading adaptive activation function for deep reinforcement learning","authors":"Chongjiexin Jia ,&nbsp;Tuanjie Li ,&nbsp;Hangjia Dong ,&nbsp;Chao Xie ,&nbsp;Wenxuan Peng ,&nbsp;Yuming Ning","doi":"10.1016/j.jocs.2025.102608","DOIUrl":null,"url":null,"abstract":"<div><div>The activation function provides deep reinforcement learning with the capability to solve nonlinear problems. However, traditional activation functions have fixed parameter settings and cannot be adjusted adaptively based on constantly changing environmental conditions. This limitation frequently leads to slow convergence speed and inadequate performance of trained agents when confronted with highly complex nonlinear problems. This paper proposes a new method to enhance the ability of reinforcement learning to handle nonlinear problems. This method is mainly divided into two parts. Firstly, an activation function parameter initialization strategy based on environmental characteristics is adopted. Secondly, the Adam algorithm is used to dynamically update the activation function parameters. The activation function proposed in this paper is compared with both traditional activation functions and state-of-the-art activation functions through two experiments. Experimental data show that compared to ReLu, TanH, APA, and EReLu, its convergence speed in DQN tasks is improved by 3.89, 1.29, 0.981, and 2.173 times, respectively, and in SAC tasks, it is improved by 1.504, 1.013, 1.017, and 1.131 times, respectively. The results demonstrate that when the agent utilizes LaTanH as the activation function, it exhibits significant advantages in terms of convergence speed and performance and alleviates the problems of bilateral saturation and gradient vanishing.</div></div>","PeriodicalId":48907,"journal":{"name":"Journal of Computational Science","volume":"88 ","pages":"Article 102608"},"PeriodicalIF":3.1000,"publicationDate":"2025-04-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1877750325000857","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

The activation function provides deep reinforcement learning with the capability to solve nonlinear problems. However, traditional activation functions have fixed parameter settings and cannot be adjusted adaptively based on constantly changing environmental conditions. This limitation frequently leads to slow convergence speed and inadequate performance of trained agents when confronted with highly complex nonlinear problems. This paper proposes a new method to enhance the ability of reinforcement learning to handle nonlinear problems. This method is mainly divided into two parts. Firstly, an activation function parameter initialization strategy based on environmental characteristics is adopted. Secondly, the Adam algorithm is used to dynamically update the activation function parameters. The activation function proposed in this paper is compared with both traditional activation functions and state-of-the-art activation functions through two experiments. Experimental data show that compared to ReLu, TanH, APA, and EReLu, its convergence speed in DQN tasks is improved by 3.89, 1.29, 0.981, and 2.173 times, respectively, and in SAC tasks, it is improved by 1.504, 1.013, 1.017, and 1.131 times, respectively. The results demonstrate that when the agent utilizes LaTanH as the activation function, it exhibits significant advantages in terms of convergence speed and performance and alleviates the problems of bilateral saturation and gradient vanishing.
一个领先的自适应激活函数用于深度强化学习
激活函数为深度强化学习提供了解决非线性问题的能力。然而,传统的激活函数具有固定的参数设置,不能根据不断变化的环境条件进行自适应调整。当面对高度复杂的非线性问题时,这种限制往往导致训练后的智能体收敛速度慢,性能不佳。本文提出了一种提高强化学习处理非线性问题能力的新方法。该方法主要分为两部分。首先,采用基于环境特征的激活函数参数初始化策略;其次,采用Adam算法对激活函数参数进行动态更新;通过两个实验,将本文提出的激活函数与传统的激活函数和最新的激活函数进行了比较。实验数据表明,与ReLu、TanH、APA和EReLu相比,其在DQN任务中的收敛速度分别提高了3.89倍、1.29倍、0.981倍和2.173倍,在SAC任务中的收敛速度分别提高了1.504倍、1.013倍、1.017倍和1.131倍。结果表明,采用LaTanH作为激活函数时,智能体在收敛速度和性能上具有显著优势,缓解了双侧饱和和梯度消失的问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Computational Science
Journal of Computational Science COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS-COMPUTER SCIENCE, THEORY & METHODS
CiteScore
5.50
自引率
3.00%
发文量
227
审稿时长
41 days
期刊介绍: Computational Science is a rapidly growing multi- and interdisciplinary field that uses advanced computing and data analysis to understand and solve complex problems. It has reached a level of predictive capability that now firmly complements the traditional pillars of experimentation and theory. The recent advances in experimental techniques such as detectors, on-line sensor networks and high-resolution imaging techniques, have opened up new windows into physical and biological processes at many levels of detail. The resulting data explosion allows for detailed data driven modeling and simulation. This new discipline in science combines computational thinking, modern computational methods, devices and collateral technologies to address problems far beyond the scope of traditional numerical methods. Computational science typically unifies three distinct elements: • Modeling, Algorithms and Simulations (e.g. numerical and non-numerical, discrete and continuous); • Software developed to solve science (e.g., biological, physical, and social), engineering, medicine, and humanities problems; • Computer and information science that develops and optimizes the advanced system hardware, software, networking, and data management components (e.g. problem solving environments).
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信