Chain of Evidences and Evidence to Generate: Prompting for Context Grounded and Retrieval Augmented Reasoning

Md Rizwan Parvez

Abstract

While chain-of-thoughts (CoT) prompting has revolutionized how LLMs perform reasoning tasks, its current methods and variations (e.g., Self-consistency, ReACT, Reflexion, Tree-of-Thoughts (ToT), Cumulative Reasoning (CR) etc.) suffer from limitations like limited context grounding, hallucination/inconsistent output generation, and iterative sluggishness. To overcome these challenges, we introduce a novel mono/dual-step zero-shot prompting framework built upon two unique strategies: Chain of Evidences (COE) and Evidence to Generate (E2G). Instead of unverified reasoning claims, our innovative approaches leverage the power of "evidence for decision making" by first focusing exclusively on the thought sequences explicitly mentioned in the context which then serve as extracted evidence, guiding the LLM's output generation process with greater precision and efficiency. Our framework consistently achieves remarkable results across various knowledge-intensive reasoning and generation tasks, surpassing baseline approaches with state-of-the-art LLMs. For instance, (i) on the LogiQA benchmark using GPT-4, COE achieves a new state-of-the-art accuracy of 53.8%, surpassing CoT by 18%, ToT by 11%, and CR by 9%; (ii) COE with PaLM-2 outperforms the variable-shot performance of Gemini Ultra by 0.9 F1 points, achieving an F1 score of 83.3 on DROP.

Introduction: The Grounding Problem in LLM Reasoning

Chain-of-Thought (CoT) prompting has significantly enhanced the reasoning capabilities of Large Language Models (LLMs). However, a critical bottleneck remains: context grounding. When models are provided with external context or retrieved documents—common in Retrieval-Augmented Generation (RAG) scenarios—they often default to their internal training data, leading to "hallucinated reasoning." In these cases, the model's logic may appear sound, but it is untethered from the provided facts.

Examples of grounding failures in state-of-the-art models like PaLM 2 and ChatGPT, where reasoning steps are not anchored in the provided context.

Existing solutions like ReACT or Reflexion attempt to mitigate this through iterative feedback loops. While effective, these methods are often computationally expensive, slow, and can still fall prey to inconsistent outputs if the initial reasoning chain is flawed.

Methodology: COE and E2G

To address these limitations, we propose two zero-shot prompting strategies that prioritize evidence extraction over unverified reasoning expansion.

1. Chain of Evidences (COE)

COE is a single-step prompting strategy that replaces the generic "think step-by-step" instruction. Instead, it requires the model to "generate the answer with explicit evidence and explanation from the context." This forces the LLM to act as a fact-extractor, ensuring that every step in its reasoning chain is directly supported by a quote or a clear derivation from the input text.

2. Evidence to Generate (E2G)

For scenarios involving exceptionally long or noisy contexts, we introduce E2G, a dual-step pipeline:

  • E-Step (Evidence): The model identifies and extracts relevant rationales and a preliminary answer from the full context.
  • G-Step (Generate): The model uses only the distilled evidence from the E-Step to perform final reasoning and produce a polished output.
A comparison between standard CoT prompting and the proposed COE/E2G framework, illustrating how evidence-based steps lead to more accurate grounding.

By compressing the context into relevant evidence, the G-Step allows the model's attention mechanism to focus on the core logic required for the task, effectively filtering out distractors.

Experimental Results

We evaluated our framework across eight diverse benchmarks, including LogiQA (logical reasoning), DROP (arithmetic), and HotpotQA (multi-hop reasoning).

  • State-of-the-Art Performance: On the LogiQA benchmark using GPT-4, COE achieved a new SOTA accuracy of 53.8%, a massive jump over standard CoT (38.6%) and even beating previous SOTA methods like CR (45.8%).
  • Arithmetic Reasoning: On the DROP dataset, COE with PaLM-2 hit an 83.3 F1 score, outperforming the variable-shot performance of Gemini Ultra.
  • Robustness to Distractors: In HotpotQA, the E2G pipeline provided a 4% improvement in Exact Match (EM) and F1 scores over CoT by successfully navigating irrelevant documents that typically cause LLMs to hallucinate.

Conclusion

The Chain of Evidences (COE) and Evidence to Generate (E2G) frameworks demonstrate that grounding is more critical than mere reasoning expansion for LLMs. By shifting the focus from "thinking" to "extracting evidence," these zero-shot strategies provide a more reliable, efficient, and contextually aware approach to complex reasoning tasks. We have released our prompts and outputs as a new instruction-tuning dataset on Hugging Face to support further research in evidence-grounded generation.

Summary updated

BibTeX
@misc{parvez2024chain,
  author = {Md Rizwan Parvez},
  title = {{Chain of Evidences and Evidence to Generate: Prompting for Context Grounded and Retrieval Augmented Reasoning}},
  year = {2024},
  eprint = {2401.05787},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.05787},
}
Figure