Abstract
Temporal Knowledge Question Answering (TKGQA) remains a significant challenge for Large Language Models (LLMs) due to the dynamic nature of facts and the multi-step logic required for temporal reasoning. This paper introduces Abstract Reasoning Induction (ARI), a framework that enhances LLM performance by decoupling factual retrieval from logical reasoning. ARI induces generalized "abstract methodologies" from past experiences, including failures, to guide the model through complex temporal queries. Experimental results demonstrate that ARI significantly outperforms state-of-the-art methods, achieving a 29.7% relative improvement on the MultiTQ benchmark.
Introduction
Current LLMs frequently encounter difficulties when answering questions involving complex timelines or evolving facts. For instance, a query like "Which country’s leader visited China for the last time in 2015?" presents two primary obstacles:
- Knowledge Obsolescence: LLMs are trained on static datasets and may lack information on recent events.
- Reasoning Failure: Identifying the "last" event in a sequence requires precise multi-step logic that probabilistic models often fail to execute correctly.
While Retrieval-Augmented Generation (RAG) provides external facts, it often introduces noise or exceeds context limits. The ARI framework addresses these issues by moving beyond simple retrieval toward a hierarchy of abstract reasoning.
The ARI Framework
Inspired by Jean Piaget’s theory of constructivism, the ARI framework posits that knowledge is actively constructed through experience. The system is divided into two primary modules:
1. Knowledge-based Interaction
To avoid overwhelming the LLM with raw text, ARI utilizes an agent to interact with a Temporal Knowledge Graph (TKG). The agent employs "atomic operations"—such as get_time, get_before, or getFirst—to retrieve precise data points. This structured interaction ensures the LLM's workspace remains clean and focused on the relevant temporal entities.
2. Knowledge-agnostic Reasoning
This module serves as the strategic layer of the framework. Unlike standard In-Context Learning (ICL) which relies on specific examples, ARI analyzes a library of historical reasoning paths to distill high-level strategies.
- Clustering: Similar question types are grouped using K-means clustering.
- Induction: For each cluster, the LLM examines both successful and unsuccessful past attempts to induce an "Abstract Methodology"—a generalized step-by-step guide for that category of question.
- Inference: When presented with a new question, the model identifies its category, retrieves the corresponding abstract guide, and executes the necessary tool calls.
Experimental Evaluation
The researchers evaluated ARI on two major benchmarks:
- MultiTQ: A complex dataset featuring multi-granularity temporal information (days, months, years) and diverse relations.
- CronQuestions: A standard large-scale benchmark for temporal reasoning over knowledge graphs.
Key Results
ARI significantly outperformed existing state-of-the-art (SOTA) models:
- Performance Gains: The framework achieved a 29.7% relative improvement on MultiTQ and a 9.27% improvement on CronQuestions.
- Efficiency: Abstract guidance reduced the average number of reasoning steps by 11.4% on MultiTQ and 9.3% on CronQuestions, indicating more direct problem-solving.
- Model Agnostic: While primarily tested with GPT-3.5, ARI also enhanced the performance of GPT-4 and open-source models like Llama-2.
Insights and Discussion
A critical innovation of ARI is learning from mistakes. By including incorrect historical samples during the induction phase, the LLM learns to avoid common pitfalls, such as date hallucinations or incorrect filter applications. Furthermore, by prioritizing abstraction over memorization, the model becomes more adaptable, learning the underlying logic of timelines rather than merely mimicking specific cases.
Limitations and Future Work
The quality of induced methodologies depends on the base LLM's generalization capabilities; smaller models may struggle with high-level induction. Additionally, the multi-step "thinking" phase may introduce higher latency compared to single-turn prompting. Future research will explore applying Abstract Reasoning Induction to other domains, such as spatial reasoning or legal analysis.
Summary updated