CLJun 21, 2022

BenchCLAMP: A Benchmark for Evaluating Language Models on Syntactic and Semantic Parsing

Microsoft
arXiv:2206.10668v220 citationsh-index: 60
Originality Synthesis-oriented
AI Analysis

This provides a standardized tool for researchers in natural language processing to compare language models under different data regimes, though it is incremental as it builds on existing constrained decoding approaches.

The authors introduced BenchCLAMP, a benchmark for evaluating language models on syntactic and semantic parsing by constraining outputs to valid representations using context-free grammars, and found that encoder-decoder pretrained models can match or exceed state-of-the-art methods when outputs are constrained.

Recent work has shown that generation from a prompted or fine-tuned language model can perform well at semantic parsing when the output is constrained to be a valid semantic representation. We introduce BenchCLAMP, a Benchmark to evaluate Constrained LAnguage Model Parsing, that includes context-free grammars for seven semantic parsing datasets and two syntactic parsing datasets with varied output representations, as well as a constrained decoding interface to generate only valid outputs covered by these grammars. We provide low, medium, and high resource splits for each dataset, allowing accurate comparison of various language models under different data regimes. Our benchmark supports evaluation of language models using prompt-based learning as well as fine-tuning. We benchmark eight language models, including two GPT-3 variants available only through an API. Our experiments show that encoder-decoder pretrained language models can achieve similar performance or surpass state-of-the-art methods for syntactic and semantic parsing when the model output is constrained to be valid.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes