Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encoding

About

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.

Kevin Xu, Issei Sato• 2024

Related benchmarks

TaskDatasetResultRank
Language ModelingFineWeb-Edu (test)
Perplexity (Test)22.87
49
Language ModelingThe Pile (test)
PPL (The Pile Test)10.38
27
Language ModelingOpenWebText standard (test)
Perplexity21.99
17
ReasoningLanguage Task Suite (COPA, HS, LB, OBQA, PIQA, Race, SciQ, ARC, SIQA, WG) zero-shot standard
COPA65
17
Showing 4 of 4 rows

Other info

Follow for update