English

Task-Specific Activation Functions for Neuroevolution using Grammatical Evolution

Neural and Evolutionary Computing 2025-03-27 v2 Artificial Intelligence

Abstract

Activation functions play a critical role in the performance and behaviour of neural networks, significantly impacting their ability to learn and generalise. Traditional activation functions, such as ReLU, sigmoid, and tanh, have been widely used with considerable success. However, these functions may not always provide optimal performance for all tasks and datasets. In this paper, we introduce Neuvo GEAF - an innovative approach leveraging grammatical evolution (GE) to automatically evolve novel activation functions tailored to specific neural network architectures and datasets. Experiments conducted on well-known binary classification datasets show statistically significant improvements in F1-score (between 2.4% and 9.4%) over ReLU using identical network architectures. Notably, these performance gains were achieved without increasing the network's parameter count, supporting the trend toward more efficient neural networks that can operate effectively on resource-constrained edge devices. This paper's findings suggest that evolved activation functions can provide significant performance improvements for compact networks while maintaining energy efficiency during both training and inference phases.

Keywords

Cite

@article{arxiv.2503.10879,
  title  = {Task-Specific Activation Functions for Neuroevolution using Grammatical Evolution},
  author = {Benjamin David Winter and William John Teahan},
  journal= {arXiv preprint arXiv:2503.10879},
  year   = {2025}
}

Comments

8 pages, 4 figures, IEEE

R2 v1 2026-06-28T22:19:50.037Z