Skip to main content
QUICK REVIEW

[Paper Review] Contextualized Representations Using Textual Encyclopedic Knowledge

Mandar Joshi, Kenton Lee|arXiv (Cornell University)|Apr 24, 2020
Topic ModelingComputer Science52 references23 citations
TL;DR

This paper proposes TEK-enriched representations that jointly contextualize input text with dynamically retrieved Wikipedia sentences about mentioned entities, using pretrained BERT-style models. By integrating textual encyclopedic knowledge and fine-tuning with self-supervised pretraining on knowledge-augmented inputs, the method achieves state-of-the-art results on reading comprehension tasks, improving F1 by 1.6–3.1 on TriviaQA and 1.1–4.2 on out-of-domain MRQA datasets.

ABSTRACT

We present a method to represent input texts by contextualizing them jointly with dynamically retrieved textual encyclopedic background knowledge from multiple documents. We apply our method to reading comprehension tasks by encoding questions and passages together with background sentences about the entities they mention. We show that integrating background knowledge from text is effective for tasks focusing on factual reasoning and allows direct reuse of powerful pretrained BERT-style encoders. Moreover, knowledge integration can be further improved with suitable pretraining via a self-supervised masked language model objective over words in background-augmented input text. On TriviaQA, our approach obtains improvements of 1.6 to 3.1 F1 over comparable RoBERTa models which do not integrate background knowledge dynamically. On MRQA, a large collection of diverse QA datasets, we see consistent gains in-domain along with large improvements out-of-domain on BioASQ (2.1 to 4.2 F1), TextbookQA (1.6 to 2.0 F1), and DuoRC (1.1 to 2.0 F1).

Motivation & Objective

  • To improve factual reasoning in reading comprehension by integrating external textual encyclopedic knowledge into contextualized representations.
  • To address the limitation of pretrained models in capturing long-tail factual knowledge by dynamically retrieving relevant Wikipedia sentences.
  • To enable direct reuse of powerful pretrained BERT-style encoders by augmenting input with retrieved textual knowledge.
  • To reduce distributional mismatch between pretraining and fine-tuning inputs by pretraining on TEK-augmented text using a masked language modeling objective.
  • To demonstrate consistent gains across in-domain and out-of-domain question answering benchmarks through knowledge-augmented representation learning.

Proposed method

  • Input text (e.g., question and passage) is augmented with dynamically retrieved Wikipedia sentences about entities mentioned in the input.
  • The augmented input, including both original text and background sentences, is encoded using a pretrained RoBERTa model with special tokens to distinguish input types.
  • A self-supervised masked language model objective is applied during pretraining on TEK-augmented inputs to align the model’s inductive bias with downstream task inputs.
  • Entity linking and n-gram matching are used to retrieve relevant Wikipedia sentences, with the retrieval function being flexible and pluggable.
  • The model is fine-tuned end-to-end on extractive question answering tasks using the TEK-augmented inputs.
  • The approach maintains input length constraints by not increasing the maximum sequence length, despite adding background knowledge.

Experimental results

Research questions

  • RQ1Can dynamically retrieved textual encyclopedic knowledge improve factual reasoning in reading comprehension tasks when integrated into contextualized representations?
  • RQ2Does pretraining on TEK-augmented inputs reduce the distributional shift between pretraining and fine-tuning, leading to better performance?
  • RQ3Can off-the-shelf BERT-style models be effectively adapted to use external textual knowledge without architectural modifications?
  • RQ4How does knowledge integration affect performance on in-domain and out-of-domain question answering benchmarks?
  • RQ5To what extent does the quality of retrieval impact the effectiveness of TEK-enriched representations?

Key findings

  • On TriviaQA, the method achieves F1 improvements of 1.6 to 3.1 over comparable RoBERTa models that do not integrate background knowledge.
  • On MRQA, consistent gains are observed in-domain, with significant out-of-domain improvements: 2.1 to 4.2 F1 on BioASQ, 1.6 to 2.0 F1 on TextbookQA, and 1.1 to 2.0 F1 on DuoRC.
  • Self-supervised pretraining on TEK-augmented inputs substantially improves model performance, reducing the mismatch between pretraining and fine-tuning inputs.
  • The approach enables direct reuse of powerful pretrained encoders like RoBERTa without architectural changes, by formatting inputs to distinguish original text from background sentences.
  • Even with simple retrieval methods (entity linking and n-gram matching), the method achieves strong gains, suggesting potential for further improvement with more sophisticated retrieval.
  • The method maintains input length constraints, avoiding the need to increase the maximum sequence length despite adding multiple background sentences.

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.