Aha.
正在载入中英对照阅读…

arXiv:2002.09127 · 中英对照阅读

学习动态信念图,以实现文本游戏中的泛化

Learning Dynamic Belief Graphs to Generalize on Text-Based Games

Ashutosh Adhikari Xingdi Yuan Marc-Alexandre Côté、Mikuláš Zelinka Marc-Antoine Rondeau、Romain Laroche Pascal Poupart Jian Tang、Adam Trischler William L. Hamilton

中文速览

文字冒险游戏里,玩家只能靠文字观察环境,却要记住线索、规划多步行动,还得应对地图和任务变化,单靠读当前描述很容易走错。研究者提出 GATA 智能体,让模型从文字中逐步学出一张记录物品、地点及其关系的“信念图”,再把这张图和当前描述结合起来选行动;训练时还用重建观察内容和辨别真假观察两种自监督方法来帮助它学会记住游戏状态。经过 500 多个不同游戏的测试,GATA 平均比只用文字的基线高 24.2%,在没见过的游戏配置中也能更好地迁移。这个结果说明,模型不必依赖人工编写的规则,也能学出有用的结构化记忆,从而更可靠地在信息不完整的环境里规划和行动。

摘要

玩文本游戏需要具备处理自然语言和进行序贯决策的技能。在文本游戏中实现人类水平的表现仍是一项尚未解决的挑战,而以往的研究主要依赖人工构建的结构化表示和启发式方法。在本研究中,我们探讨智能体如何利用从原始文本端到端学习得到的图结构表示,在文本游戏中进行规划并实现泛化。我们提出了一种新型图辅助 Transformer 智能体(GATA),该智能体在规划过程中推断并更新潜在信念图,通过捕捉底层游戏动态实现有效的动作选择。GATA 采用强化学习(RL)与自监督学习相结合的方式进行训练。本研究表明,与仅使用文本的同类方法相比,学习得到的基于图的表示有助于智能体收敛到更优策略,并促进其在不同游戏配置间实现有效泛化。在 TextWorld 套件中的 500 多款独特游戏上进行的实验表明,我们表现最佳的智能体平均而言比基于文本的基线方法高出 24.2%。

Playing text-based games requires skills in processing natural language and sequential decision making. Achieving human-level performance on text-based games remains an open challenge, and prior research has largely relied on hand-crafted structured representations and heuristics. In this work, we investigate how an agent can plan and generalize in text-based games using graph-structured representations learned end-to-end from raw text. We propose a novel graph-aided transformer agent (GATA) that infers and updates latent belief graphs during planning to enable effective action selection by capturing the underlying game dynamics. GATA is trained using a combination of reinforcement and self-supervised learning. Our work demonstrates that the learned graph-based representations help agents converge to better policies than their text-only counterparts and facilitate effective generalization across game configurations. Experiments on 500+ unique games from the TextWorld suite show that our best agent outperforms text-based baselines by an average of 24.2%.

术语表

Text-based games
文本游戏
natural language processing (NLP)
自然语言处理(NLP)
sequential decision making
序贯决策
graph-aided transformer agent (GATA)
图辅助 Transformer 智能体(GATA)
graph-structured representations
图结构表示
latent belief graph
潜在信念图
belief state
信念状态
action selection
动作选择
game dynamics
游戏动态
reinforcement learning (RL)
强化学习(RL)
self-supervised learning
自监督学习
text reconstruction
文本重构
mutual information maximization
互信息最大化
knowledge graph (KG)
知识图谱(KG)
heuristics
启发式方法
policy
策略
generalization
泛化
inductive bias
归纳偏置
partially observable environment
部分可观测环境
partially observable Markov decision process (POMDP)
部分可观测马尔可夫决策过程(POMDP)
sparse rewards
稀疏奖励
combinatorial action space
组合动作空间
TextWorld
TextWorld
ground-truth graph representation
真实图表示
graph updater
图更新器
action selector
动作选择器