arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12786cs.CL
收藏

Transformers何时可以接地和合成:来自合成泛化基准的见解

When Can Transformers Ground and Compose: Insights from Compositional Generalization Benchmarks

I2R, A*STAR Singapore(新加坡科技研究局信息通信研究院);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);Microsoft Research India(微软印度研究院)

Ankur Sikarwar, Arkil Patel, Navin Goyal

摘要:

人类可以进行成分推理,同时将语言话语与现实世界联系起来。最近的基准测试,如ReaSCAN,使用基于网格世界的导航任务来评估神经模型是否表现出类似的能力。在这项工作中,我们提出了一个简单的基于transformer的模型,优于ReaSCAN和gSCAN的修改版本的专门架构。在分析任务时,我们发现,在网格世界中识别目标位置是模型的主要挑战。此外,我们还证明了测试深度泛化的ReaSCAN中的一个特定分裂是不公平的。在这种分裂的修正版本,我们表明,Transformers可以推广到更深的输入结构。最后,我们设计了一个更简单的接地合成泛化任务,RefEx,调查Transformers的原因组成。我们表明,一个单一的自我注意力层与一个单一的头概括为新的组合的对象属性。此外,我们推导出一个精确的数学构造的Transformer的计算从学习网络。总的来说,我们提供了有价值的见解接地合成泛化任务和Transformers的行为,这将是有用的研究人员在这一领域的工作。

英文摘要:

Humans can reason compositionally whilst grounding language utterances to the real world. Recent benchmarks like ReaSCAN use navigation tasks grounded in a grid world to assess whether neural models exhibit similar capabilities. In this work, we present a simple transformer-based model that outperforms specialized architectures on ReaSCAN and a modified version of gSCAN. On analyzing the task, we find that identifying the target location in the grid world is the main challenge for the models. Furthermore, we show that a particular split in ReaSCAN, which tests depth generalization, is unfair. On an amended version of this split, we show that transformers can generalize to deeper input structures. Finally, we design a simpler grounded compositional generalization task, RefEx, to investigate how transformers reason compositionally. We show that a single self-attention layer with a single head generalizes to novel combinations of object attributes. Moreover, we derive a precise mathematical construction of the transformer's computations from the learned network. Overall, we provide valuable insights about the grounded compositional generalization task and the behaviour of transformers on it, which would be useful for researchers working in this area.

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

↑