BLAST: Benchmarking LLMs with ASP-based Structured Testing

📅 2026-04-24
📈 Citations: 0
Influential: 0
📄 PDF

career value

178K/year
🤖 AI Summary
This work addresses the absence of dedicated evaluation benchmarks for assessing the accuracy of Answer Set Programming (ASP) code generated by large language models (LLMs). To bridge this gap, the authors propose BLAST—the first structured evaluation framework specifically designed for ASP code generation by LLMs—encompassing ten categories of graph-theoretic problems and eight prominent LLMs. BLAST introduces a semantics-aware test suite grounded in ASP formalism and two novel semantic-level evaluation metrics, thereby filling a critical void in evaluating LLM capabilities within declarative programming paradigms. Systematic experiments not only characterize the current performance of state-of-the-art LLMs on ASP generation tasks but also uncover their fundamental limitations in handling the structural and logical nuances inherent to ASP.

Technology Category

Application Category

📝 Abstract
Large Language Models (LLMs) have demonstrated remarkable performance across a broad spectrum of tasks, including natural language understanding, dialogue systems, and code generation. Despite evident progress, less attention has been paid to their effectiveness in handling declarative paradigms such as Answer Set Programming (ASP), to date. In this paper we introduce BLAST: The first dedicated benchmarking methodology and associated dataset for evaluating the accuracy of LLMs in generating ASP code. BLAST provides a structured evaluation framework featuring two novel semantic metrics tailored to ASP code generation. The paper presents the results of an empirical evaluation involving ten well-established graph-related problems from the ASP literature and a diverse set of eight state-of-the-art LLMs.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
Answer Set Programming
Code Generation
Benchmarking
Declarative Paradigms
Innovation

Methods, ideas, or system contributions that make the work stand out.

Answer Set Programming
Large Language Models
structured testing
semantic metrics
benchmarking
🔎 Similar Papers
No similar papers found.