arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2212.09736cs.CLcs.AI
收藏

不要生成,要判别:一项将语言模型锚定到真实世界环境的方案

Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments

The Ohio State University(俄亥俄州立大学)

Yu Gu, Xiang Deng, Yu Su

AI总结:

针对当前语言模型缺乏真实环境锚定能力的问题,提出利用LM判别能力的Pangu框架,由符号智能体构建候选规划、LM评估引导搜索,在KBQA任务上刷新基准并首次实现大模型少样本有效学习。

摘要:

当前语言模型(LM)的一项关键缺失能力是对真实世界环境的锚定(grounding)。大多数现有锚定语言理解研究使用语言模型直接生成可在环境中执行以达成预期效果的规划,这将确保语法正确性、忠实性和可控性的全部重担都压在了语言模型身上。我们提出Pangu,一个利用语言模型的判别能力而非生成能力的通用锚定语言理解框架。Pangu由协同工作的符号智能体与神经语言模型组成:智能体探索环境,逐步构建有效规划,语言模型评估候选规划的合理性以引导搜索过程。针对具有大规模环境特征的挑战性问题知识库问答(KBQA)的案例研究,证明了Pangu卓越的有效性与灵活性:一个BERT-base规模的语言模型就足以在标准KBQA数据集上创下新纪录,更大的语言模型还能带来显著的性能提升。Pangu还首次实现了使用Codex等大型语言模型进行KBQA的有效少样本上下文学习。

英文摘要:

A key missing capacity of current language models (LMs) is grounding to real-world environments. Most existing work for grounded language understanding uses LMs to directly generate plans that can be executed in the environment to achieve the desired effects. It thereby casts the burden of ensuring grammaticality, faithfulness, and controllability all on the LMs. We propose Pangu, a generic framework for grounded language understanding that capitalizes on the discriminative ability of LMs instead of their generative ability. Pangu consists of a symbolic agent and a neural LM working in a concerted fashion: The agent explores the environment to incrementally construct valid plans, and the LM evaluates the plausibility of the candidate plans to guide the search process. A case study on the challenging problem of knowledge base question answering (KBQA), which features a massive environment, demonstrates the remarkable effectiveness and flexibility of Pangu: A BERT-base LM is sufficient for setting a new record on standard KBQA datasets, and larger LMs further bring substantial gains. Pangu also enables, for the first time, effective few-shot in-context learning for KBQA with large LMs such as Codex.

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

↑