Matching domain experts by training from scratch on domain knowledge

Xiaoliang Luo, Guangzhi Sun, Bradley C. Love
5/15/2024
q-bio.NCcs.AIcs.CL

No official code found. Best implementation: braingpt-lovelab/matching_experts (4 stars, Apache-2.0, last commit 2024-06-30).

Abstract

Recently, large language models (LLMs) have outperformed human experts in predicting the results of neuroscience experiments (Luo et al., 2024). What is the basis for this performance? One possibility is that statistical patterns in that specific scientific literature, as opposed to emergent reasoning abilities arising from broader training, underlie LLMs' performance. To evaluate this possibility, we trained (next word prediction) a relatively small 124M-parameter GPT-2 model on 1.3 billion tokens of domain-specific knowledge. Despite being orders of magnitude smaller than larger LLMs trained on trillions of tokens, small models achieved expert-level performance in predicting neuroscience results. Small models trained on the neuroscience literature succeeded when they were trained from scratch using a tokenizer specifically trained on neuroscience text or when the neuroscience literature was used to finetune a pretrained GPT-2. Our results indicate that expert-level performance may be attained by even small LLMs through domain-specific, auto-regressive training approaches.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Source code for <Matching domain experts by training from scratch on domain knowledge>

41Shell, PythonMay 2, 20242 years agoApache-2.0
domain-expertslarge-language-modelsneuroscience

Similar Papers

Cite this paper

@article{luo2024matching,
  title  = {Matching domain experts by training from scratch on domain knowledge},
  author = {Xiaoliang Luo and Guangzhi Sun and Bradley C. Love},
  year   = {2024},
  eprint = {2405.09395},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.09395v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.09395.svg)](https://codeofpaper.com/paper/2405.09395)

Discussion