Faithful Reasoning Using Large Language Models

Antonia Creswell, Murray ShanahanarXiv 2022

Abstract

Large Language Models (LLMs) often provide answers in a single "leap," making their reasoning opaque and prone to hallucinations. This paper introduces the Selection-Inference (SI) framework, which decomposes reasoning into discrete, verifiable steps. By separating the selection of facts from the generation of inferences and using a halting mechanism, the SI framework produces human-interpretable reasoning traces that improve accuracy and significantly reduce hallucinations in complex logical and scientific tasks.

Introduction: Making LLMs "Show Their Work"

Large Language Models (LLMs) are famously impressive but equally opaque. When a model is asked a complex, multi-step question, it usually provides an answer in a single "leap" of computation. This "black box" approach makes it nearly impossible to determine if the model reasoned correctly or simply exploited biases in its training data.

Researchers from DeepMind have introduced a framework designed to force LLMs into faithful reasoning—a process where the model’s internal steps mirror formal logical validity, producing a verifiable "reasoning trace" that users can trust.

The Problem: Opacity and Unreliability

Standard LLMs suffer from two major issues in multi-step problems: opacity and unreliability. Because they generate answers in one go, they might "cheat" by relying on internal priors (biases) rather than the provided context. Furthermore, they are prone to "hallucinations"—generating facts that sound plausible but are absent from the source text. For an LM to be truly useful in high-stakes domains, its reasoning must be faithful: the final answer must be a provable consequence of intermediate steps grounded strictly in provided knowledge.

The Selection-Inference Framework

The core of this research is the Selection-Inference (SI) architecture. It consists of several fine-tuned 7B-parameter Chinchilla models working in a modular loop:

  1. Selection Model: Given a question and context, this model selects a subset of relevant facts. Crucially, it refers to facts by labels (e.g., "sent 1") rather than re-typing them, preventing the hallucination of new information.
  2. Inference Model: This model takes only the selected facts to generate a new intermediate conclusion. By hiding the original question from this model, the authors ensure it cannot "work backward" from a guessed answer; it must move forward logically from the facts.
  3. The Halter: After each step, a "Halter" model examines the new inference and the question to decide if the problem is solved. If not, the new inference is added back into the context, and the loop repeats.
The iterative Selection-Inference architecture, featuring the Selection Model, Inference Model, and Halter.

To optimize performance, the system employs a learned Value Function to score different reasoning traces, performing a beam search to find the most logically sound path to the answer.

Example of Faithful Reasoning

The SI framework transforms a single-step prediction into a multi-step logical derivation. By breaking the process down, the model provides a clear audit trail for its conclusions.

An example of the Selection-Inference process applied to an air traffic congestion problem.

Evaluation and Results

The researchers evaluated the SI model on two challenging benchmarks: Proof Writer (formal logical deductions requiring 1-5 steps) and EntailmentBankQA (grade-school science questions with distractor-filled contexts).

Key results include:

  • Superior Accuracy: On depth-5 Proof Writer tasks, the SI model with search achieved 63.4% accuracy, significantly outperforming the EntailmentWriter baseline (56.0%).
  • Hallucination Reduction: In EntailmentBankQA, baseline models hallucinated facts in up to 40% of problems. The SI model reduced this rate to just 1%.
  • Context Utilization: The SI model showed a much higher performance delta when given correct versus random context, proving it relies on provided information rather than internal weights.

Key Insights and Limitations

The SI architecture creates a "causal bottleneck" where the answer must flow through the reasoning trace. If the trace is flawed, the model is more likely to answer "Unknown" than to provide a confident but false answer. This ability to "bail out" via the Halter leads to a massive jump in precision.

However, limitations remain. The model currently assumes relevant facts are within the context window, suggesting a need for integrated retrieval systems in the future. Additionally, while the architecture encourages logic, the Inference model can still occasionally make non-rigorous leaps. Finally, the computational cost of multiple LM calls and beam search is higher than single-shot prompting.

Despite these hurdles, this work represents a significant step toward "algorithmic prompting," treating LLMs as structured, verifiable components in a computational pipeline.

Summary updated

BibTeX
@misc{creswell2022faithful,
  author = {Antonia Creswell and Murray Shanahan},
  title = {{Faithful Reasoning Using Large Language Models}},
  year = {2022},
  eprint = {2208.14271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.14271},
}
Figure