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

12/19/2022
by   Yu Gu, et al.
0

A key missing ability 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 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 candidate 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 achieving a new state of the art on standard KBQA datasets, and larger LMs further improve the performance by a large margin. Pangu also enables, for the first time, effective few-shot in-context learning for KBQA with large LMs such as Codex.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/30/2017

Embodied Question Answering

We present a new AI task -- Embodied Question Answering (EmbodiedQA) -- ...
research
03/01/2023

Almanac: Knowledge-Grounded Language Models for Clinical Medicine

Large-language models have recently demonstrated impressive zero-shot ca...
research
05/28/2022

Few-shot Subgoal Planning with Language Models

Pre-trained large language models have shown successful progress in many...
research
05/23/2023

Complementing GPT-3 with Few-Shot Sequence-to-Sequence Semantic Parsing over Wikidata

As the largest knowledge base, Wikidata is a massive source of knowledge...
research
08/24/2023

SayCanPay: Heuristic Planning with Large Language Models using Learnable Domain Knowledge

Large Language Models (LLMs) have demonstrated impressive planning abili...
research
02/06/2023

Grounding Large Language Models in Interactive Environments with Online Reinforcement Learning

Recent works successfully leveraged Large Language Models' (LLM) abiliti...
research
09/15/2023

Data Distribution Bottlenecks in Grounding Language Models to Knowledge Bases

Language models (LMs) have already demonstrated remarkable abilities in ...

Please sign up or login with your details

Forgot password? Click here to reset