PoM: A Linear-Time Replacement for Attention with the Polynomial Mixer

David Picard, Nicolas Dufour, Lucas Degeorge, Arijit Ghosh, Davide Allegro +12 more
4/7/2026
1 citation
cs.CVcs.AI
transformer-attention

Official code: davidpicard/pom (36 stars, Python, MIT, last commit 2026-04-10).

Abstract

This paper introduces the Polynomial Mixer (PoM), a novel token mixing mechanism with linear complexity that serves as a drop-in replacement for self-attention. PoM aggregates input tokens into a compact representation through a learned polynomial function, from which each token retrieves contextual information.

Show full abstract

We prove that PoM satisfies the contextual mapping property, ensuring that transformers equipped with PoM remain universal sequence-to-sequence approximators. We replace standard self-attention with PoM across five diverse domains: text generation, handwritten text recognition, image generation, 3D modeling, and Earth observation. PoM matches the performance of attention-based models while drastically reducing computational cost when working with long sequences. The code is available at https://github.com/davidpicard/pom.

View on arXivView PDF

Code Implementations(1)

davidpicard/pomOfficial100%
MIT

official implementation of the Polynomial Mixer

362PythonFeb 25, 20257 months agoMIT

Similar Papers

Cite this paper

@article{picard2026pom,
  title  = {PoM: A Linear-Time Replacement for Attention with the Polynomial Mixer},
  author = {David Picard and Nicolas Dufour and Lucas Degeorge and Arijit Ghosh and Davide Allegro and Tom Ravaud and Yohann Perron and Corentin Sautier and Zeynep Sonat Baltaci and Fei Meng and Syrine Kalleli and Marta López-Rauhut and Thibaut Loiseau and Ségolène Albouy and Raphael Baena and Elliot Vincent and Loic Landrieu},
  year   = {2026},
  eprint = {2604.06129},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.06129v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.06129.svg)](https://codeofpaper.com/paper/2604.06129)

Discussion