arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.12272cs.CLcs.AIcs.LG
收藏

带有前瞻注意力的自回归建模

Autoregressive Modeling with Lookahead Attention

Johns Hopkins University(约翰斯·霍普金斯大学);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Li Du, Hongyuan Mei, Jason Eisner

AI总结:

提出一种基于Transformer的前瞻注意力自回归架构,通过外推并关注假设的未来延续来估计下一token分布,在多项任务上优于同等规模普通模型。

摘要:

为了预测下一个 token,自回归模型通常只考察过去。它们是否也能通过考察假设的未来而受益?我们考虑了一种新颖的基于 Transformer 的自回归架构,该架构根据某种提议分布,对过去的多个延续进行外推,并通过关注这些扩展字符串来估计下一个 token 的分布。该架构从棋类游戏玩家等经典 AI 系统中汲取了灵感:在做出局部决策时,策略可能会从探索可能的未来轨迹并对其进行分析中受益。在包括形态屈折和布尔可满足性在内的多个任务中,我们的前瞻模型能够优于同等规模的普通 Transformer 模型。然而,在某些任务上,它似乎受益于额外的计算,而实际上并未使用前瞻信息。我们讨论了可能的变体架构以及未来的加速方法。

英文摘要:

To predict the next token, autoregressive models ordinarily examine the past. Could they also benefit from also examining hypothetical futures? We consider a novel Transformer-based autoregressive architecture that estimates the next-token distribution by extrapolating multiple continuations of the past, according to some proposal distribution, and attending to these extended strings. This architecture draws insights from classical AI systems such as board game players: when making a local decision, a policy may benefit from exploring possible future trajectories and analyzing them. On multiple tasks including morphological inflection and Boolean satisfiability, our lookahead model is able to outperform the ordinary Transformer model of comparable size. However, on some tasks, it appears to be benefiting from the extra computation without actually using the lookahead information. We discuss possible variant architectures as well as future speedups.

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

↑