Saved in:
Bibliographic Details
Main Author: Omidvar, Amin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.22450
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917052331065344
author Omidvar, Amin
author_facet Omidvar, Amin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_22450
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SmartMixed: A Two-Phase Training Strategy for Adaptive Activation Function Learning in Neural Networks
Omidvar, Amin
Machine Learning
Artificial Intelligence
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.
title SmartMixed: A Two-Phase Training Strategy for Adaptive Activation Function Learning in Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.22450