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

学习自然语言到LTL的可执行语义分析器

Learning a natural-language to LTL executable semantic parser for grounded robotics

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);CBMM(大脑、思维与机器研究中心)

Christopher Wang, Candace Ross, Yen-Ling Kuo, Boris Katz, Andrei Barbu

摘要:

儿童通过观察语言在语境中的使用情况并尝试自己使用语言,显然很容易习得母语。他们这样做没有费力的注释,负面的例子,甚至直接更正。我们通过训练一个接地的语义解析器,向可以做同样事情的机器人迈出了一步,该解析器可以发现可用于执行自然语言命令的潜在语言表示。特别是,我们专注于困难的领域的命令与时间方面,其语义,我们捕捉线性时序逻辑,LTL。我们的解析器是用成对的句子和执行以及执行器来训练的。在训练时,解析器假设输入的意义表示为LTL中的公式。三种相互竞争的压力使语法分析器能够从语言中发现意义。首先,任何假设的句子含义必须足够宽松,以反映所有注释的执行轨迹。其次,执行者--一个预先训练好的端到端LTL规划者--必须发现观察到的轨迹很可能是意义的执行。最后,生成器重建原始输入,鼓励模型找到保存有关命令的知识的表示。这些共同确保了含义既不太笼统也不太具体。我们的模型泛化良好,能够解析和执行机器生成和人类生成的命令,具有几乎相同的准确性,尽管人类生成的句子在开放词典中更加多样和复杂。这里提出的方法不是特定的LTL:它可以应用于任何领域,句子的含义可以假设和执行者可以验证这些含义,从而打开了大门,许多应用程序的机器人代理。

英文摘要:

Children acquire their native language with apparent ease by observing how language is used in context and attempting to use it themselves. They do so without laborious annotations, negative examples, or even direct corrections. We take a step toward robots that can do the same by training a grounded semantic parser, which discovers latent linguistic representations that can be used for the execution of natural-language commands. In particular, we focus on the difficult domain of commands with a temporal aspect, whose semantics we capture with Linear Temporal Logic, LTL. Our parser is trained with pairs of sentences and executions as well as an executor. At training time, the parser hypothesizes a meaning representation for the input as a formula in LTL. Three competing pressures allow the parser to discover meaning from language. First, any hypothesized meaning for a sentence must be permissive enough to reflect all the annotated execution trajectories. Second, the executor -- a pretrained end-to-end LTL planner -- must find that the observe trajectories are likely executions of the meaning. Finally, a generator, which reconstructs the original input, encourages the model to find representations that conserve knowledge about the command. Together these ensure that the meaning is neither too general nor too specific. Our model generalizes well, being able to parse and execute both machine-generated and human-generated commands, with near-equal accuracy, despite the fact that the human-generated sentences are much more varied and complex with an open lexicon. The approach presented here is not specific to LTL: it can be applied to any domain where sentence meanings can be hypothesized and an executor can verify these meanings, thus opening the door to many applications for robotic agents.

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

↑