Binding Language Models in Symbolic Languages
Zhoujun Cheng, Tianbao Xie, Peng Shi, Chengzu Li, Rahul Nadkarni,, Yushi Hu, Caiming Xiong, Dragomir Radev, Mari Ostendorf, Luke Zettlemoyer,, Noah A. Smith, Tao Yu

TL;DR
Binder is a neural-symbolic framework that uses GPT-3 Codex to generate and execute programs for NLP tasks, achieving state-of-the-art results with minimal supervision and no training.
Contribution
It introduces a training-free, neural-symbolic approach that extends language models with programmable APIs, enabling diverse NLP tasks with few exemplars.
Findings
Achieves state-of-the-art on WikiTableQuestions and TabFact datasets.
Uses only a few in-context exemplars without training.
Provides explicit, debuggable output programs.
Abstract
Though end-to-end neural approaches have recently been dominating NLP tasks in both performance and ease-of-use, they lack interpretability and robustness. We propose Binder, a training-free neural-symbolic framework that maps the task input to a program, which (1) allows binding a unified API of language model (LM) functionalities to a programming language (e.g., SQL, Python) to extend its grammar coverage and thus tackle more diverse questions, (2) adopts an LM as both the program parser and the underlying model called by the API during execution, and (3) requires only a few in-context exemplar annotations. Specifically, we employ GPT-3 Codex as the LM. In the parsing stage, with only a few in-context exemplars, Codex is able to identify the part of the task input that cannot be answerable by the original programming language, correctly generate API calls to prompt Codex to solve the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Linear Layer · Dropout · Layer Normalization · {Dispute@FaQ-s}How to file a dispute with Expedia? · Cosine Annealing · Residual Connection · Attention Dropout · Linear Warmup With Cosine Annealing
