Domain-Specific Pretraining for Vertical Search: Case Study on Biomedical Literature

Yu Wang, Jinchao Li, Tristan Naumann, Chenyan Xiong, Hao Cheng, Robert Tinn, Cliff Wong, Naoto Usuyama, Richard Rogahn, Zhihong Shen, Yang Qin, Eric Horvitz, Paul N. Bennett, Jianfeng Gao, Hoifung PoonOpenReview 2021 · DOI

TL;DR

This paper introduces a general framework for building effective vertical search engines by leveraging domain-specific pretraining of language models. Their approach, demonstrated on the challenging biomedical literature domain, achieves state-of-the-art performance in TREC-COVID evaluations without requiring any domain-specific relevance labels for training, showcasing the power of self-supervised learning for specialized search tasks.

What Problem Does This Paper Address?

Information overload is a significant problem in many specialized domains, particularly in high-stakes fields like biomedicine. The sheer volume of new research, exemplified by the rapid proliferation of COVID-19 literature, makes it difficult for researchers and practitioners to find relevant information. Traditional search engines often struggle with the nuances of specialized language and the scarcity of labeled data for training sophisticated ranking models. While general-purpose language models like BERT have revolutionized NLP, adapting them to specific domains for search tasks remains a challenge, especially when direct user feedback (like click logs) is limited or unavailable.

Methods

The authors propose a two-stage approach for vertical search. First, they employ domain-specific pretraining of language models. Instead of using general-domain text, they train models from scratch on a large corpus of domain-specific text (e.g., biomedical literature). This allows the model to learn the unique vocabulary, syntax, and semantic relationships within that domain.

Second, they utilize self-supervised fine-tuning to adapt these pretrained models into neural rankers. This involves generating "noisy" relevance labels at scale from existing, broad-coverage datasets (like MS MARCO) using domain-specific lexicons or ontologies. This process creates a large training set without manual annotation. The overall system uses a standard two-stage retrieval architecture: an initial L1 retrieval (using BM25) to quickly narrow down candidate documents, followed by a more sophisticated L2 neural ranker (based on the domain-specific pretrained model) to re-rank these candidates.

Datasets

  • MS MARCO: Used as a source for general query-document pairs. A subset was filtered using domain-specific terms from ontologies to create self-supervised training data.
  • TREC-COVID: Used as the primary evaluation benchmark for the biomedical domain. Specifically, Round 2 of the TREC-COVID dataset was used for testing.
  • CORD-19: The COVID-19 Open Research Dataset, which served as the source for much of the biomedical literature used in pretraining and evaluation.
  • PubMed: The vast repository of biomedical literature, used for domain-specific pretraining.

Key Insights and Ideas

  • Domain-specific pretraining is crucial: The paper strongly argues that pretraining language models exclusively on domain-specific text yields significant gains for downstream tasks within that domain, outperforming general-domain or mixed-domain pretraining.
  • Self-supervision can overcome annotation bottlenecks: The ability to generate large-scale, albeit noisy, relevance labels from existing datasets is key to training powerful neural rankers without manual annotation, which is often infeasible for specialized domains.
  • Simplicity can be powerful: The proposed approach, while effective, is described as substantially simpler than many top-performing systems in TREC-COVID, which often rely on complex pipelines and extensive manual tuning.
  • Scalability is achievable: The authors demonstrate that their approach can be scaled to millions of documents using modern cloud infrastructure, making it practical for real-world applications.

Key Results

  • Competitive performance in TREC-COVID: The proposed system, using domain-specific pretraining (PubMedBERT and PubMedBERT-COVID), achieved performance comparable to or better than the top-ranked systems in the TREC-COVID Round 2 evaluation, despite using zero TREC-COVID relevance labels for training.
  • PubMedBERT-COVID outperforms others: The domain-specific model, further fine-tuned on COVID-19 data, outperformed even a large general-domain model (covidex.t5) by over three absolute points in NDCG@10.
  • Domain-specific pretraining advantage: Domain-specific models (PubMedBERT, PubMedBERT-COVID) significantly outperformed general-domain models (BERT, RoBERTa, UniLM) and mixed-domain models (SciBERT) in the biomedical search task.
  • Scalability: The system was deployed as Microsoft Biomedical Search, capable of indexing tens of millions of PubMed articles and achieving high query-per-second throughput.

Limitations and Future Work

  • Reliance on existing datasets: The self-supervised fine-tuning relies on the availability of broad-coverage query-document datasets like MS MARCO. For highly niche domains lacking such resources, generating effective training data might require more effort.
  • Lexicon dependency: The generation of self-supervised labels often depends on domain-specific lexicons or ontologies. If these are not readily available, additional work is needed to identify relevant domain terms.
  • Future Directions: The authors suggest further improvements in self-supervised reranking, integrating complementary search methods, and applying the methodology to other high-value domains (finance, law, retail) and enterprise search scenarios. They also highlight the potential to improve existing search engines like PubMed.

Summary updated

BibTeX
@misc{wang2021domain,
  author = {Yu Wang and Jinchao Li and Tristan Naumann and Chenyan Xiong and Hao Cheng and Robert Tinn and Cliff Wong and Naoto Usuyama and Richard Rogahn and Zhihong Shen and Yang Qin and Eric Horvitz and Paul N. Bennett and Jianfeng Gao and Hoifung Poon},
  title = {{Domain-Specific Pretraining for Vertical Search: Case Study on Biomedical Literature}},
  year = {2021},
  eprint = {2106.13375},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.13375},
  howpublished = {OpenReview},
}
Figure