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

Chuan Feng, Xi Lin, Shiping Zhu, Hongkang Shi, Maojie Tang +1 more
8/28/2024
cs.CVcs.LG

Official code: vontran2021/Learnable-series-linear-units-LSLU (0 stars, MIT, last commit 2024-09-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Learnable series linear units

00PythonJan 10, 20222 years agoMIT

Similar Papers

Cite this paper

@article{feng2024activation,
  title  = {Activation function optimization method: Learnable series linear units (LSLUs)},
  author = {Chuan Feng and Xi Lin and Shiping Zhu and Hongkang Shi and Maojie Tang and Hua Huang},
  year   = {2024},
  eprint = {2409.08283},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08283v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.08283.svg)](https://codeofpaper.com/paper/2409.08283)

Discussion