English

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

Computation and Language 2024-01-11 v2

Abstract

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.

Keywords

Cite

@article{arxiv.2206.10668,
  title  = {BenchCLAMP: A Benchmark for Evaluating Language Models on Syntactic and Semantic Parsing},
  author = {Subhro Roy and Sam Thomson and Tongfei Chen and Richard Shin and Adam Pauls and Jason Eisner and Benjamin Van Durme},
  journal= {arXiv preprint arXiv:2206.10668},
  year   = {2024}
}

Comments

Neural Information Processing Systems (NeurIPS 2023) Track on Datasets and Benchmarks

R2 v1 2026-06-24T11:59:08.208Z