TL;DR
StepGap introduces a hybrid NLI-LLM decision tree that detects and classifies step-level evidence gaps in multi-hop question answering into three actionable error types. By integrating this fine-grained checker as a process reward during reinforcement learning (GRPO), the authors significantly improve model accuracy and reasoning grounding while avoiding the pitfalls of "competing-error cancellation" common in pure LLM evaluators.
What Problem Does This Paper Address?
Multi-hop question answering (QA) requires models to retrieve, connect, and verify information across multiple intermediate steps. However, standard training and evaluation frameworks are typically endpoint-oriented, meaning they only reward or penalize the final answer (e.g., via Exact Match).
This approach has two major flaws:
- Spurious Correctness: A model can arrive at the correct final answer through flawed reasoning or shortcuts, bypassing the actual retrieved evidence.
- Lack of Localization: When a model gets an answer wrong, an endpoint signal provides no feedback on where the reasoning chain broke, making it impossible for the model to learn step-specific repair behaviors.
While step-level checkers exist, they often collapse all subtasks into a single LLM prompt or rely solely on Natural Language Inference (NLI). Pure LLM approaches frequently suffer from internal errors masking one another, while pure NLI approaches struggle with open-ended tasks like entity extraction.
Methods
The authors propose StepGap, a five-stage hybrid decision tree that combines the strengths of LLMs and NLI models to evaluate individual reasoning steps.
The pipeline splits the evaluation into modular judgments:
- Stages A–C (LLM-based): Handle open-ended reading and extraction tasks, including entity/relation alignment, checking for valid abstentions ("cannot be determined"), and verifying entity consistency while extracting a verbatim supporting quote.
- Stages D–E (NLI-based): Handle deterministic entailment checks. Stage D checks local entailment (does the extracted quote imply the claim?), while Stage E performs cross-step verification against previously retrieved evidence.
Instead of a generic "error" label, StepGap categorizes failures into three specific evidence gaps, each mapped to a concrete repair action:
- Contradicted Claim (CC): The step asserts something that conflicts with the evidence. Repair: Retract.
- Irrelevant Evidence (IE): The retrieved evidence doesn't address the required entity or relation. Repair: Re-search.
- Missing Bridge (MB): The evidence is on-topic but insufficient to fully entail the claim. Repair: Bridging search.
This typed signal is injected into Group Relative Policy Optimization (GRPO) as a per-step process reward, combining a base scalar reward with a behavioral shaping reward that reinforces the model for executing the correct repair action.
Datasets
- Evaluation Benchmark: A manually annotated gold-standard dataset of 181 individual reasoning steps across 82 multi-hop questions, sampled from HotpotQA, 2WikiMultiHopQA, and MuSiQue.
- RL Training: GRPO training utilized a large-scale mix of 169K questions from Natural Questions (NQ) and HotpotQA.
- Distillation Pool: A set of 1,000 steps used to distill the hybrid teacher checker into a local student model.
Key Insights and Ideas
- The "Q-F1 Trap": The authors expose a major evaluation pitfall where question-level F1 (checking if any gap is detected on a wrong answer) can be mechanically inflated to near-perfection by a dummy checker that simply flags every single step as an error. Step-level F1 (sF1) and balanced accuracy are required to truly measure a checker's diagnostic capability.
- Competing-Error Cancellation: In pure LLM checkers, ablating (removing) individual components often improves performance. This counterintuitive behavior reveals that internal stages are actively masking each other's errors. StepGap's hybrid structure is truly decomposable—removing any single stage consistently hurts performance, proving its modular health.
- Two-Phase Contradiction Dynamics: When training with a small reward bonus for detecting contradictions (CC), the model exhibits a non-monotone learning curve. Early on, it surfaces more contradictions to collect the detection bonus, but eventually learns to avoid making contradicted claims altogether, leading to cleaner reasoning chains.
Key Results
- Checker Accuracy: StepGap achieves a step-level F1 of 72.0 on the human benchmark, matching the performance of a heavy LLM-only baseline but with superior auditability and modularity.
- Downstream QA Improvement: Using StepGap as a process reward improves Qwen2.5-7B-Instruct's final answer Exact Match (EM) from 32.1% to 35.4% across three seeds (+3.3 Avg EM gain overall, and +5.6 EM gain over a standard Search-R1 GRPO baseline in a single-run comparison).
- Better Grounding: The answer-claim support rate (the percentage of final answers logically entailed by retrieved quotes) surged to 71.5%.
- Efficient Distillation: The hybrid teacher was successfully distilled into a local Qwen2.5-7B student model that retains 87% of the teacher's F1 score while completely eliminating API call costs at inference time.
Limitations and Future Work
- Sample Size: The human-annotated gold standard is relatively small (181 steps), particularly for rarer error types like Missing Bridges ($n=9$).
- Backbone Sensitivity: The tuned reward magnitudes optimized for Qwen2.5 did not transfer successfully zero-shot to Llama-3.1-8B, indicating that process reward scaling remains highly sensitive to the base model's instruction-following distribution.
- Heuristic Repair Detection: The behavioral shaping reward relies on surface-level keyword matching (e.g., "actually", "wait") to detect when a model attempts a retraction, which could eventually be vulnerable to reward hacking over longer training runs. The authors suggest developing a learned retraction classifier as a next step.
Summary updated