paper-with-me

Papers

Exploring Alternatives to Softmax Function

2020-11-23 · Kunal Banerjee, Vishak Prasad C, Rishi Raj Gupta, Karthik Vyas, Anushree H, Biswajit Mishra

Softmax function is widely used in artificial neural networks for multiclass classification, multilabel classification, attention mechanisms, etc. However, its efficacy is often questioned in literature. The log-softmax loss has been shown to belong to a more generic class of loss functions, called spherical family, and its member log-Taylor softmax loss is arguably the best alternative in this class. In another approach which tries to enhance the discriminative nature of the softmax function, soft-margin softmax (SM-softmax) has been proposed to be the most suitable alternative. In this work, we investigate Taylor softmax, SM-softmax and our proposed SM-Taylor softmax, an amalgamation of the earlier two functions, as alternatives to softmax function. Furthermore, we explore the effect of expanding Taylor softmax up to ten terms (original work proposed expanding only to two terms) along with the ramifications of considering Taylor softmax to be a finite or infinite series during backpropagation. Our experiments for the image classification task on different datasets reveal that there is always a configuration of the SM-Taylor softmax function that outperforms the normal softmax function and its other alternatives.

📄 PDF Abstract BibTeX arXiv:2011.11538

Code (1)

kunalbanerjee/softmax_alternatives 공식 구현 tf

Tasks

General Classificationimage-classificationImage Classification

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

An Exploration of Softmax Alternatives Belonging to the Spherical Loss Family

2015-11-16 · Alexandre de Brébisson, Pascal Vincent

In a multi-class classification problem, it is standard to model the output of a neural network as a categorical distribution conditioned on the inputs. The output must therefore be positive and sum to one, which is trad…

Language ModelingLanguage ModellingMulti-class Classification

Online normalizer calculation for softmax

2018-05-08 · Maxim Milakov, Natalia Gimelshein

The Softmax function is ubiquitous in machine learning, multiple previous works suggested faster alternatives for it. In this paper we propose a way to compute classical Softmax with fewer memory accesses and hypothesize…

BIG-bench Machine Learning

Escaping the Gradient Vanishing: Periodic Alternatives of Softmax in Attention Mechanism

2021-08-16 · Shulun Wang, Bin Liu, Feng Liu

Softmax is widely used in neural networks for multiclass classification, gate structure and attention mechanisms. The statistical assumption that the input is normal distributed supports the gradient stability of Softmax…

Simplex Clustering via sBeta with Applications to Online Adjustment of Black-Box Predictions

2022-07-30 · Florent Chiaroni, Malik Boudiaf, Amar Mitiche, Ismail Ben Ayed

We explore clustering the softmax predictions of deep neural networks and introduce a novel probabilistic clustering method, referred to as k-sBetas. In the general context of clustering discrete distributions, the exist…

ClusteringDescriptiveDomain AdaptationUnsupervised Domain Adaptation

r-softmax: Generalized Softmax with Controllable Sparsity Rate

2023-04-11 · Klaudia Bałazy, Łukasz Struski, Marek Śmieja, Jacek Tabor

Nowadays artificial neural network models achieve remarkable results in many disciplines. Functions mapping the representation provided by the model to the probability distribution are the inseparable aspect of deep lear…

Language ModelingLanguage Modelling