SmartMixed: A Two-Phase Training Strategy for Adaptive Activation Function Learning in Neural Networks

Amin Omidvar
10/25/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

The choice of activation function plays a critical role in neural networks, yet most architectures still rely on fixed, uniform activation functions across all neurons. We introduce SmartMixed, a two-phase training strategy that allows networks to learn optimal per-neuron activation functions while preserving computational efficiency at inference. In the first phase, neurons adaptively select from a pool of candidate activation functions (ReLU, Sigmoid, Tanh, Leaky ReLU, ELU, SELU) using a differentiable hard-mixture mechanism. In the second phase, each neuron's activation function is fixed according to the learned selection, resulting in a computationally efficient network that supports continued training with optimized vectorized operations. We evaluate SmartMixed on the MNIST dataset using feedforward neural networks of varying depths. The analysis shows that neurons in different layers exhibit distinct preferences for activation functions, providing insights into the functional diversity within neural architectures.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{omidvar2025smartmixed,
  title  = {SmartMixed: A Two-Phase Training Strategy for Adaptive Activation Function Learning in Neural Networks},
  author = {Amin Omidvar},
  year   = {2025},
  eprint = {2510.22450},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22450v2}
}

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

Discussion