arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.07732cs.LGcs.AIcs.NE
收藏

神经数据路由器:Transformers中的自适应控制流提高了系统的泛化能力

The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization

The Swiss AI Lab, IDSIA(瑞士人工智能实验室(IDSIA));University of Lugano (USI)(卢加诺大学);SUPSI(瑞士意大利语区高等专业学院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学)

Róbert Csordás, Kazuki Irie, Jürgen Schmidhuber

摘要:

尽管在广泛的应用领域取得了进展,但Transformers在系统推广方面的成功有限。在算法任务的情况下,这种情况尤其令人沮丧,在这种情况下,他们通常无法找到直观的解决方案,将相关信息在正确的时间路由到由Transformer列表示的网格中的正确节点/操作。为了便于学习有用的控制流,我们提出了两个修改的Transformer架构,复制门和几何注意。我们的新型神经数据路由器(NDR)在经典的组合查表任务上实现了100%的长度泛化准确性,在简单的算术任务上也实现了近乎完美的准确性,并在计算深度上实现了ListOps测试的新变体。NDR的注意力和门控模式往往可以解释为神经路由的直观形式。代码是公开的。

英文摘要:

Despite progress across a broad range of applications, Transformers have limited success in systematic generalization. The situation is especially frustrating in the case of algorithmic tasks, where they often fail to find intuitive solutions that route relevant information to the right node/operation at the right time in the grid represented by Transformer columns. To facilitate the learning of useful control flow, we propose two modifications to the Transformer architecture, copy gate and geometric attention. Our novel Neural Data Router (NDR) achieves 100% length generalization accuracy on the classic compositional table lookup task, as well as near-perfect accuracy on the simple arithmetic task and a new variant of ListOps testing for generalization across computational depths. NDR's attention and gating patterns tend to be interpretable as an intuitive form of neural routing. Our code is public.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑