旋转循环:循环Transformer的分块保形性
Rotate the Loop: Blockwise Conformality for Looped Transformers
AI总结:
该研究针对循环Transformer的状态跟踪问题,提出分块保形注入方法,通过分组旋转残差实现多时间尺度跟踪,在状态跟踪和语言建模任务上提升了性能。
摘要:
循环Transformer在多个循环步骤中复用一个共享块,因此深度成为可在运行时使用的量,而非一组不同的层。只有当某一循环步骤的写入操作仍可在后续步骤中读取时,这些额外步骤才会发挥作用,这取决于应用于循环步骤之间残差的线性映射。我们证明,循环是否学会跟踪状态是关于该映射形式的几何问题,并提出分块保形注入(blockwise conformal injections):残差被拆分为坐标对齐的组,每组内部进行旋转,因此每个组有自身的时间尺度,同时组内几何保持精确。我们的实验在一种要求较高的状态跟踪形式上显示出性能提升——当前缀其余部分已正确时的最后一个标记准确率,以及语言建模上,其中早期写入的信号必须在序列末尾被检索。
英文摘要:
Looped transformers reuse one shared block across many recurrent steps, so depth becomes a quantity that can be spent at runtime rather than a stack of distinct layers. Those extra steps help only if a write made on one recurrent step is still readable on later ones, and that depends on the linear map applied to the residual between recurrent steps. We show that whether the loop learns to track state is a geometric question about the form of this map, and we propose blockwise conformal injections: the residual splits into coordinate-aligned groups and rotates inside each one, so every group has its own timescale while the geometry stays exact within it. Our experiments show a performance increase on a demanding form of state tracking - last-token accuracy when the rest of the prefix is already correct - and on language modelling, where a signal written earlier has to be retrieved at the end of the sequence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。