Teaching Small Language Models to Reason for Knowledge-Intensive Multi-Hop Question Answering

Xiang Li, Shizhu He, Fangyu Lei, JunYang JunYang, Tianhuang Su, Kang Liu, Jun ZhaoACL 2024

Abstract

Small Language Models (SLMs) often struggle with knowledge-intensive multi-hop reasoning due to limited parameter capacity and the difficulty of integrating retrieval with complex logic. We present Decompose-and-Response (D&R) Distillation, a framework that fine-tunes two specialized SLMs—a Decomposer for strategic planning and a Responser for fact-finding—to solve multi-step questions through interaction. By decoupling reasoning from knowledge retrieval, D&R allows models as small as 220M parameters to outperform 11B parameter models on benchmarks like HotpotQA and 2WikiMultiHopQA, while requiring significantly less training data.

Introduction

Large Language Models (LLMs) have demonstrated remarkable "Chain-of-Thought" (CoT) reasoning capabilities. However, distilling these abilities into Small Language Models (SLMs) remains challenging for knowledge-intensive tasks. SLMs face a "Memory Gap," where they lack the capacity to store vast factual knowledge, and an "Integration Gap," where they struggle to simultaneously manage retrieval and logical reasoning. Standard distillation methods often force a single SLM to perform both tasks, leading to hallucinations and reasoning failures.

Comparison of standard Chain-of-Thought Distillation versus the proposed Decompose-and-Response Distillation, highlighting the memory gap in SLMs.

Methodology: Decompose-and-Response Distillation

The D&R framework shifts from a monolithic model architecture to a modular, interactive system. The process consists of three distinct stages:

Stage 1: Self-Ask-Self-Ans Prompting

A powerful teacher model (e.g., GPT-3.5) generates high-quality training data by solving multi-hop questions iteratively. The teacher is prompted to break down a complex query into sub-questions and provide intermediate answers, creating a roadmap for the student models.

Stage 2: Specialized Training

The generated data is used to fine-tune two separate T5-based student models:

  • The Decomposer: Acts as the strategist. It analyzes the original question and the current interaction history to determine the next sub-question or provide the final answer.
  • The Responser: Acts as the researcher. It takes a sub-question, retrieves relevant Wikipedia passages using BM25, and generates a concise intermediate answer based on the retrieved context.

Stage 3: Interactive Inference

During inference, the Decomposer and Responser engage in a multi-turn dialogue. The Decomposer generates a sub-query, the Responser provides an answer using external tools, and this loop continues until the Decomposer synthesizes the final response.

The interactive inference process (Stage 3) where the Decomposer and Responser collaborate to reach the final answer.

Experimental Evaluation

The D&R method was evaluated on three multi-hop benchmarks: HotpotQA, 2WikiMultiHopQA, and StrategyQA. Notably, the authors achieved their results using only 1/10th of the full training data for HotpotQA and 2WikiMultiHopQA.

Key Results

  • Efficiency and Scale: Two 220M parameter models (T5-base) using D&R Distillation outperformed the 11B parameter Flan-T5-XXL—a model 50 times larger—on HotpotQA and 2WikiMultiHopQA.
  • Data Efficiency: D&R achieved state-of-the-art results using only 10% of the training data compared to previous retrieval-augmented distillation methods that used 100%.
  • Accuracy Gains: On 2WikiMultiHopQA, the 700M parameter D&R model achieved a 39.4 F1 score, significantly higher than the 33.6 F1 score of standard CoT distillation.

Discussion and Conclusion

The success of D&R Distillation highlights that modular reasoning is more efficient for SLMs than monolithic CoT. By giving the Responser access to external knowledge, the system bypasses the memory limitations of small models. Furthermore, iterative retrieval for each sub-question ensures higher precision than single-step retrieval common in standard RAG systems.

While D&R is highly effective for knowledge-intensive tasks, future work will explore its scalability to larger models (e.g., 7B parameters) and its applicability to domains like symbolic logic or mathematics where external retrieval is less beneficial.

Summary updated

BibTeX
@inproceedings{li2024teaching,
  author = {Xiang Li and Shizhu He and Fangyu Lei and JunYang JunYang and Tianhuang Su and Kang Liu and Jun Zhao},
  title = {{Teaching Small Language Models to Reason for Knowledge-Intensive Multi-Hop Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.464},
}
Figure