Abstract
Complex Knowledge Base Question Answering (CQA) involves multi-hop reasoning and symbolic operations such as counting and set intersections. Existing systems often struggle with distributional bias across diverse question types and the lack of ground-truth logical programs. This paper introduces MRL-CQA, a framework leveraging Meta-Reinforcement Learning to adapt to new questions dynamically. By retrieving a small "support set" of similar queries and performing rapid on-the-fly adaptation, MRL-CQA achieves state-of-the-art results on the CQA benchmark, demonstrating remarkable data efficiency by outperforming baselines using only a fraction of the available training data.
Introduction
Knowledge Base Question Answering (KBQA) has transitioned from simple fact retrieval to complex multi-hop reasoning. However, Complex Question Answering (CQA) remains challenging due to two primary hurdles:
- Distributional Bias: A single global model often fails to generalize across diverse reasoning paths required for logical vs. quantitative questions.
- Missing Annotations: Most datasets provide only the final answer (denotation) without the intermediate logical programs. While Reinforcement Learning (RL) can search for these programs, it is typically slow and data-inefficient.
Methodology: The MRL-CQA Framework
The proposed MRL-CQA framework treats each question as a unique "task" in a meta-learning context. It consists of three core components: an Unsupervised Question Retriever, a Seq2Seq Programmer, and an Interpreter.
Components
- Unsupervised Question Retriever: For a given query, it identifies $N$ similar training questions based on semantic overlap and shared Knowledge Base (KB) artifacts (entities, relations).
- The Programmer (Seq2Seq): An attention-based LSTM translates natural language into discrete action sequences (e.g.,
Select,Intersection). - The Interpreter: Executes actions on the KB and provides a "partial reward" based on the Jaccard similarity between predicted and ground-truth answer sets.
Meta-Learning Adaptation
Instead of a static policy, the model learns initial parameters $\theta$ optimized for fast adaptation. During inference, the model performs a few gradient updates using the retrieved support set to specialize its logic for the specific query neighborhood before generating the final program.
Experimental Evaluation
The model was evaluated on the CQA dataset, featuring ~944,000 pairs from Wikidata across seven question categories.
Key Results
- State-of-the-Art Performance: MRL-CQA achieved a Macro F1 of 66.25% and a Micro F1 of 77.71%, significantly outperforming previous models like KVmem and CIP-All.
- Robustness in Hard Categories: The model excelled in "Comparative Reasoning" (62.09%) and "Quantitative Reasoning" (45.06%), where previous "all-in-one" models struggled.
- Data Efficiency: Meta-training on just 2,000 samples (0.2% of the data) allowed the model to surpass standard RL models trained on much larger subsets, proving that "learning to learn" is highly effective in massive search spaces.
Conclusion
MRL-CQA demonstrates that local adaptation via meta-learning is a powerful alternative to global generalization for complex reasoning tasks. While the system's performance depends on the retriever's quality, it sets a new benchmark for data-efficient CQA. Future work includes jointly optimizing the retriever and extending the framework to multi-turn conversational settings.
Summary updated