2023

Adapting Large Language Models to Domains via Reading Comprehension

Cheng, Daixuan, Huang, Shaohan, Wei, Furu

Understand

We explore how continued pre-training on domain-specific corpora influences large language models, revealing that training on the raw corpora endows the model with domain knowledge, but drastically hurts its prompting ability for question answering.

  • Taken inspiration from human learning via reading comprehension--practice after reading improves the ability to answer questions based on the learned knowledge--we propose a simple method for transforming raw corpora into reading comprehension texts.
  • Each raw text is enriched with a series of tasks related to its content.
  • Our method, highly scalable and applicable to any pre-training corpora, consistently enhances performance across various tasks in three different domains: biomedicine, finance, and law.

Reading the bibliography…