Evidence to Generate (E2G): A Single-agent Two-step Prompting for Context Grounded and Retrieval Augmented Reasoning

Md. Rizwan Parvez · DOI

Introduction

Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities through techniques like Chain-of-Thought (CoT) prompting. However, in Retrieval-Augmented Generation (RAG) settings, these models often struggle with "grounding"—the ability to anchor reasoning strictly within provided context. This paper introduces Chain of Evidences (COE) and Evidence to Generate (E2G), two zero-shot prompting strategies designed to mitigate hallucinations by forcing models to explicitly extract and reason from retrieved evidence rather than internal weights.

The Grounding Challenge in RAG

While CoT ("think step-by-step") improves logic, it frequently produces "unverified reasoning claims." In long-context scenarios, LLMs exhibit "sluggishness," often losing information in the middle of documents or falling back on training data hallucinations. As shown in the comparison below, even powerful models like PaLM 2 and ChatGPT can fail to correctly utilize retrieved context when asked to reason, leading to incorrect answers despite having the necessary information available.

Comparison of PaLM 2 and ChatGPT showing how standard reasoning can lead to unverified claims despite retrieved context.

Methodology: COE and E2G

The authors propose a framework that shifts the focus from raw reasoning depth to strict context adherence through two primary methods:

  1. Chain of Evidences (COE): This strategy instructs the model to provide "step-by-step reasoning with explicit evidence and explanation" directly from the context. This ensures every logical step is tethered to a specific finding in the text.
  2. Evidence to Generate (E2G): A dual-step "Extraction then Generation" pipeline.
  3. E-Step: The model extracts relevant rationales (evidence) and a preliminary answer from a potentially noisy context.
  4. G-Step: The model is prompted a second time, using only the concise evidence from the E-Step as its context. This distillation removes distractors and concentrates the model's attention.
The E2G pipeline: E-Step extracts evidence-based rationales, and G-Step generates the final answer using distilled context compared to standard CoT.

Crucially, this framework is zero-shot and verification-free, requiring no human-annotated examples or secondary critic models.

Experimental Results

The framework was evaluated across eight knowledge-intensive tasks, including LogiQA (logic), DROP (arithmetic), and HotpotQA (multi-hop reasoning). Key findings include:

  • State-of-the-Art Reasoning: On LogiQA, COE with GPT-4 achieved 53.8% accuracy, significantly outperforming standard CoT (38.6%) and Tree-of-Thoughts (43.0%).
  • Outperforming Gemini Ultra: On the DROP benchmark, COE with PaLM-2 achieved an F1 score of 83.3, surpassing the reported performance of Gemini Ultra (82.4).
  • Noise Robustness: In HotpotQA, E2G outperformed CoT by 4% in both Exact Match and F1 scores, proving its effectiveness in navigating irrelevant or distracting documents.

Discussion and Limitations

The "aha moment" of this research is that the bottleneck in RAG is often not the model's reasoning capacity, but its focus. By shrinking context from a full document to a distilled evidence snippet, E2G effectively solves the "lost in the middle" problem.

However, the authors note some limitations:

  • Over-grounding: Models may become too reliant on context, failing to apply basic common sense if not explicitly stated in the text.
  • Inference Cost: The two-step nature of E2G doubles the API calls and runtime compared to single-step prompting.
  • Long-form Generation: The distillation process can be too aggressive for tasks requiring verbose, conversational responses (like ELI5).

Future work aims to use the COE/E2G datasets for instruction fine-tuning, potentially baking these grounding behaviors directly into model weights to eliminate the need for multi-step prompting.

Summary updated

BibTeX
@misc{parvez2024evidence,
  author = {Md. Rizwan Parvez},
  title = {{Evidence to Generate (E2G): A Single-agent Two-step Prompting for Context Grounded and Retrieval Augmented Reasoning}},
  year = {2024},
  eprint = {2401.05787},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.05787},
}
Figure