Trainable Highly-expressive Activation Functions

Irit Chelly, Shahaf E. Finder, Shira Ifergane, O. Freifeld
7/1/2024

No official code found. Best implementation: BGU-CS-VIL/DiTAC (40 stars, MIT, last commit 2025-02-23).

Abstract

Nonlinear activation functions are pivotal to the success of deep neural nets, and choosing the appropriate activation function can significantly affect their performance. Most networks use fixed activation functions (e.g., ReLU, GELU, etc.), and this choice might limit their expressiveness. Furthermore, different layers may benefit from diverse activation functions. Consequently, there has been a growing interest in trainable activation functions. In this paper, we introduce DiTAC, a trainable highly-expressive activation function based on an efficient diffeomorphic transformation (called CPAB). Despite introducing only a negligible number of trainable parameters, DiTAC enhances model expressiveness and performance, often yielding substantial improvements. It also outperforms existing activation functions (regardless whether the latter are fixed or trainable) in tasks such as semantic segmentation, image generation, regression problems, and image classification. Our code is available at https://github.com/BGU-CS-VIL/DiTAC.

View on arXivView PDF

Code Implementations(1)

BGU-CS-VIL/DiTACCommunity100%
MIT

Trainable Highly-expressive Activation Functions. ECCV 2024

402PythonJul 6, 20241 years agoMIT

Similar Papers

Cite this paper

@article{chelly2024trainable,
  title  = {Trainable Highly-expressive Activation Functions},
  author = {Irit Chelly and Shahaf E. Finder and Shira Ifergane and O. Freifeld},
  year   = {2024},
  eprint = {2407.07564},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.07564},
  journal = {ECCV 2024 2024}
}

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/2407.07564.svg)](https://codeofpaper.com/paper/2407.07564)

Discussion