cs.LGMar 3, 2026

On the Expressive Power of Transformers for Maxout Networks and Continuous Piecewise Linear Functions

Authors: Linyan Gu, Lihua Yang, Feng Zhou

Organizations: School of Mathematics, Sun Yat-sen University · School of Information Science, Guangdong University of Finance and Economics

Abstract

Transformer networks have achieved remarkable empirical success across a wide range of applications, yet their theoretical expressive power remains insufficiently understood. In this paper, we study the expressive capabilities of Transformer architectures. We first establish an explicit approximation of maxout networks by Transformer networks while preserving comparable model complexity. As a consequence, Transformers inherit the universal approximation capability of ReLU networks under similar complexity constraints. Building on this connection, we develop a framework to analyze the approximation of continuous piecewise linear functions by Transformers and quantitatively characterize their expressivity via the number of linear regions, which grows exponentially with depth. Our analysis establishes a theoretical bridge between approximation theory for standard feedforward neural networks and Transformer architectures. It also yields structural insights into Transformers: self-attention layers implement max-type operations, while feedforward layers realize token-wise affine transformations.

Explore similar work

CardsList
  1. On the Expressive Power of Transformers

    Aug 13, 2026Phokion Kolaitis, Rik SenguptaTransformer Expressivity

  2. Transformer Approximations from ReLUs

    Apr 27, 2026Jerry Yao-Chieh Hu, Mingcheng Lu, Yi-Chen Lee +1Softmax AttentionNeural Network Approximation Theory

  3. Approximation Error Upper and Lower Bounds for Hölder Class with Transformers

    May 8, 2026Xin He, Yuling Jiao, Xiliang Lu +1TransformerNeural Network Approximation Theory