SLOG: A Structural Generalization Benchmark for Semantic Parsing

Bingzhi Li, Lucia Donatelli, Alexander Koller, Tal Linzen, Yuekun Yao +1 more
10/23/2023
cs.CL

No official code found. Best implementation: bingzhilee/SLOG (7 stars, MIT, last commit 2025-05-14).

Abstract

The goal of compositional generalization benchmarks is to evaluate how well models generalize to new complex linguistic expressions. Existing benchmarks often focus on lexical generalization, the interpretation of novel lexical items in syntactic structures familiar from training; structural generalization tasks, where a model needs to interpret syntactic structures that are themselves unfamiliar from training, are often underrepresented, resulting in overly optimistic perceptions of how well models can generalize. We introduce SLOG, a semantic parsing dataset that extends COGS (Kim and Linzen, 2020) with 17 structural generalization cases. In our experiments, the generalization accuracy of Transformer models, including pretrained ones, only reaches 40.6%, while a structure-aware parser only achieves 70.8%. These results are far from the near-perfect accuracy existing models achieve on COGS, demonstrating the role of SLOG in foregrounding the large discrepancy between models' lexical and structural generalization capacities.

View on arXivView PDF

Code Implementations(1)

bingzhilee/SLOGCommunity100%
MIT
73Shell, PythonMay 24, 20231 years agoMIT

Similar Papers

Cite this paper

@article{li2023slog,
  title  = {SLOG: A Structural Generalization Benchmark for Semantic Parsing},
  author = {Bingzhi Li and Lucia Donatelli and Alexander Koller and Tal Linzen and Yuekun Yao and Najoung Kim},
  year   = {2023},
  eprint = {2310.15040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.15040v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.15040.svg)](https://codeofpaper.com/paper/2310.15040)

Discussion