ASP-Bench: From Natural Language to Logic Programs
Stefan Szeider
TL;DR
ASP-Bench proposes a semantically verified, NL-to-ASP benchmark suite with 128 problem instances to systematically cover ASP features and reasoning patterns. It demonstrates an agentic, feedback-driven approach based on the ReAct framework that achieves full saturation on easy and hard problems, highlighting the value of solver feedback for iterative ASP modeling. The work also contrasts MCP-based integration strategies, analyzes problem hardness beyond feature counts, and discusses practical implications for neurosymbolic engineering, benchmark design, and future NL-to-ASP research. Overall, the benchmark provides a rigorous, extensible platform for evaluating and guiding NL-to-ASP systems and contributes insights into modeling strategies, efficiency trade-offs, and solver-driven debugging.
Abstract
Automating the translation of natural-language specifications into logic programs is a challenging task that affects neurosymbolic engineering. We present ASP-Bench, a benchmark comprising 128 natural language problem instances, 64 base problems with easy and hard variants. It evaluates systems that translate natural-language problems into Answer Set Programs (ASPs), a prominent form of logic programming. It provides systematic coverage of ASP features, including choice rules, aggregates, and optimization. Each problem includes reference validators that check whether solutions satisfy the problem specification. We characterize problems along seven largely independent reasoning aspects (optimization, temporal reasoning, default logic, resource allocation, recursion, spatial reasoning, and quantitative complexity), providing a multidimensional view of modeling difficulty. We test the benchmark using an agentic approach based on the ReAct (Reason and Act) framework, which achieves full saturation, demonstrating that feedback-driven iterative refinement with solver feedback provides a reliable and robust approach for modeling natural language in ASP. Our analysis across multiple agent runs enables us to gain insights into what determines a problem's modeling hardness.
