LENS paper proposes learnable states to replace LayerNorm and Softmax in Transformers
A new arXiv abstract describes a framework that recasts two core Transformer operations as matrix-multiplication-friendly computations, aiming to ease hardware accelerator design.
In plain words
Transformers rely on two fixed mathematical steps, called LayerNorm and Softmax, that are awkward to run efficiently on specialized chips. The LENS authors propose replacing both with small learned components that fit standard matrix multiplication, the operation accelerators handle best. Their abstract reports the approach held up in vision and language tests.
What was announced
In a cross-listed arXiv abstract, the authors argue that LayerNorm and attention Softmax map poorly onto general matrix multiplication, so accelerator designers must dedicate substantial chip area to special arithmetic units for them. LENS reformulates LayerNorm as tiny MLPs, abstracting a shared structure from earlier alternatives, and extends the same idea to Softmax, shifting more Transformer computation toward GEMM-style processing.
The reported evaluation covers image classification with Vision Transformers and autoregressive language modeling with Pythia models, plus generalization checks on WikiText and LAMBADA. According to the abstract, LENS matched or beat baselines in several vision settings and kept most baseline performance elsewhere. The authors present this as evidence that hand-designed normalization and attention functions are not the only option, particularly for resource-limited hardware.
What it does not show
- Only the paper abstract is available, so no independent verification, full results, or hardware measurements can be assessed from this source.
- The abstract reports no specific speedup, chip-area, or resource figures for the claimed hardware benefits.
Sources
Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 28 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.