Rethinking Softmax: Self-Attention with Polynomial Activations
Abstract
This paper challenges the conventional belief that softmax attention in transformers is effective primarily because it generates a probability distribution for attention allocation. Instead, we theoretically show that its success lies in its ability to implicitly regularize the Frobenius norm of the attention matrix during training. We then explore alternative activations that regularize the Frobenius norm of the attention matrix, demonstrating that certain polynomial activations can achieve this effect, making them suitable for attention-based architectures. Empirical results indicate these activations perform comparably or better than softmax across various computer vision and language tasks, suggesting new possibilities for attention mechanisms beyond softmax.
BibTeX
@misc{saratchandran2024rethinking,
author = {Hemanth Saratchandran and Jianqiao Zheng and Yiping Ji and Wenbo Zhang and Simon Lucey},
title = {{Rethinking Softmax: Self-Attention with Polynomial Activations}},
year = {2024},
eprint = {2410.18613},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2410.18613},
}Ask Althea to put this paper to the test.
| Polynomial Activations for Transformers | NeurIPS · 2026 |
| Softmax is not Enough (for Sharp Size Generalisation) | ICML · 2025 |
| The Expressibility of Polynomial based Attention Scheme | KDD · 2025 |
| Normalized Attention Without Probability Cage | arXiv · 2020 |
| Theory, Analysis, and Best Practices for Sigmoid Self-Attention | ICLR · 2025 |
| Self-Adjust Softmax | arXiv · 2025 |