TL;DR
This paper introduces TEMPLE-MQA, a novel framework for multi-hop question answering (MQA) that specifically addresses the challenge of temporal knowledge editing. By constructing a time-aware graph (TAG) and employing a structured inference path, TEMPLE-MQA significantly improves performance on questions with explicit temporal contexts, outperforming existing methods. The authors also release TKEMQA, a new benchmark dataset designed for evaluating MQA with temporal scopes.
What Problem Does This Paper Address?
Large Language Models (LLMs) are powerful but struggle with outdated or incorrect information, leading to "hallucinations." Knowledge Editing (KE) aims to update LLMs without retraining, but a significant challenge arises in Multi-hop Question Answering (MQA) when these edits involve temporal information. Existing MQA-KE methods often fail to accurately handle questions with explicit temporal contexts, leading to poor performance. This is because they typically store knowledge edits in an unstructured format, making it difficult to discern temporal nuances. The paper aims to bridge this gap by developing a method that can effectively perform MQA under temporal knowledge edits while retaining historical knowledge.
Methods
The proposed framework, TEMPLE-MQA, consists of three core components:
- Time-Aware Graph (TAG) Construction: Unlike previous methods that store edits in an unstructured manner, TEMPLE-MQA constructs a TAG to represent temporal knowledge edits in a structured, time-conscious format. This involves converting unstructured facts into a structured form with temporal scopes and then building a graph. Data augmentation is used to capture entity aliases for better retrieval.
- Inference Path Planning: TEMPLE-MQA leverages LLMs to generate a structured inference path for multi-hop questions, including temporal scopes. This is a more direct approach than traditional sub-question decomposition, allowing the LLM to plan the entire reasoning process in one go.
- Structural Retrieval and Joint Reasoning: The framework then uses a structural retrieval mechanism to query the TAG based on the generated inference path. This retrieval process involves extracting relevant subgraphs and re-ranking them based on semantic similarity. Finally, LLMs and the TAG are used for joint reasoning to derive the final answer, effectively integrating temporal context into the MQA process.
Datasets
The authors evaluate TEMPLE-MQA on a combination of existing and newly introduced datasets:
- MQUAKE: A benchmark for MQA under knowledge editing, including both counterfactual and real-world changes.
- ATOKE: A dataset focusing on temporal knowledge editing with single, multiple, and extending edits, designed for single-hop questions.
- TKEMQA: A newly introduced benchmark dataset specifically designed for multi-hop question answering with temporal scopes. It includes multi-hop questions with explicit temporal contexts and also provides historical questions to evaluate the model's ability to retain past knowledge. TKEMQA-HK is a variant that includes additional historical knowledge.
Key Insights and Ideas
- Structured Temporal Knowledge is Crucial: The core insight is that representing temporal knowledge edits in a structured format, like the proposed TAG, is essential for accurately handling temporal contexts in MQA. Unstructured storage leads to significant performance degradation.
- Direct Inference Path Planning is Efficient: By generating a complete inference path upfront, TEMPLE-MQA avoids the iterative sub-question decomposition used by some prior methods, leading to a more efficient and cost-effective solution.
- Distinguishing Temporal Contexts: TEMPLE-MQA's TAG and retrieval mechanism enable it to effectively distinguish between historical and updated knowledge, crucial for answering questions with temporal constraints.
- Parameter-based vs. Memory-based KE: The paper reinforces that for MQA under KE, memory-based approaches (like TEMPLE-MQA) generally outperform parameter-based methods, especially when dealing with complex reasoning and temporal aspects.
Key Results
- TEMPLE-MQA significantly outperforms existing state-of-the-art methods on MQA under temporal knowledge editing, achieving substantial improvements across various metrics (M-Acc, H-Acc, HES, CES, CES-P).
- On the MQUAKE dataset, TEMPLE-MQA showed an average improvement of over 90% compared to MeLLo and over 30% compared to PokeMQA.
- For temporal MQA, TEMPLE-MQA achieved a high HES score of 97.25 on ATOKE-SE, a significant improvement over existing methods.
- The proposed TKEMQA benchmark was used to demonstrate TEMPLE-MQA's effectiveness on multi-hop questions with temporal scopes, where it achieved strong performance.
- The inference path planning module was found to be crucial, with its removal leading to a significant drop in M-Acc.
- TEMPLE-MQA also demonstrated efficiency, saving considerable expense and inference time compared to Mello and PokeMQA.
Limitations and Future Work
- Computational Overhead: The reliance on the TAG introduces additional computational overhead.
- Manual Prompting: TEMPLE-MQA requires manual prompt engineering to adapt to different tasks, which can be labor-intensive.
- Complex Workflow: While the encoder doesn't require fine-tuning, the overall workflow of TEMPLE-MQA is described as complex.
The authors suggest future work could focus on reducing the computational overhead of the TAG, automating prompt generation, and simplifying the workflow.
Summary updated