Saved in:
Bibliographic Details
Main Authors: Coelho Jr, Claudionor, Li, Yanen, Tee, Philip
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.23408
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918076037988352
author Coelho Jr, Claudionor
Li, Yanen
Tee, Philip
author_facet Coelho Jr, Claudionor
Li, Yanen
Tee, Philip
contents Large Language Models (LLMs) have rapidly transformed the landscape of artificial intelligence, enabling natural language interfaces and dynamic orchestration of software components. However, their reliance on probabilistic inference limits their effectiveness in domains requiring strict logical reasoning, discrete decision-making, and robust interpretability. This paper investigates these limitations and proposes a neurosymbolic approach that augments LLMs with logic-based reasoning modules, particularly leveraging Prolog predicates and composable toolsets. By integrating first-order logic and explicit rule systems, our framework enables LLMs to decompose complex queries into verifiable sub-tasks, orchestrate reliable solutions, and mitigate common failure modes such as hallucination and incorrect step decomposition. We demonstrate the practical benefits of this hybrid architecture through experiments on the DABStep benchmark, showing improved precision, coverage, and system documentation in multi-step reasoning tasks. Our results indicate that combining LLMs with modular logic reasoning restores engineering rigor, enhances system reliability, and offers a scalable path toward trustworthy, interpretable AI agents across complex domains.
format Preprint
id arxiv_https___arxiv_org_abs_2506_23408
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Do LLMs Dream of Discrete Algorithms?
Coelho Jr, Claudionor
Li, Yanen
Tee, Philip
Machine Learning
Logic in Computer Science
Large Language Models (LLMs) have rapidly transformed the landscape of artificial intelligence, enabling natural language interfaces and dynamic orchestration of software components. However, their reliance on probabilistic inference limits their effectiveness in domains requiring strict logical reasoning, discrete decision-making, and robust interpretability. This paper investigates these limitations and proposes a neurosymbolic approach that augments LLMs with logic-based reasoning modules, particularly leveraging Prolog predicates and composable toolsets. By integrating first-order logic and explicit rule systems, our framework enables LLMs to decompose complex queries into verifiable sub-tasks, orchestrate reliable solutions, and mitigate common failure modes such as hallucination and incorrect step decomposition. We demonstrate the practical benefits of this hybrid architecture through experiments on the DABStep benchmark, showing improved precision, coverage, and system documentation in multi-step reasoning tasks. Our results indicate that combining LLMs with modular logic reasoning restores engineering rigor, enhances system reliability, and offers a scalable path toward trustworthy, interpretable AI agents across complex domains.
title Do LLMs Dream of Discrete Algorithms?
topic Machine Learning
Logic in Computer Science
url https://arxiv.org/abs/2506.23408