Skip to content
Preprint

NeSy-RAG: Neuro-Symbolic RAG for Explainable Question Answering

Aug 2026 · 1 citation · 14 references
Computer Science

TL;DR

This work proposes NeSy-RAG, a modular neuro-symbolic RAG framework that synthesizes attributable Prolog modules from retrieved text chunks that introduces a symbolic knowledge-gap detection mechanism that identifies missing user facts whose truth values affect the query outcome and automatically triggers follow-up interactions.

Abstract

Retrieval-augmented generation (RAG) improves question answering by grounding large language models (LLMs) in external knowledge such as text corpora. However, its reasoning process remains largely opaque: intermediate reasoning steps are difficult to verify and cannot be reliably attributed to specific evidence. Moreover, missing user-specific context is rarely detected systematically, often leading to incomplete or incorrect output. We propose NeSy-RAG, a modular neuro-symbolic RAG framework that synthesizes attributable Prolog modules from retrieved text chunks. For each chunk, the system generates semantically meaningful predicates that encode Boolean claims, which may depend on user facts. Using joint natural language-code embeddings, predicates are retrieved and composed into Prolog queries. To address incomplete user context, we introduce a symbolic knowledge-gap detection mechanism that identifies missing user facts whose truth values affect the query outcome and automatically triggers follow-up interactions. Executing the resulting Prolog queries yields deterministic answers together with transparent execution traces that link each reasoning step to its originating source. On the ShARC benchmark, without domain-specific training, NeSy-RAG achieves 61.1% accuracy, outperforming a same-model RAG baseline that achieves 42.8% accuracy.

View source

Similar papers

Preprint Aug 2026

KGCaRe: Explainable Complex Conditional Question Answering using Automatic Knowledge Graph Construction and Context Retrieval with LLMs

KGCaRe is proposed, a hybrid approach that combines neural retrieval with symbolic reasoning over LLM-generated KGs that consistently outperforms existing baselines, including Vanilla LLM, Code Prompt, Text Prompt, Think-on-Graph, Vanilla RAG, and HybridContextQA.

Ghanshyam Verma, Sima Sarkar, Devishree Pillai et al. · 0 citations
Book Open access Aug 2026

Investigating Reasoning in Large Language Models with Counterfactual Knowledge Graphs

This work delineates LLM reasoning boundaries and presents a new paradigm for fine-grained capability assessment, which suggests that genuine reasoning is demonstrated only when a model follows logical rules despite conflicting prior knowledge.

Fangfei Yan, Jianbo Yao, Michael K. Chen et al. · 1 citation
Conference Open access Sep 2026

Neuro-Symbolic Logical Reasoning with Textual Entailment

This paper adapts VANESSA, a neuro-symbolic method for chain-of-thought verification, to reasoning-based question answering, and develops a transparent, logic-based approach to answer natural language questions even with phrase variations.

Zacchary Sadeddine, Fabian M. Suchanek · 0 citations
Preprint Aug 2026

STAIR: Semantic-Temporal Automaton for Interpretable Reasoning in Temporal Question Answering

STAIR separates semantic interpretation from precise temporal inference: an answer-free LLM adapter maps complex question formulations to normalized temporal intents, while a deterministic temporal automaton with finite control and guarded transitions executes the corresponding policies over canonicalized evidence.

Xin-Long Dai, Jin-Chuan Zhang, Lei Gao et al. · 0 citations
Open access 2026

Enhancing Small Language Models via Evolutionary Data Generation and Context-Aware DPO for Low-Resource Legal Question Answering

Results demonstrate that integrating a rule-based virtual legal assistant with contrastive retrieval and preference optimization provides an effective and computationally efficient strategy for aligning the legal reasoning capabilities of small language models, offering a scalable solution for legal question answering...

Quoc-Dai Luong Tran, H. Nguyen · 0 citations
Book Open access Aug 2026

Semantic-Symbolic Knowledge Consensus for Multilingual Question Answering

This paper proposes SeSyCo, a Semantic-Symbolic Knowledge Consensus framework, which leverages the semantic space to diverge monolingual queries into broad multilingual evidence, and subsequently utilize the symbolic space to eliminate language discrepancies, converging the gathered information into a robust consensus...

Yu Zhang, Ran Song, Xiaofei Gao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.