Balanced Learnable Activation Function (BLAF): Enhancing Classification Accuracy in Deep Neural Networks

Activation functions significantly influence classification accuracy in both training and testing. The most prevalent choice is Relu. However, Relu is non-negative and has a zero gradient for negative inputs. This can lead to inactive outputs due to a lack of weight updates. Additionally, the vanishing gradients problem can slow down learning when a constant zero gradient is encountered, slowing convergence. In response to these challenges, we present a pioneering solution: the Balanced Learnable Activation Function (BLAF), featuring learnable hyperparameters <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> . In contrast to Relu, BLAF incorporates negative values, shifting activation means toward zero. Mean activations closer to zero facilitate faster learning by aligning the gradient closer to the natural gradient, thus improving convergence and accuracy. To maintain input magnitudes during training and accelerate convergence in the modified deep neural networks, we propose to utilize appropriate initial values for <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> . The learnable hyperparameters <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> control the saturation point for negative inputs. When BLAF reaches this point, the small derivative reduces variation and information propagation to the next layer. Consequently, producing simpler, faster representations. To avoid repetitive iterations in activation functions with fixed hyperparameters, BLAF automatically adjusts <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> during training. This adaptation enhances BLAF’s classification adaptability by efficiently capturing complex data patterns and improving learning and generalization across diverse datasets. Unlike conventional approaches that rely on pre-designed architectures with default activation functions, we reconstruct well-known networks InceptionV3 and ResNet50 from scratch. We train these networks with BLAF and other activation functions to ensure an impartial evaluation.

Authors

Institutions

Publication Details

Journal
Journal of Intelligent & Fuzzy Systems
Published
2025-05-22
DOI
https://doi.org/10.1177/18758967251343172
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Balanced Learnable Activation Function (BLAF): Enhancing Classification Accuracy in Deep Neural Networks

Jiang Jian-sheng, Majjed Al-Qatf, Ali Abdullah Yahya
Journal of Intelligent & Fuzzy Systems
Adversarial Robustness in Machine Learning
article

Balanced Learnable Activation Function (BLAF): Enhancing Classification Accuracy in Deep Neural Networks

Jiang Jian-sheng, Majjed Al-Qatf, Ali Abdullah Yahya
article en

Abstract

Activation functions significantly influence classification accuracy in both training and testing. The most prevalent choice is Relu. However, Relu is non-negative and has a zero gradient for negative inputs. This can lead to inactive outputs due to a lack of weight updates. Additionally, the vanishing gradients problem can slow down learning when a constant zero gradient is encountered, slowing convergence. In response to these challenges, we present a pioneering solution: the Balanced Learnable Activation Function (BLAF), featuring learnable hyperparameters <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> . In contrast to Relu, BLAF incorporates negative values, shifting activation means toward zero. Mean activations closer to zero facilitate faster learning by aligning the gradient closer to the natural gradient, thus improving convergence and accuracy. To maintain input magnitudes during training and accelerate convergence in the modified deep neural networks, we propose to utilize appropriate initial values for <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> . The learnable hyperparameters <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> control the saturation point for negative inputs. When BLAF reaches this point, the small derivative reduces variation and information propagation to the next layer. Consequently, producing simpler, faster representations. To avoid repetitive iterations in activation functions with fixed hyperparameters, BLAF automatically adjusts <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>α</mml:mi> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" overflow="scroll"> <mml:mi>γ</mml:mi> </mml:math> during training. This adaptation enhances BLAF’s classification adaptability by efficiently capturing complex data patterns and improving learning and generalization across diverse datasets. Unlike conventional approaches that rely on pre-designed architectures with default activation functions, we reconstruct well-known networks InceptionV3 and ResNet50 from scratch. We train these networks with BLAF and other activation functions to ensure an impartial evaluation.

Journal of Intelligent & Fuzzy SystemsVol. 49(5)
Ollscoil na Gaillimhe – University of Galway (IE), Anqing Normal University (CN)
Openalex Percentile: Top 95%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.