A Theorem-Proving-Based Evaluation of Neural Semantic Parsing

Hayate Funakura, Hyunsoo Kim, Koji Mineshima
10/13/2025
cs.CL

No official code found. Best implementation: hfunakura/text2sem (0 stars, last commit 2025-11-21).

Abstract

Graph-matching metrics such as Smatch are the de facto standard for evaluating neural semantic parsers, yet they capture surface overlap rather than logical equivalence. We reassess evaluation by pairing graph-matching with automated theorem proving. We compare two approaches to building parsers: supervised fine-tuning (T5-Small/Base) and few-shot in-context learning (GPT-4o/4.1/5), under normalized and unnormalized targets. We evaluate outputs using graph-matching, bidirectional entailment between source and target formulas with a first-order logic theorem prover, and well-formedness. Across settings, we find that models performing well on graph-matching often fail to produce logically equivalent formulas. Normalization reduces incidental target variability, improves well-formedness, and strengthens logical adequacy. Error analysis shows performance degrades with increasing formula complexity and with coordination, prepositional phrases, and passive voice; the dominant failures involve variable binding and indexing, and predicate naming. These findings highlight limits of graph-based metrics for reasoning-oriented applications and motivate logic-sensitive evaluation and training objectives together with simplified, normalized target representations. All code and data for our experiments are publicly available.

View on arXivView PDF

Code Implementations(1)

hfunakura/text2semCommunity58%

The codebase for "A Theorem-Proving-Based Evaluation of Neural Semantic Parsing," by Hayate Funakura, Hyunsoo Kim, and Koji Mineshima (BlackboxNLP 2025)

00Shell, PythonOct 2, 202511 months agoNOASSERTION

Cite this paper

@article{funakura2025theoremprovingbased,
  title  = {A Theorem-Proving-Based Evaluation of Neural Semantic Parsing},
  author = {Hayate Funakura and Hyunsoo Kim and Koji Mineshima},
  year   = {2025},
  eprint = {2510.11225},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.11225v1}
}

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/2510.11225.svg)](https://codeofpaper.com/paper/2510.11225)

Discussion