Reddit discusses simplifying the input to a softmax layer

Community discussion Reddit r/MachineLearning · Individual views, not representative.

A Reddit discussion asks whether a softmax layer could use one fewer logit. Because its N outputs sum to one, they have only N−1 degrees of freedom. The proposal is to constrain the input logits to sum to zero and calculate the last logit from the others.

In the poster’s view, this might remove unnecessary parameters from the final layer. Faster convergence is also raised as a possibility, but not presented as an established benefit. The question is whether there is a good reason to retain the usual parameterization.

According to the Reddit community, the practical benefit would usually be negligible; the slight overparameterization of the last logit might even help learning. The discussion offers a concise assessment, but no measurements or systematic comparisons. Original discussion on Reddit

🇬🇧 https://www.reddit.com/r/MachineLearning/comments/1wt1mk0/why_not_just_have_one_less_feature_before_softmax

Leave a Comment

The weekly brief: selected developments, projects and videos