Introduction
RASPberry is a training-free framework designed to empower small Large Language Models (LLMs), typically in the 7B–8B parameter range, to tackle complex multi-hop question answering (QA). By integrating Monte Carlo Tree Search (MCTS) with a novel reasoning consistency mechanism, RASPberry allows these models to explore diverse solution paths and identify robust answers through inference-time scaling, bypassing the need for expensive fine-tuning or distillation from larger teacher models.
The Challenge of Multi-Hop QA
Multi-hop QA represents a significant hurdle for standard Retrieval-Augmented Generation (RAG) systems. Unlike single-fact retrieval, multi-hop tasks require models to link disparate pieces of information across multiple documents—for instance, identifying a subject's hometown in one text and then retrieving geographical data about that town from another. Small LLMs frequently struggle with this due to two primary issues:
- Search Traps: Linear reasoning chains (like standard Chain-of-Thought) are fragile; a single incorrect retrieval or reasoning step can derail the entire process.
- Self-Evaluation Deficiencies: Smaller models often fail at traditional self-consistency checks because they may consistently arrive at the same incorrect answer when the reasoning chain is complex.
Methodology: The RASPberry Framework
RASPberry addresses these challenges through two core components:
1. Retrieval-Augmented MCT Self-Play (RA-MCT)
Instead of generating a single linear response, RASPberry treats the QA process as a search problem. It utilizes MCTS to build a search tree where nodes represent reasoning states and edges represent specific actions. The framework defines 7 discrete actions:
- Query Optimization: Question decomposition and rephrasing.
- Retrieval: Initial document fetching and iterative "re-retrieval."
- Reasoning: Document analysis, answer extraction, and "critical rethinking" for self-correction.
This granularity allows the model to evaluate potential paths, backtrack from dead ends, and perform "look-ahead" searches to estimate the value of a retrieval step before committing to it.
2. Retrieval-Retained Reasoning Consistency (RR-RC)
To improve answer selection, the authors introduced RR-RC. This method validates a candidate solution by masking intermediate reasoning steps while keeping the retrieved documents visible. The model is then asked to re-derive the answer. If the model consistently reaches the same conclusion despite the "gap" in its original thought process, the answer is considered highly reliable. This ensures that the consistency is grounded in the evidence (the retrieved documents) rather than just repetitive hallucination.
Experimental Results
RASPberry was evaluated on the HotpotQA and 2WikiMultiHopQA benchmarks using LLaMA-3.1-8B-Instruct, Qwen-2.5-7B-Instruct, and Qwen-2-7B-Instruct. The results demonstrate significant performance gains over existing state-of-the-art methods:
- Superior Accuracy: On HotpotQA with LLaMA-3.1-8B, RASPberry achieved an F1 score of 68.89, vastly outperforming standard RAG-CoT (38.55) and the tree-based RATT baseline (58.29).
- Effective Inference-Time Scaling: Performance improved linearly as the number of MCTS rollouts increased. RASPberry showed a scaling slope of >2.0, whereas competing methods like IRCoT or RATT often plateaued or showed negligible gains with additional sampling.
- Training-Free Efficiency: The framework achieves these results without any fine-tuning, demonstrating that structured search can effectively compensate for limited model parameters.
Discussion and Insights
- Context-Grounded Consistency: The success of RR-RC highlights that for multi-hop tasks, verifying the link between retrieved evidence and the final answer is more critical than simply checking for answer frequency.
- Action-Level Flexibility: Breaking the reasoning process into discrete actions (retrieval vs. analysis) allows for more effective error recovery compared to token-level search.
Limitations and Future Directions
While powerful, RASPberry increases computational costs due to the multiple API calls or local passes required for MCTS rollouts. Furthermore, the system remains dependent on the initial quality of the retriever; if no relevant documents are found, the search tree cannot recover the truth. Future work may involve using the high-quality reasoning paths generated by RASPberry as synthetic data to fine-tune smaller models, potentially internalizing the search logic for faster inference.
Summary updated