# Rethinking Softmax Attention: Polynomial Activations for Transformers

*Hemanth Saratchandran, Jianqiao Zheng, Yiping Ji, Wenbo Zhang, Simon Lucey*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154100) · [OpenReview](https://openreview.net/forum?id=GFLgVpdI1N) · [alphaXiv](https://www.alphaxiv.org/abs/2410.18613) · [Open on the map](../papers.html#p154100)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Transformer Attention Theory](../pgroup/150.md) · Type: new method · Keywords: softmax attention, polynomial activation, transformer, norm regularization, attention mechanism

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Attention Replacement and Stabilization

## Summary
Polynomial activations for attention replace softmax, providing a stable alternative that matches performance without probabilistic constraints.

## Explained to a 5-year-old
Computers use a special way to pay attention to words, called softmax. The researchers noticed that this way might work because it keeps the numbers balanced. They tried using a different math rule that also keeps numbers balanced but doesn't need probabilities. Their new rule works just as well as the old one. This shows that probabilities aren't necessary for good attention.

## Explained to a 5-year-old, longer
Computers read text by looking at each word and deciding which ones are important. They use a method called softmax to spread importance like a probability. The researchers wondered if the probability part was really needed. They discovered that the method also keeps the numbers from getting too big or too small. Based on this, they created a new math rule that balances numbers without using probabilities. This new rule is like a simpler version of the old one. It works by using polynomial functions, which are easy mathematical patterns. When they tested it, the new rule gave the same good results as the old one. It performed well on many different language tasks. The findings suggest that we can simplify attention mechanisms. This could make future AI models easier to build and faster to run. Overall, the study shows that balancing numbers is more important than using probabilities.

## For a technical reader
The paper investigates why softmax attention works so well in transformer models. It shows that the key factor is the implicit control of the attention matrix’s Frobenius norm, which stabilizes training, rather than the probabilistic interpretation. Based on this insight, the authors propose using polynomial activation functions that preserve this norm-regularizing effect while dropping the requirements for positivity, row-wise normalization, and sparsity. Extensive experiments across several transformer-based tasks demonstrate that these polynomial alternatives achieve performance comparable to standard softmax attention. The work suggests that attention mechanisms can be simplified and made more flexible by focusing on norm control instead of strict probability constraints.

## Problem
It is unclear whether the effectiveness of attention mechanisms relies on their probabilistic normalization or on other properties such as matrix norm control.

## Method
The approach investigates polynomial activation functions that mimic the norm-regularizing effect of softmax while discarding positivity and row-wise normalization. Theoretical analysis derives conditions under which such activations preserve stability, and experiments evaluate them across transformer tasks.

## Results
The polynomial alternatives match or exceed the performance of softmax attention on the evaluated transformer tasks, indicating that probabilistic normalization is not essential for strong results.

## Contributions
The paper provides theoretical insight into the role of matrix norm control in attention, proposes polynomial activations as a drop-in replacement for softmax, and empirically validates their effectiveness across multiple transformer applications.

## Research questions this paper is counted under

- [How can we characterize the theoretical properties that make attention mechanisms effective and admissible across tasks and architectures?](../q/161.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154100)
