TL;DR
This paper tackles the crucial problem of "honest" deductive reasoning in language models, where models should not only derive correct conclusions from given premises but also abstain when no conclusion can be logically drawn. They introduce new datasets and a novel training method called ANCHOR that injects ground-truth reasoning paths to stabilize training and improve honest abstention, outperforming existing methods.
What Problem Does This Paper Address?
Large language models (LLMs) are increasingly used in real-world applications, making their reliability paramount. Beyond being helpful and harmless, LLMs need to be honest. This honesty has two facets: acknowledging their own knowledge limitations and, crucially for this paper, recognizing when a question is answerable from the provided information and abstaining otherwise. Current benchmarks often focus on the former, leaving the latter underexplored. Deductive reasoning, which relies solely on premises without external knowledge, provides a clean setting to study this. However, LLMs often fail to reason honestly, fabricating answers even when premises are insufficient. This paper aims to address this gap by developing methods and benchmarks to train LLMs to be honest in deductive reasoning tasks, specifically by learning to abstain when appropriate.
Methods
The authors propose ANCHOR (Augmented with Necessary Correct and Honest Reasoning), a reinforcement learning method designed to stabilize training for honest deductive reasoning. ANCHOR builds upon Group Relative Policy Optimization (GRPO) by injecting a ground-truth trajectory into each group of rollouts. This injected trajectory acts as an "anchor," providing a consistently positive reference signal. This mechanism ensures that even if all model-generated rollouts fail and receive negative rewards, the relative advantage estimates don't collapse to zero, thus preventing gradient vanishing and stabilizing learning. Formally, ANCHOR introduces an SFT-like term into the GRPO gradient update, unifying supervised and reinforcement learning signals without suffering from SFT's overfitting issues or GRPO's tendency to collapse.
Datasets
The paper introduces two new multi-step reasoning datasets:
- GRAPHLA: Grounded in linear algebra, where hyperedges represent linear equations and queries involve solving systems of equations. Unanswerable cases are created by perturbing the system.
- GRAPHLI: Based on logical inference, where hyperedges represent implication rules and queries test whether a conclusion follows from composed chains of implications. Unanswerable instances are generated by removing or altering key premises or conclusions.
Both datasets are designed to be balanced between answerable and unanswerable instances and require multi-step deductive reasoning, making them challenging for current LLMs.
Key Insights and Ideas
- Honest Abstention is Crucial: The ability to recognize when a conclusion cannot be derived from premises is as important as deriving correct conclusions. Current LLMs struggle significantly with this.
- Deductive Reasoning as a Testbed: Focusing on deductive reasoning isolates the problem of honest reasoning from factual recall, providing a controlled environment for evaluation.
- GRPO's Vulnerability: While GRPO is a powerful RL method, it's susceptible to gradient collapse when all sampled rollouts are incorrect, hindering honest reasoning training.
- ANCHOR's Stability: Injecting ground-truth trajectories into RL rollouts (ANCHOR) provides a stable learning signal, preventing collapse and enabling models to learn honest reasoning and abstention.
- Curriculum Learning's Fragility: While curriculum learning can improve performance, it's highly sensitive to difficulty calibration and model capacity, making it less robust than ANCHOR.
Key Results
- Untrained Models Struggle: Three Qwen models (Qwen-2.5-3B-Instruct, Qwen-3-0.6B, Qwen-3-1.7B) show significantly degraded performance on both GRAPHLA and GRAPHLI as reasoning depth and problem complexity increase. They fail to reliably follow reasoning chains and often produce unwarranted conclusions.
- SFT and GRPO Insufficient: Standard SFT and GRPO methods fail to overcome these challenges on the new datasets.
- ANCHOR's Effectiveness: ANCHOR consistently stabilizes reinforcement learning and achieves robust performance on both answerable and unanswerable queries across all tested models. It significantly outperforms baselines and even curriculum learning in many scenarios.
- Combined Approach Gains: Combining ANCHOR with Easy-to-Hard curriculum learning yields superior results, demonstrating ANCHOR's ability to integrate with and enhance existing training strategies.
Limitations and Future Work
- Model Scope: The evaluation was conducted on three Qwen-based models. While these are representative, extending the evaluation to substantially larger models and different architectures would broaden external validity.
- Task Specificity: The current work focuses on deductive reasoning without external knowledge. Future work could extend the analysis to tasks that combine deductive reasoning with external factual or probabilistic knowledge, which is more representative of real-world applications.
- Generalizability of ANCHOR: While ANCHOR shows promise, further research could explore its applicability to other policy-gradient algorithms beyond GRPO and investigate its performance on a wider range of reasoning tasks.
Summary updated