arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.08858cs.AIcs.CLcs.LG
收藏

基于Transformers的接地时空语言

Grounding Spatio-Temporal Language with Transformers

Inria(法国国家信息与自动化研究所);Université de Bordeaux(波尔多大学);Microsoft Research(微软研究院);ENSTA ParisTech(巴黎高等先进技术学院)

Tristan Karch, Laetitia Teodorescu, Katja Hofmann, Clément Moulin-Frier, Pierre-Yves Oudeyer

摘要:

语言是与外部世界的接口。为了让具身的代理人使用它,语言必须建立在其他感觉运动模式的基础上。虽然有大量文献研究机器如何学习基础语言,但如何学习时空语言概念的主题在很大程度上仍然是未知的。为了在这个方向上取得进展,我们在这里介绍了一种新的时空语言接地任务,其目标是学习的意义时空描述的行为痕迹的体现代理。这是通过训练一个真值函数来实现的,该函数预测描述是否与给定的观察历史相匹配。这些描述涉及过去式和现在式中的时间扩展谓词以及对场景中对象的时空引用。为了研究架构偏见在这项任务中的作用,我们训练了几个模型,包括多模态Transformer架构;后者在空间和时间上实现了单词和对象之间的不同注意力计算。我们在两类泛化上测试模型:1)泛化到随机保持的句子; 2)泛化到语法原语。我们观察到,在我们的Transformers的注意力计算中保持对象身份有助于在总体上实现良好的泛化性能,并且在单个令牌中总结对象轨迹对性能的影响很小。然后,我们将讨论如何打开新的视角,语言引导的自主体现代理。我们还在开源许可证下发布我们的代码以及预训练的模型和数据集,以鼓励更广泛的社区在未来建立和扩展我们的工作。

英文摘要:

Language is an interface to the outside world. In order for embodied agents to use it, language must be grounded in other, sensorimotor modalities. While there is an extended literature studying how machines can learn grounded language, the topic of how to learn spatio-temporal linguistic concepts is still largely uncharted. To make progress in this direction, we here introduce a novel spatio-temporal language grounding task where the goal is to learn the meaning of spatio-temporal descriptions of behavioral traces of an embodied agent. This is achieved by training a truth function that predicts if a description matches a given history of observations. The descriptions involve time-extended predicates in past and present tense as well as spatio-temporal references to objects in the scene. To study the role of architectural biases in this task, we train several models including multimodal Transformer architectures; the latter implement different attention computations between words and objects across space and time. We test models on two classes of generalization: 1) generalization to randomly held-out sentences; 2) generalization to grammar primitives. We observe that maintaining object identity in the attention computation of our Transformers is instrumental to achieving good performance on generalization overall, and that summarizing object traces in a single token has little influence on performance. We then discuss how this opens new perspectives for language-guided autonomous embodied agents. We also release our code under open-source license as well as pretrained models and datasets to encourage the wider community to build upon and extend our work in the future.

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

↑