🛰️ Daily AI Frontier
‹ back to 2026-08-08

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

arXiv cs.CL LLM Agents Jonas Gann, Michael Gertz 2026-08-06
Representative image for NeSy-RAG: Neuro-Symbolic RAG for Explainable Question Answering

TL;DR - NeSy-RAG is a neuro-symbolic retrieval-augmented generation framework that converts retrieved text chunks into attributable Prolog modules, producing deterministic answers with verifiable execution traces. It matters because it addresses RAG's opacity problem while nearly doubling accuracy over a same-model baseline on ShARC.

  • Each retrieved chunk is synthesized into semantically meaningful Prolog predicates encoding Boolean claims that may depend on user-specific facts.
  • Joint natural language–code embeddings are used to retrieve predicates and compose them into executable Prolog queries.
  • A symbolic knowledge-gap detection mechanism identifies missing user facts whose truth values change the query outcome and automatically triggers follow-up questions.
  • On ShARC without domain-specific training, it reaches 61.1% accuracy vs. 42.8% for a same-model RAG baseline, with traces linking each reasoning step to its source.

view merged work →