Prompting Explicit and Implicit Knowledge for Multi-hop Question Answering Based on Human Reading Process

Guangming Huang, Yunfei Long, Cunjin Luo, Jiaxing Shen, Xia Sun

Abstract

Pre-trained language models (PLMs) leverage chains-of-thought (CoT) to simulate human reasoning and inference processes, achieving proficient performance in multi-hop QA. However, a gap persists between PLMs’ reasoning abilities and those of humans when tackling complex problems. Psychological studies suggest a vital connection between explicit information in passages and human prior knowledge during reading. Nevertheless, current research has given insufficient attention to linking input passages and PLMs’ pre-training-based knowledge from the perspective of human cognition studies. In this study, we introduce a Prompting Explicit and Implicit knowledge (PEI) framework, which uses prompts to connect explicit and implicit knowledge, aligning with human reading process for multi-hop QA. We consider the input passages as explicit knowledge, employing them to elicit implicit knowledge through unified prompt reasoning. Furthermore, our model incorporates type-specific reasoning via prompts, a form of implicit knowledge. Experimental results show that PEI performs comparably to the state-of-the-art on HotpotQA. Ablation studies confirm the efficacy of our model in bridging and integrating explicit and implicit knowledge.

TL;DR

The PEI (Prompting Explicit and Implicit knowledge) framework improves multi-hop question answering by mimicking the human reading process. It uses specialized prompts to bridge "explicit" information found in text passages with "implicit" prior knowledge stored within pre-trained language models, achieving state-of-the-art performance on complex reasoning benchmarks like HotpotQA.

What Problem Does This Paper Address?

Multi-hop question answering (QA) requires a model to connect multiple pieces of information across different documents to find an answer. While Large Language Models (LLMs) have improved at this using Chain-of-Thought (CoT) reasoning, a significant gap remains between model performance and human cognition.

Humans don't just read the text on the page (explicit knowledge); we constantly retrieve background facts and linguistic intuitions (implicit knowledge) to fill in the blanks. Current models often treat input passages as isolated data points, failing to effectively leverage the vast "world knowledge" they acquired during pre-training. Furthermore, models often take "reasoning shortcuts"—answering a complex question correctly while failing to understand the simpler sub-questions that lead to it.

Methods

The authors introduce the PEI framework, which consists of three distinct components designed to simulate human reading:

  1. Type Prompter: This module identifies the reasoning type required for a question (e.g., "bridge" questions that connect entities or "comparison" questions). It uses a frozen ELECTRA model and learns "soft prompts" (trainable vectors) that represent these reasoning strategies.
  2. Knowledge Prompter: This is the core innovation. It uses an iterative encoder-decoder (BART-large) to elicit implicit knowledge from the model's weights based on the input passages. Unlike other methods that generate natural language sentences, PEI generates continuous embeddings. This avoids the "error propagation" that happens when a model generates a slightly incorrect sentence that then confuses the rest of the reasoning chain.
  3. Unified Prompter: This final stage concatenates the question, the explicit passages, the elicited implicit knowledge embeddings, and the type prompts. It then performs joint fine-tuning to predict the final answer and the supporting facts.
The architecture of the PEI framework, showing the Knowledge, Type, and Unified Prompters.

Datasets

The researchers evaluated PEI on several rigorous multi-hop QA benchmarks:

  • HotpotQA: The primary benchmark, requiring reasoning across multiple Wikipedia-based documents.
  • 2WikiMultiHopQA: A dataset with comprehensive annotations for evidence paths.
  • MuSiQue: A challenging dataset designed to minimize the effectiveness of simple keyword-matching shortcuts.
  • Sub-question QA dataset: A specialized set of 1,000 samples used to test if the model actually understands the intermediate steps of a multi-hop question.

Key Insights and Ideas

  • Implicit Knowledge as a Safety Net: The paper demonstrates that implicit knowledge helps even when explicit information is missing. For example, in a "Yes/No" question about a capital city, a model's linguistic intuition (implicit knowledge) can narrow the answer space to "Yes" or "No" before it even finds the specific city name in the text.
  • Embeddings over Text: By representing recalled knowledge as continuous embeddings rather than text strings, the model retains more nuance and is less likely to be derailed by "hallucinations" or grammatical errors in generated intermediate steps.
  • Combating Shortcuts: The authors found that PEI is significantly less likely to use "unreliable reasoning shortcuts." In their analysis, PEI achieved a 97.62% success rate in answering a parent question when both sub-questions were answered correctly, showing a much tighter logical coupling than previous models.

Key Results

PEI achieved highly competitive results, particularly on the HotpotQA blind test set:

  • Answer Accuracy: Achieved 72.89 EM (Exact Match) and 85.32 F1, outperforming previous strong baselines like PCL and iCAP.
  • Robustness: On 2WikiMultiHopQA, PEI showed a substantial improvement in Answer EM/F1 (4.52/26.66) compared to the iCAP model.
  • Ablation Success: Removing the "Implicit Knowledge" component caused a drop of 3.10 points in F1, proving that the model's internal "prior knowledge" is indeed doing heavy lifting.
Performance comparison on the HotpotQA dataset showing PEI outperforming several baseline models.

Limitations and Future Work

The authors acknowledge a few key limitations:

  • Domain Specificity: The framework was primarily validated on multi-hop QA. Its effectiveness in other complex tasks, like mathematical reasoning or creative writing, remains to be seen.
  • Interpretability: Because the implicit knowledge is captured in "soft prompts" (mathematical vectors) rather than natural language, it is difficult for humans to "read" exactly what background knowledge the model is retrieving.
  • Model Scaling: The experiments were conducted using BART and ELECTRA. The authors suggest that applying this framework to even larger models (like GPT-4 or Llama-3) could yield even stronger results, though it would require more computational resources.

Future work will focus on extending these human-inspired cognitive theories to more diverse reasoning tasks and improving the transparency of the implicit knowledge retrieval process.

Summary updated

BibTeX
@inproceedings{huang2024prompting,
  author = {Guangming Huang and Yunfei Long and Cunjin Luo and Jiaxing Shen and Xia Sun},
  title = {{Prompting Explicit and Implicit Knowledge for Multi-hop Question Answering Based on Human Reading Process}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=kSrwYKY8vw},
}
Figure