循环Transformer的表达能力:理论分析与通过时间步编码的增强
On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encoding
AI总结:
本文通过定义序列到序列函数的连续模建立循环Transformer的逼近速率,揭示其架构局限性,并提出基于时间步编码的缩放参数以增强表达能力。
摘要:
循环Transformer在参数效率、计算能力和推理任务的泛化性方面具有优势。然而,其在函数逼近方面的表达能力仍未得到充分探索。本文通过定义序列到序列函数的连续模,建立了循环Transformer的逼近速率。这揭示了循环架构特有的一个局限性。即,该分析促使引入基于时间步编码条件下的每个循环的缩放参数。实验验证了理论结果,表明增加循环次数能够提升性能,而通过时间步编码可以进一步获得增益。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。