Adaptive Parametric Activation: Unifying and Generalising Activation Functions Across Tasks
Not on the map. Why?
Abstract (arXiv)
The activation function plays a crucial role in model optimisation, yet the optimal choice remains unclear. For example, the Sigmoid activation is the de-facto activation in balanced classification tasks, however, in imbalanced classification, it proves inappropriate due to bias towards frequent classes. In this work, we delve deeper in this phenomenon by performing a comprehensive statistical analysis in the classification and intermediate layers of both balanced and imbalanced networks and we empirically show that aligning the activation function with the data distribution, enhances the performance in both balanced and imbalanced tasks. To this end, we propose the Adaptive Parametric Activation (APA) function, a novel and versatile activation function that unifies most common activation functions under a single formula. APA can be applied in both intermediate layers and attention layers, significantly outperforming the state-of-the-art on several imbalanced benchmarks such as ImageNet-LT, iNaturalist2018, Places-LT, CIFAR100-LT and LVIS. Also, we extend APA to a plethora of other tasks such as classification, detection, visual instruction following tasks, image generation and next-text-token prediction benchmarks. APA increases the performance in multiple benchmarks across various model architectures. The code is available at https://github.com/kostas1515/AGLU.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 93 of its 119 references that are in the map. First posted on arXiv 11 Jul 2024.
Builds on
93 of 119 references.
References · 93
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Mask R-CNNcited by 7,277
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
38 more
- 2016Layer Normalizationcited by 5,669
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2017Squeeze-and-Excitation Networkscited by 4,789
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2022A ConvNet for the 2020scited by 3,579
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2018CBAM: Convolutional Block Attention Modulecited by 2,477
- 2015Spatial Transformer Networkscited by 1,429
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
- 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
- 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 809
- 2021Going deeper with Image Transformerscited by 764
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
- 2020Long-tail learning via logit adjustmentcited by 618
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 605
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2022DeiT III: Revenge of the ViTcited by 419
- 2019BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognitioncited by 403
- 2020Balanced Meta-Softmax for Long-Tailed Visual Recognitioncited by 400
- 2021DeepViT: Towards Deeper Vision Transformercited by 289
- 2020Equalization Loss for Long-Tailed Object Recognitioncited by 285
- 2020Long-tailed Recognition by Routing Diverse Distribution-Aware Expertscited by 271
- 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 227
- 2021Parametric Contrastive Learningcited by 217
- 2021Improving Calibration for Long-Tailed Recognitioncited by 212
- 2021Distribution Alignment: A Unified Framework for Long-tail Visual Recognitioncited by 198
- 2020Disentangling Label Distribution for Long-tailed Visual Recognitioncited by 172
- 2015Cost Sensitive Learning of Deep Feature Representations from Imbalanced Datacited by 167
- 2020Seesaw Loss for Long-Tailed Instance Segmentationcited by 146
50 most cited of 93 All 93 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
- 2024Fractal Calibration for long-tailed object detectioncited by 5
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2025SG-Blend: Learning an Interpolation Between Improved Swish and GELU for Robust Neural Representationscited by 0
- 2025Intrinsic Dimensionality as a Model-Free Measure of Class Imbalancecited by 0
- 2026dynActivation: A Trainable Activation Family for Adaptive Nonlinearitycited by 0
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026dynActivation: A Trainable Activation Family for Adaptive Nonlinearity23 Mar 2026
- 2025Intrinsic Dimensionality as a Model-Free Measure of Class Imbalance13 Nov 2025
- 2025SG-Blend: Learning an Interpolation Between Improved Swish and GELU for Robust Neural Representations29 May 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
- 2024Fractal Calibration for long-tailed object detection15 Oct 2024