[论文解读] Learning Activation Functions: A new paradigm for understanding Neural Networks
Self-Learnable Activation Functions (SLAF) 在训练过程中作为多项式基底学习,以近似常见激活函数,具有理论保证和经验评估。
The scope of research in the domain of activation functions remains limited and centered around improving the ease of optimization or generalization quality of neural networks (NNs). However, to develop a deeper understanding of deep learning, it becomes important to look at the non linear component of NNs more carefully. In this paper, we aim to provide a generic form of activation function along with appropriate mathematical grounding so as to allow for insights into the working of NNs in future. We propose "Self-Learnable Activation Functions" (SLAF), which are learned during training and are capable of approximating most of the existing activation functions. SLAF is given as a weighted sum of pre-defined basis elements which can serve for a good approximation of the optimal activation function. The coefficients for these basis elements allow a search in the entire space of continuous functions (consisting of all the conventional activations). We propose various training routines which can be used to achieve performance with SLAF equipped neural networks (SLNNs). We prove that SLNNs can approximate any neural network with lipschitz continuous activations, to any arbitrary error highlighting their capacity and possible equivalence with standard NNs. Also, SLNNs can be completely represented as a collections of finite degree polynomial upto the very last layer obviating several hyper parameters like width and depth. Since the optimization of SLNNs is still a challenge, we show that using SLAF along with standard activations (like ReLU) can provide performance improvements with only a small increase in number of parameters.
研究动机与目标
- 提出一个通用、可学习的激活函数框架(SLAF),能够近似大多数现有激活函数。
- 将 SLAF 基于多项式近似以实现对神经网络行为的解析性洞察。
- 为带有 SLNF 的网络开发与 SGD 及常用优化器兼容的训练程序。
- 提供关于 SLNN 的表示能力和参数界的理论结果。
- 在回归、分类和多项式学习任务上展示 SLNN 的经验性能。
提出的方法
- 将 SLAF 形式化为对预定义基元素(Taylor、Chebyshev、EMFN)的加权和,以近似最优激活函数。
- 对基函数进行归一化,以管理梯度幅度并实现基于 SGD 的训练。
- 证明带有 SLAF 的 SLNN 能在任意精度下近似任何 Lipschitz 连续激活网络(定理 1 / 附录 A.4)。
- 证明 SLNN 的输出可以表示为至多次数为 k 的多变量多项式(定理 2)。
- 探索基于阶的多项式表示并推导多项式特征空间的参数数量界限(k=各层次数的乘积)。
- 在回归、分类和合成稀疏多项式任务上评估 SLNN,比较对象为标准神经网络和多项式基线。
实验结果
研究问题
- RQ1基于多项式基底的可学习激活函数是否可以在各任务中近似传统激活函数?
- RQ2在神经网络中使用 SLAF 对优化、表示和泛化有何影响?
- RQ3SLAF 基底的次数如何影响性能、训练稳定性和参数效率?
- RQ4SLNN 是否能在基准数据集上复制标准神经网络的性能,同时通过多项式表示提供解析洞见?
主要发现
- SLAF 能在多项式基底内近似现有激活函数,如 ReLU、Sigmoid 和 tanh。
- SLNN 具有多项式表示,其次数为每层 SLAF 次数的乘积(定理 2)。
- 实验表明在 MNIST、CIFAR-10 和 Fashion-MNIST 上,SLNN 在合适的 SLAF 次数下的表现与标准神经网络相当。
- 在回归(Boston Housing)上,SLNN 相对于 ReLU 激活基线的 RMSE 具有竞争力,并且优于某些多项式和线性基线。
- 当所有激活函数都是 SLAF 时,基于 SLAF 的模型可以提升性能,尽管由于非单调、无界激活函数,优化可能具有挑战性。
- 对激活系数的正则化有助于控制过拟合并促进基于 SGD 的优化。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。