arXiv · 2410.01405
On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encoding
Abstract
Looped Transformers provide advantages in parameter efficiency, computational capabilities, and generalization for reasoning tasks. However, their expressive power regarding function approximation remains underexplored. In this paper, we establish the approximation rate of Looped Transformers by defining the modulus of continuity for sequence-to-sequence functions. This reveals a limitation specific to the looped architecture. That is, the analysis prompts the incorporation of scaling parameters for each loop, conditioned on timestep encoding. Experiments validate the theoretical results, showing that increasing the number of loops enhances performance, with further gains achieved through the timestep encoding.
Explore related subjects
Keep this discovery
Kevin Xu, Issei Sato. 2024-10-02. On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encoding. https://arxiv.org/abs/2410.01405
Cite the original work for its findings. Save a collection to share your selection of sources.