Saved in:
Bibliographic Details
Main Authors: Ren, Lin, Xiao, Guohui, Qi, Guilin, Geng, Yishuai, Xue, Haohan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.19749
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908468479262720
author Ren, Lin
Xiao, Guohui
Qi, Guilin
Geng, Yishuai
Xue, Haohan
author_facet Ren, Lin
Xiao, Guohui
Qi, Guilin
Geng, Yishuai
Xue, Haohan
contents Answer Set Programming (ASP) is a powerful paradigm for non-monotonic reasoning. Recently, large language models (LLMs) have demonstrated promising capabilities in logical reasoning. Despite this potential, current evaluations of LLM capabilities in ASP are often limited. Existing works normally employ overly simplified ASP programs, do not support negation, disjunction, or multiple answer sets. Furthermore, there is a lack of benchmarks that introduce tasks specifically designed for ASP solving. To bridge this gap, we introduce ASPBench, a comprehensive ASP benchmark, including three ASP specific tasks: ASP entailment, answer set verification, and answer set computation. Our extensive evaluations on ASPBench reveal that while 14 state-of-the-art LLMs, including \emph{deepseek-r1}, \emph{o4-mini}, and \emph{gemini-2.5-flash-thinking}, perform relatively well on the first two simpler tasks, they struggle with answer set computation, which is the core of ASP solving. These findings offer insights into the current limitations of LLMs in ASP solving. This highlights the need for new approaches that integrate symbolic reasoning capabilities more effectively. The code and dataset are available at https://github.com/HomuraT/ASPBench.
format Preprint
id arxiv_https___arxiv_org_abs_2507_19749
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
Ren, Lin
Xiao, Guohui
Qi, Guilin
Geng, Yishuai
Xue, Haohan
Artificial Intelligence
Answer Set Programming (ASP) is a powerful paradigm for non-monotonic reasoning. Recently, large language models (LLMs) have demonstrated promising capabilities in logical reasoning. Despite this potential, current evaluations of LLM capabilities in ASP are often limited. Existing works normally employ overly simplified ASP programs, do not support negation, disjunction, or multiple answer sets. Furthermore, there is a lack of benchmarks that introduce tasks specifically designed for ASP solving. To bridge this gap, we introduce ASPBench, a comprehensive ASP benchmark, including three ASP specific tasks: ASP entailment, answer set verification, and answer set computation. Our extensive evaluations on ASPBench reveal that while 14 state-of-the-art LLMs, including \emph{deepseek-r1}, \emph{o4-mini}, and \emph{gemini-2.5-flash-thinking}, perform relatively well on the first two simpler tasks, they struggle with answer set computation, which is the core of ASP solving. These findings offer insights into the current limitations of LLMs in ASP solving. This highlights the need for new approaches that integrate symbolic reasoning capabilities more effectively. The code and dataset are available at https://github.com/HomuraT/ASPBench.
title Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
topic Artificial Intelligence
url https://arxiv.org/abs/2507.19749