arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.08283cs.CVcs.LG
收藏

激活函数优化方法:可学习级数线性单元(LSLUs)

Activation function optimization method: Learnable series linear units (LSLUs)

Southwest University(西南大学);Yibin Academy of Southwest University(西南大学宜宾研究院);Sichuan Academy of Agricultural Sciences(四川省农业科学院)

Chuan Feng, Xi Lin, Shiping Zhu, Hongkang Shi, Maojie Tang, Hua Huang

AI总结:

本研究结合清华与华为诺亚实验室的思路,提出基于级数的可学习激活函数LSLU,通过可学习参数适配训练阶段提升非线性,在多数据集上验证其能提升模型泛化能力、加快训练,在VanillaNet的CIFAR100任务上精度提升3.17%。

摘要:

有效的激活函数可引入非线性变换,赋予神经网络更强的拟合能力,帮助其更好地适配真实数据分布。华为诺亚实验室认为,动态激活函数比静态激活函数更适合增强神经网络的非线性能力;清华大学的相关研究也建议使用动态调整的激活函数。基于清华大学与华为诺亚实验室关于使用微调激活函数的思路,我们提出了一种基于级数的可学习激活函数,名为LSLU(可学习级数线性单元)。该方法在简化深度学习网络的同时提升了精度,通过引入可学习参数θ和ω来控制激活函数,使其适配当前层的训练阶段,提升模型的泛化能力,其原理是提升每个激活层的非线性程度,从而增强网络的整体非线性。我们在CIFAR10、CIFAR100以及特定任务数据集(如Silkworm)上评估了LSLU的性能,验证了其有效性,同时分析了可学习参数θ和ω的收敛行为及其对泛化的影响。实验结果表明,LSLU在多种任务中提升了原模型的泛化能力,同时加快了训练速度。在VanillaNet训练中,参数θ先下降、后上升再趋于稳定,而ω则呈现相反趋势。最终,LSLU在VanillaNet的CIFAR100任务上实现了3.17%的精度提升(表3)。代码可在https://github.com/vontran2021/Learnable-series-linear-units-LSLU获取。

英文摘要:

Effective activation functions introduce non-linear transformations, providing neural networks with stronger fitting capa-bilities, which help them better adapt to real data distributions. Huawei Noah's Lab believes that dynamic activation functions are more suitable than static activation functions for enhancing the non-linear capabilities of neural networks. Tsinghua University's related research also suggests using dynamically adjusted activation functions. Building on the ideas of using fine-tuned activation functions from Tsinghua University and Huawei Noah's Lab, we propose a series-based learnable ac-tivation function called LSLU (Learnable Series Linear Units). This method simplifies deep learning networks while im-proving accuracy. This method introduces learnable parameters θ and ω to control the activation function, adapting it to the current layer's training stage and improving the model's generalization. The principle is to increase non-linearity in each activation layer, boosting the network's overall non-linearity. We evaluate LSLU's performance on CIFAR10, CIFAR100, and specific task datasets (e.g., Silkworm), validating its effectiveness. The convergence behavior of the learnable parameters θ and ω, as well as their effects on generalization, are analyzed. Our empirical results show that LSLU enhances the general-ization ability of the original model in various tasks while speeding up training. In VanillaNet training, parameter θ initially decreases, then increases before stabilizing, while ω shows an opposite trend. Ultimately, LSLU achieves a 3.17% accuracy improvement on CIFAR100 for VanillaNet (Table 3). Codes are available at https://github.com/vontran2021/Learnable-series-linear-units-LSLU.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑