Cited by 27Logic, Reasoning, and KnowledgeNatural Language Processing TechniquesTopic Modeling

Reliable Natural Language Understanding with Large Language Models and Answer Set Programming

Open access
Rajasekharan, Abhiramon, Zeng, Yankai, Padalkar, Parth, Gupta, Gopal·2023·Electronic Proceedings in Theoretical Computer Science

Abstract

Humans understand language by extracting information (meaning) from sentences, combining it with existing commonsense knowledge, and then performing reasoning to draw conclusions.While large language models (LLMs) such as GPT-3 and ChatGPT are able to leverage patterns in the text to solve a variety of NLP tasks, they fall short in problems that require reasoning.They also cannot reliably explain the answers generated for a given question.In order to emulate humans better, we propose STAR, a framework that combines LLMs with Answer Set Programming (ASP).We show how LLMs can be used to effectively extract knowledge-represented as predicates-from language.Goal-directed ASP is then employed to reliably reason over this knowledge.We apply the STAR framework to three different NLU tasks requiring reasoning: qualitative reasoning, mathematical reasoning, and goal-directed conversation.Our experiments reveal that STAR is able to bridge the gap of reasoning in NLU tasks, leading to significant performance improvements, especially for smaller LLMs, i.e., LLMs with a smaller number of parameters.NLU applications developed using the STAR framework are also explainable: along with the predicates generated, a justification in the form of a proof tree can be produced for a given output.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.4204/eptcs.385.27

Cites

30 of 31 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Using traditional machine learning algorithms to supplement a logic program increases explainability while utilizing the benefits of deep learning and other machine learning models.

    “This approach increases explainability while utilizing the benefits of deep learning and other machine learning models, such as in the paper by Rajasekharan et al. that uses an s(CASP) knowledge base to constrain an LLM into providing more reliable results [14].”

    From Autonomous Task Completion Based on Goal-directed Answer Set Programming (2025) · cites this paper as [14]

    The Related Work section says the approach combines LLM predicate extraction with s(CASP) reasoning, and that the explicit reasoning is more reliable and explainable. The Introduction also says s(CASP) can provide proof-tree justifications. The paper does not describe the knowledge base as constraining the LLM itself; it assigns reasoning to s(CASP) after the LLM extracts predicates. Page numbers are unavailable in our copy. (LLM, conf=0.84)

    Experimental — accuracy not yet measured
  • An s(CASP) knowledge base can constrain an LLM into providing more reliable results.

    “This approach increases explainability while utilizing the benefits of deep learning and other machine learning models, such as in the paper by Rajasekharan et al. that uses an s(CASP) knowledge base to constrain an LLM into providing more reliable results [14].”

    From Autonomous Task Completion Based on Goal-directed Answer Set Programming (2025) · cites this paper as [14]

    The Introduction describes combining LLM-generated predicates with ASP-coded commonsense knowledge to produce reliable responses. But the Related Work section explicitly separates the components: the LLM extracts predicates, while s(CASP) performs the reasoning. The paper therefore supports improved reliability through the combined system, not the claim that the knowledge base constrains the LLM itself. (LLM, conf=0.86)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 1

  1. Tom Brown, Benjamin Mann & Others (2020): Language Models are Few-Shot Learners. In: NeurIPS, 33, Curran Associates, Inc., pp. 1877-1901, doi:10.5555/3495724.3495883. · DOI

Cited by

Sorted by citations

Authors
Rajasekharan, A., Zeng, Y., Padalkar, P., & Gupta, G.
Affiliations
The University of Texas at Dallas (US)
Venue
Electronic Proceedings in Theoretical Computer Science
Published
2023-09-12
Volume
385
Pages
274-287
ISSN
2075-2180 (ISSN-L)
OpenAlex
W4386211255
Cited by
26
References
30
Citations by year
2026: 6 · 2025: 12 · 2024: 5 · 2023: 3
FWCI
2.30
Type
journal article
Language
en
Open access
Licence
cc-by-nc-nd
Locations
  • Electronic Proceedings in Theoretical Computer Science (publishedVersion, cc-by-nc-nd)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Science Foundation (1910131, 1916206)
  • University of Texas at Dallas
  • Defense Advanced Research Projects Agency
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Logic, Reasoning, and Knowledge
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
natural language understanding, large language models, answer set programming, goal-directed reasoning, knowledge extraction from text, commonsense reasoning, qualitative reasoning, mathematical reasoning, explainable reasoning, proof trees, STAR framework

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review