cs.LGApr 27, 2026

Transformer Approximations from ReLUs

Authors: Jerry Yao-Chieh HuMingcheng LuYi-Chen LeeHan Liu

Organizations: Center for Foundation Models and Generative AI, Northwestern University, Evanston, IL 60208, USA · Department of Computer Science, Northwestern University, Evanston, IL 60208, USA · Department of Physics, National Taiwan University, Taipei 10617, Taiwan · ♯Department of Statistics and Data Science, Northwestern University, Evanston, IL 60208, USA

Abstract

We provide a systematic recipe for translating ReLU approximation results to softmax attention mechanism. This recipe covers many common approximation targets. Importantly, it yields target-specific, economic resource bounds beyond universal approximation statements. We showcase the recipe on multiplication, reciprocal computation, and min/max primitives. These results provide new analytical tools for analyzing softmax transformer models.

Explore similar work

CardsList