English

Efficient Search for Customized Activation Functions with Gradient Descent

Machine Learning 2024-08-14 v1 Artificial Intelligence

Abstract

Different activation functions work best for different deep learning models. To exploit this, we leverage recent advancements in gradient-based search techniques for neural architectures to efficiently identify high-performing activation functions for a given application. We propose a fine-grained search cell that combines basic mathematical operations to model activation functions, allowing for the exploration of novel activations. Our approach enables the identification of specialized activations, leading to improved performance in every model we tried, from image classification to language models. Moreover, the identified activations exhibit strong transferability to larger models of the same type, as well as new datasets. Importantly, our automated process for creating customized activation functions is orders of magnitude more efficient than previous approaches. It can easily be applied on top of arbitrary deep learning pipelines and thus offers a promising practical avenue for enhancing deep learning architectures.

Keywords

Cite

@article{arxiv.2408.06820,
  title  = {Efficient Search for Customized Activation Functions with Gradient Descent},
  author = {Lukas Strack and Mahmoud Safari and Frank Hutter},
  journal= {arXiv preprint arXiv:2408.06820},
  year   = {2024}
}

Comments

10 pages, 1 figure, excluding references and appendix

R2 v1 2026-06-28T18:11:37.943Z