Skip to main content
QUICK REVIEW

[Paper Review] Reasoning Over Virtual Knowledge Bases With Open Predicate Relations

Haitian Sun, Pat Verga|arXiv (Cornell University)|Feb 14, 2021
Topic ModelingComputer Science42 references7 citations
TL;DR

This paper introduces Open Predicate Query Language (OPQL), a method to construct a virtual knowledge base (VKB) from unstructured text without any structured supervision, using a dual-encoder pre-training approach to encode entity-relation pairs. OPQL enables effective multi-hop reasoning and achieves state-of-the-art performance on open-domain question answering when integrated into a language model, outperforming larger models on compositional reasoning tasks.

ABSTRACT

We present the Open Predicate Query Language (OPQL); a method for constructing a virtual KB (VKB) trained entirely from text. Large Knowledge Bases (KBs) are indispensable for a wide-range of industry applications such as question answering and recommendation. Typically, KBs encode world knowledge in a structured, readily accessible form derived from laborious human annotation efforts. Unfortunately, while they are extremely high precision, KBs are inevitably highly incomplete and automated methods for enriching them are far too inaccurate. Instead, OPQL constructs a VKB by encoding and indexing a set of relation mentions in a way that naturally enables reasoning and can be trained without any structured supervision. We demonstrate that OPQL outperforms prior VKB methods on two different KB reasoning tasks and, additionally, can be used as an external memory integrated into a language model (OPQL-LM) leading to improvements on two open-domain question answering tasks.

Motivation & Objective

  • To address the limitations of existing virtual KBs that rely on distant supervision from pre-existing structured knowledge bases.
  • To develop a method for constructing a virtual KB directly from unstructured text corpora without requiring any labeled relations or structured supervision.
  • To enable compositional and multi-hop reasoning over open-vocabulary relations extracted from text.
  • To integrate the OPQL memory into a pre-trained language model to enhance reasoning and question answering capabilities.

Proposed method

  • OPQL constructs a key-value memory where keys are formed from a topic entity embedding and a relation embedding, and values are target entity embeddings.
  • It uses a dual-encoder architecture pre-trained on entity-linked text corpora to learn dense representations of entity-relation pairs.
  • The method learns to encode open-ended, natural language relations (e.g., 'author of') directly from text, avoiding reliance on a predefined KB schema.
  • OPQL supports differentiable reasoning over multiple entries by retrieving relevant key-value pairs based on query embeddings.
  • The system can inject new knowledge entries into the memory at fine-tuning time without retraining the relation encoder or language model.
  • OPQL is integrated into a language model (OPQL-LM) as an external memory, enabling end-to-end training with retrieval and reasoning.

Experimental results

Research questions

  • RQ1Can a virtual knowledge base be constructed from text without any supervision from existing structured knowledge bases?
  • RQ2Can OPQL effectively support multi-hop reasoning over open-vocabulary, natural language relations extracted from text?
  • RQ3Does integrating OPQL as external memory improve performance on open-domain question answering tasks compared to standard language models?
  • RQ4Can OPQL generalize to relations not seen during training, especially in compositional reasoning scenarios?
  • RQ5How does OPQL-LM compare to larger, more parameterized language models on complex reasoning benchmarks?

Key findings

  • OPQL outperforms prior state-of-the-art VKB methods on two multi-hop reasoning tasks, even with significantly less supervision.
  • OPQL-LM achieves a Hits@1 accuracy of 51.9 on WebQSP and 40.7 on ComplexWebQ, surpassing several large language models and setting a new SOTA on the latter.
  • Injecting additional knowledge pairs into the OPQL memory increases coverage from 54.6% to 82.9% and improves overall Hits@1 accuracy from 51.9% to 53.7% on WebQSP.
  • The ablation study shows that removing the null embedding drops performance significantly, indicating its importance for robust retrieval.
  • OPQL-LM with compositional reasoning support achieves a new SOTA on the ComplexWebQ dataset, outperforming much larger text-to-text models.
  • The method scales to millions of entries, enabling efficient retrieval and reasoning without relying on heuristic triple retrieval mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.