Which functions can be used as activations in deep neural networks? This article explores families of functions based on orthonormal bases, including the Hermite polynomial basis and the Fourier trigonometric basis, as well as a basis resulting from the tropicalization of a polynomial basis. Our study shows that, through simple variance-preserving initialization and without additional clamping mechanisms, these activations can successfully be used to train deep models, such as GPT-2 for next-token prediction on OpenWebText and ConvNeXt for image classification on ImageNet. Our work addresses the issue of exploding and vanishing activations and gradients, particularly prevalent with polynomial activations, and opens the door for improving the efficiency of large-scale learning tasks. Furthermore, our approach provides insight into the structure of neural networks, revealing that networks with polynomial activations can be interpreted as multivariate polynomial mappings. Finally, using Hermite interpolation, we show that our activations can closely approximate classical ones in pre-trained models by matching both the function and its derivative, making them especially useful for fine-tuning tasks. These activations are available in the torchortho library via: https://github.com/K-H-Ismail/torchortho.
A New Artificial Neuron Proposal with Trainable Simultaneous Local and Global Activation Function
Universidade Federal Rural de Pernambuco(伯南布哥联邦农村大学);Harvard University(哈佛大学)
The activation function plays a fundamental role in the artificial neural network learning process. However, there is no obvious choice or procedure to determine the best activation function , which depends on the problem. This study proposes a new artificial neuron, named global-local neuron, with a trainable activation function composed of two components, a global and a local. The global component term used here is relative to a mathematical function to describe a general feature present in all problem domain. The local component is a function that can represent a localized behavior, like a …
Towards Lower Bounds on the Depth of ReLU Neural Networks
London School of Economics and Political Science(伦敦政治经济学院);Johns Hopkins University(约翰斯·霍普金斯大学);Università degli Studi di Padova(帕多瓦大学);Technische Universität Berlin(柏林工业大学)
A novel auxiliary equation neural networks method for exactly explicit solutions of nonlinear partial differential equations
School of Mathematics and Big Data(数学与大数据学院);School of Mathematics and Statistics(数学与统计学学院);School of Automation and Software Engineering(自动化与软件工程学院);Hubei Key Laboratory of Applied Mathematics(应用数学重点实验室);School of Mathematical Sciences(数学科学学院)
Explore the Ideology of Deep Learning in ENSO Forecasts
State Key Laboratory of Physical Oceanography, Ocean University of China(中国海洋大学物理海洋学国家重点实验室);Frontier Science Center for Deep Ocean Multispheres and Earth System(深海多球体与地球系统前沿科学中心);Physical Oceanography Laboratory, Ocean University of China(中国海洋大学物理海洋学实验室)