可训练激活函数的参数与网络权重一同优化,相比固定激活函数具有更强的表达力。具体而言,已有工作提出将定义为多项式之比(有理函数)的可训练激活函数用于增强强化学习中的可塑性。然而,它们对训练稳定性的影响仍不清楚。本文在强化学习和持续学习两种设置下研究可训练有理激活函数。我们发现,尽管其灵活性增强了适应性,但也可能引入不稳定性,导致强化学习中的过高估计以及较长持续学习场景中的特征坍缩。我们的主要结果是证明了有理激活函数中表达力与可塑性之间存在权衡。为解决这一问题,我们提出一种受限变体,在保持适应性的同时从结构上限制过度的输出缩放。在MetaWorld和DeepMind Control Suite(DMC)环境中的实验表明,我们的方法提升了训练稳定性和性能。在持续学习基准上,包括标签重排的MNIST和Split CIFAR-100,我们揭示了不同约束如何影响表达力与长期保持之间的平衡。虽然在离散动作领域(如Atari)的初步实验未表现出类似的不稳定性,但这表明该权衡与连续控制尤为相关。总之,我们的发现为动态非平稳环境中鲁棒且可适应的可训练激活函数提供了可操作的设计原则。代码见:https://github.com/special114/rl_rational_plasticity。
英文摘要:
Trainable activation functions, whose parameters are optimized alongside network weights, offer increased expressivity compared to fixed activation functions. Specifically, trainable activation functions defined as ratios of polynomials (rational functions) have been proposed to enhance plasticity in reinforcement learning. However, their impact on training stability remains unclear. In this work, we study trainable rational activations in both reinforcement and continual learning settings. We find that while their flexibility enhances adaptability, it can also introduce instability, leading to overestimation in RL and feature collapse in longer continual learning scenarios. Our main result is demonstrating a trade-off between expressivity and plasticity in rational activations. To address this, we propose a constrained variant that structurally limits excessive output scaling while preserving adaptability. Experiments across MetaWorld and DeepMind Control Suite (DMC) environments show that our approach improves training stability and performance. In continual learning benchmarks, including MNIST with reshuffled labels and Split CIFAR-100, we reveal how different constraints affect the balance between expressivity and long-term retention. While preliminary experiments in discrete action domains (e.g., Atari) did not show similar instability, this suggests that the trade-off is particularly relevant for continuous control. Together, our findings provide actionable design principles for robust and adaptable trainable activations in dynamic, non-stationary environments. Code available at: https://github.com/special114/rl_rational_plasticity.
Implicit Language Models are RNNs: Balancing Parallelization and Expressivity
Chair of Highly-Parallel VLSI Systems and Neuro-Microelectronics , TUD Dresden University of Technology, Dresden, Germany(德累斯顿技术大学神经微电子学系);Microsoft Research, Cambridge, United Kingdom(微软研究院)
Rational Neural Networks have Expressivity Advantages
Center for Applied Mathematics, Cornell University, United States(应用数学中心,康奈尔大学,美国);Department of Mathematics, Cornell University, United States(数学系,康奈尔大学,美国)
AffineLens: Capturing the Continuous Piecewise Affine Functions of Neural Networks
State Key Laboratory of Novel Software Technology School of Intelligence Science and Technology Nanjing University, Jiangsu, China(软件新技术国家重点实验室 智能科学与技术学院 南京大学 江苏 中国);AI for Good Istituto Italiano di Tecnologia, Genoa, Italy DITEN University of Genoa, Genoa, Italy(AI for Good 意大利技术研究院,热那亚,意大利 DITEN 热那亚大学,热那亚,意大利);State Key Laboratory of Novel Software Technology School of Artificial Intelligence Nanjing University, Jiangsu, China(软件新技术国家重点实验室 人工智能学院 南京大学 江苏 中国);AI for Good Istituto Italiano di Tecnologia, Genoa, Italy Department of Computer Science University of Verona, Verona, Italy(AI for Good 意大利技术研究院,热那亚,意大利 计算机科学系 热那亚大学,热那亚,意大利)
Balancing Robustness and Efficiency in Embedded DNNs Through Activation Function Selection
Department of Electronics Technology, University of the Basque Country (UPV/EHU)(电子技术系,巴斯克国家大学(UPV/EHU));Department of Electricity and Electronics, University of the Basque Country (UPV/EHU)(电力与电子系,巴斯克国家大学(UPV/EHU))
Institute for Theoretical Computer Science(理论计算机科学研究所);Leibniz University Hanover(汉诺威莱布尼茨大学);School of Computer Science(计算机科学学院);University of Sheffield(谢菲尔德大学)
NeuronSeek: On Stability and Expressivity of Task-driven Neurons
Frontier of Artificial Networks (FAN) Lab, Department of Data Science, City University of Hong Kong(前沿人工智能网络实验室,数据科学系,香港城市大学);Department of Industrial and Systems Engineering, The Hong Kong Polytechnic University(工业与系统工程系,香港理工大学);RIKEN Center for Advanced Intelligence Project(理化学研究所高级智能项目中心);Department of Applied Mathematics, The Hong Kong Polytechnic University(应用数学系,香港理工大学)
Integral Signatures of Activation Functions: A 9-Dimensional Taxonomy and Stability Theory for Deep Learning
Bellini College of AI, Cybersecurity and Computing(人工智能、网络安全与计算学院);University of South Florida(佛罗里达州立大学);College of Computing and Informatics(计算与信息学院);Drexel University(德雷塞尔大学);Departments of Physics(物理系)
Polynomial Composition Activations: Unleashing the Dynamics of Large Language Models
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Seed-Foundation-Model, ByteDance(字节跳动种子大模型部);Capital University of Economics and Business(首都经济贸易大学)
Department of Physics and Center for Theoretical Physics, National Taiwan University(物理系与理论物理中心,国立台湾大学);Center for Quantum Science and Engineering, National Taiwan University(量子科学与工程中心,国立台湾大学);Physics Division, National Center for Theoretical Sciences, National Taiwan University(理论科学国家中心物理组,国立台湾大学);Department of Computer Science, University of North Carolina at Chapel Hill(计算机科学系,北卡罗来纳大学教堂山分校)