TL;DR
Large language models (LLMs) struggle to update their knowledge for complex, multi-hop questions without forgetting or skipping crucial edited facts. This paper introduces IRAKE, a novel method that uses guided decomposition, leveraging both individual edited facts and entire edited cases, to overcome this "edit skipping" problem and significantly improve performance on multi-hop question answering tasks.
What Problem Does This Paper Address?
LLMs are powerful but their knowledge can become outdated. Retraining them is expensive, so "knowledge editing" (KE) techniques aim to update specific facts without full retraining. While existing KE methods work well for simple facts, they falter on multi-hop question answering (MQuAKE). This is because MQuAKE requires chaining multiple facts, and LLMs can "skip" over newly edited facts, especially when the way questions are broken down (decomposed) doesn't align with the granularity of the edited knowledge. This mismatch can lead to incorrect answers even when the knowledge has been technically edited. The paper aims to solve this "edit skipping" issue in MQuAKE.
Methods
The core of IRAKE is a "retrieve-then-decompose" approach, contrasting with previous "decompose-then-retrieve" methods. It tackles edit skipping through guided question decomposition:
- Fact-Guided Decomposition: Before decomposing a complex question, IRAKE pre-retrieves potentially relevant edited facts. It then uses the atomic question associated with the most helpful edited fact (rather than the fact itself, which might be counterfactual) to guide the LLM's decomposition process.
- Case-Guided Decomposition: IRAKE builds an "edited case library" storing successful past question-answering sessions with their decomposition steps. When faced with a new question, it finds similar past cases and uses their decomposition records as a "dynamic prompt" to guide the current question's decomposition.
- State Backtracking Mechanism: To handle cases where guidance might lead the LLM astray, a backtracking mechanism is employed. If a guided decomposition doesn't lead to successful retrieval of edited facts, the system can backtrack to a previous, non-guided state.
Datasets
The experiments were conducted on two benchmark datasets:
- MQuAKE-2002: A filtered version of the original MQuAKE dataset, designed to remove conflicting instances for more reliable evaluation.
- MQuAKE-hard: A more challenging subset of MQuAKE, specifically selected for instances with a higher number of edited facts.
Key Insights and Ideas
- The "Edit Skipping" Problem is Real and Significant: The paper clearly demonstrates that the mismatch in granularity between question decomposition and edited facts is a major hurdle for KE in multi-hop QA.
- Atomic Questions are Better Guides than Edited Facts: Using the atomic question associated with an edited fact as guidance is more effective than using the potentially counterfactual edited fact itself. This is because it provides a more natural prompt for decomposition.
- Leveraging Past Successes is Crucial: The edited case library and its use for dynamic prompting highlight the power of learning from similar, successfully edited past interactions.
- Guided Decomposition Improves Fact Retrieval: The paper shows a strong correlation between retrieving more correct edited facts (higher "Recall") and achieving better overall accuracy, directly addressing the edit skipping issue.
Key Results
IRAKE consistently outperformed state-of-the-art baselines across both MQuAKE-2002 and MQuAKE-hard datasets, under various settings (1-edited, 100-edited, all-edited). For example, on MQuAKE-hard (all-edited), IRAKE achieved an accuracy of 40.79%, significantly higher than the next best baseline (PokeMQA at 27.16%). The ablation studies confirmed that each component of IRAKE (fact-guided, case-guided, and backtracking) contributes to its effectiveness, with fact-guided decomposition showing the most significant impact.
Limitations and Future Work
The authors acknowledge several limitations:
- LLM Dependency: IRAKE's effectiveness is influenced by the underlying LLM's ability to decompose problems and integrate context.
- Cold Start for Case Library: The edited case library is initialized by sampling from the training set. Mitigating the "cold start" problem when high-quality training data is scarce is a future research direction.
Future work could also explore improving the LLM's core decomposition and context integration abilities, which are foundational to KE performance.
Summary updated