Abstract
Complex Knowledge Base Question Answering (CQA) requires translating diverse natural language queries into logical programs. We present MetA Retrieval Learning (MARL), a framework that jointly optimizes a retriever and a programmer using alternate meta-learning. By identifying analogous questions to "warm up" the programmer for new tasks, MARL achieves state-of-the-art performance on the CQA dataset, particularly in complex reasoning categories, without requiring manual similarity labels.
Introduction
Complex Knowledge Base Question Answering (CQA) involves translating natural language questions—ranging from simple lookups like "What countries have Beijing as their capital?" to complex quantitative comparisons—into sequences of logical operations (programs) executable against a database.
The primary challenge in CQA is the inherent diversity of questions. A "one-size-fits-all" model often struggles because the logic required for a simple question differs fundamentally from that of a comparative count question. While meta-learning offers a path toward rapid adaptation to new tasks, it traditionally relies on a "retriever" to find similar examples. Historically, training these retrievers has required labor-intensive manual labeling of question similarity, and they were often developed in isolation from the downstream problem-solver.
Methods: MetA Retrieval Learning (MARL)
The MARL framework treats each question as a unique task and employs two interconnected neural networks: a Programmer (an encoder-decoder model for program generation) and a Retriever (which identifies "secondary questions" analogous to the target "primary" question).
The core innovation is Alternate Meta-learning, a two-stage iterative process that jointly optimizes both components:
- Stage 1 (Update Programmer): With the retriever fixed, it selects a "support set" of similar questions. The programmer uses these to perform rapid gradient updates (via the Reptile meta-RL approach), adapting its parameters to the specific style of the primary question.
- Stage 2 (Update Retriever): With the programmer fixed, the retriever is updated based on a weak supervision signal: the degree to which the chosen support set actually improved the programmer's performance.
To maintain computational efficiency, the authors implement a Filter Softmax mechanism. This restricts the retriever's search space to questions within the same category, ensuring that "Count" questions are only compared with other "Count" questions.
Evaluation and Results
The model was evaluated on the CQA dataset, a benchmark containing approximately 1.1 million question-answer pairs across seven complexity categories.
Key Performance Metrics
MARL established a new state-of-the-art on the CQA benchmark, achieving an overall micro F1 score of 77.71% and a macro F1 score of 66.96%. This significantly outperforms previous models such as CIPITR (73.31% micro) and KVmem (31.18% micro).
The performance gains were most pronounced in high-complexity categories. For instance, in "Comparative Reasoning," MARL achieved a score of 64.10%, a dramatic improvement over the previous best of 9.60% (CIPITR-Sep).
Insights from Ablation
Ablation studies confirmed the value of joint optimization. Full MARL training provided a +2.99% boost over a vanilla RL baseline. In contrast, using a simple random retriever only yielded a +0.97% improvement, demonstrating that a retriever specifically optimized for the programmer's needs is superior to general text-similarity approaches. Furthermore, MARL achieved these results using only 1% of the available training data for meta-learning tasks, highlighting its efficiency.
Conclusion and Future Work
MARL demonstrates that joint optimization of retrieval and programming via weak supervision effectively addresses the diversity of CQA tasks without requiring manual similarity annotations. While highly effective, challenges remain regarding real-time scalability for massive question banks and the integration of end-to-end entity linking. Future research will explore extending this "Retrieve, Program, Repeat" paradigm to other domains requiring automated support set construction for few-shot learning.
Summary updated