mlsanityData to 14 Oct 2026

ReFactX: Scalable Reasoning with Reliable Facts via Constrained Generation

arXiv 2508.16983 ↗First posted 23 Aug 2025cs.CL cs.AIcited by 0

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

Knowledge gaps and hallucinations are persistent challenges for Large Language Models (LLMs), which generate unreliable responses when lacking the necessary information to fulfill user instructions. Existing approaches, such as Retrieval-Augmented Generation (RAG) and tool use, aim to address these issues by incorporating external knowledge. Yet, they rely on additional models or services, resulting in complex pipelines, potential error propagation, and often requiring the model to process a large number of tokens. In this paper, we present a scalable method that enables LLMs to access external knowledge without depending on retrievers or auxiliary models. Our approach uses constrained generation with a pre-built prefix-tree index. Triples from a Knowledge Graph are verbalized in textual facts, tokenized, and indexed in a prefix tree for efficient access. During inference, to acquire external knowledge, the LLM generates facts with constrained generation which allows only sequences of tokens that form an existing fact. We evaluate our proposal on Question Answering and show that it scales to large knowledge bases (800 million facts), adapts to domain-specific data, and achieves effective results. These gains come with minimal generation-time overhead. ReFactX code is available at https://github.com/rpo19/ReFactX.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 9 of its 34 references that are in the map. First posted on arXiv 23 Aug 2025.

Builds on

9 of 34 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Decoding on Graphs: Faithful and Sound Reasoning on Knowledge Graphs through Generation of Well-Formed Chains24 Oct
  2. 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec

Other references · 7

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2024Qwen2.5 Technical Reportcited by 4,942
  3. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  4. 2024Phi-4 Technical Reportcited by 711
  5. 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 208
  6. 2024Knowledge Boundary of Large Language Models: A Surveycited by 40
  7. 2025OpenRAG: Optimizing RAG End-to-End via In-Context Retrieval Learningcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023DIVKNOWQA: Assessing the Reasoning Ability of LLMs via Open-Domain Question Answering over Knowledge Base and Text
  2. 2026SGR: A Stepwise Reasoning Framework for LLMs with External Subgraph Generation
  3. 2025A Stepwise-Enhanced Reasoning Framework for Large Language Models Based on External Subgraph Generation
  4. 2025Improving Factuality in LLMs via Inference-Time Knowledge Graph Construction
  5. 2025LIR3AG: A Lightweight Rerank Reasoning Strategy Framework for Retrieval-Augmented Generation
  6. 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answering
  7. 2024Domain-Specific Retrieval-Augmented Generation Using Vector Stores, Knowledge Graphs, and Tensor Factorization
  8. 2025You Don't Need Pre-built Graphs for RAG: Retrieval Augmented Generation with Adaptive Reasoning Structures