TL;DR
This paper investigates whether the "bigger is better" trend in large language models (LLMs) holds for scientific text. They found that simply increasing model size, training data, or training time doesn't consistently lead to better performance on scientific information extraction tasks, challenging common assumptions.
What Problem Does This Paper Address?
The explosion of scientific literature makes it challenging for researchers to keep up. Large Language Models (LLMs), particularly transformer-based ones like BERT, have shown great promise in automating tasks like information extraction from scientific texts. Previous research has suggested that making these models larger, training them on more data, and for longer durations consistently improves their performance on general tasks. However, it was unclear if this trend holds true for the unique characteristics and complexities of scientific language. This paper aims to empirically test this hypothesis by evaluating various scientific LLMs across multiple scientific downstream tasks.
Methods
The researchers trained a suite of new models called SCHOLARBERT, based on the BERT architecture, using a large, multidisciplinary scientific corpus. They systematically varied key pretraining parameters:
- Model Size: They created SCHOLARBERT models of different sizes, including a 770M-parameter model (SCHOLARBERT-XL), which was the largest science-specific BERT model at the time.
- Training Data Size: They used subsets (1%, 10%, and 100%) of their large scientific corpus for pretraining.
- Pretraining Time: They evaluated checkpoints from different stages of the pretraining process.
- Finetuning Time: They tested the impact of finetuning the models for different numbers of epochs.
They compared these SCHOLARBERT models against existing state-of-the-art scientific LLMs on 12 downstream scientific tasks, primarily focusing on Named Entity Recognition (NER), relation extraction, and sentence classification.
Datasets
Training Data: * Public Resource Dataset: A custom dataset compiled from approximately 75 million journal articles, categorized by discipline (biomedicine, technology, physical sciences, social sciences, arts & humanities). * WikiBooks Corpus: Used in conjunction with subsets of the Public Resource Dataset for some SCHOLARBERT variants.
Evaluation Datasets: * NER Tasks (8 datasets): BC5CDR (diseases, chemicals), JNLPBA (molecular biology concepts), SciERC (AI conference abstracts), NCBI-Disease (disease mentions), ChemDNER (chemical entities), MatSciNER (materials science entities), ScienceExam (science exam questions), Coleridge (sociology articles). * Sentence-Level Tasks (4 datasets): ChemProt (chemical-protein interactions), SciERC (relations), PaperField (multidisciplinary sentence classification), Battery (materials sentence classification).
Key Insights and Ideas
- "Bigger is Not Always Better" for Science: The most striking finding is that simply scaling up model size, data, or training time does not consistently yield significant performance improvements (defined as >1% F1 score) on scientific information extraction tasks. This challenges the prevailing "scaling laws" observed in general LLMs.
- Finetuning is a Powerful Compensator: The ability to finetune models on specific downstream tasks can significantly bridge performance gaps, even for models that were under-trained or trained on less data.
- Task Nature Matters More Than Size: For certain tasks, like relation extraction, larger models showed more consistent gains. However, for NER and sentence classification, the impact of model size was less pronounced.
- Domain-Specific Pretraining Isn't a Silver Bullet: While some domain-specific models performed well, the advantage over general scientific models was often marginal, suggesting that broad scientific pretraining combined with effective finetuning can be a viable alternative.
- Potential Saturation of Pretraining Data: For the largest SCHOLARBERT models, the rapid decrease in pretraining loss early on suggests that even vast amounts of data might not lead to proportional gains beyond a certain point.
Key Results
- Marginal Gains from Scaling: Across 12 scientific downstream tasks, increasing model size, pretraining data, or pretraining/finetuning time often resulted in improvements of less than 1% F1 score, and sometimes no improvement at all.
- Finetuning Impact: An under-trained model (0.9k iterations) saw the biggest boost in F1 scores with more finetuning (up to +8%), but still lagged behind a fully trained model.
- Model Size vs. Performance: BERT-Base and BERT-Large often performed within 1 percentage point of each other on many tasks. Similarly, SCHOLARBERT-1 and SCHOLARBERT-XL showed comparable performance on many tasks.
- Data Size vs. Performance: SCHOLARBERT-1 and SCHOLARBERT-100 often achieved similar F1 scores, indicating that more data doesn't always translate to better performance.
- Domain-Specific Advantage: Only in the biomedical domain was a domain-specific model (PubMedBERT) consistently superior to others by more than 1% F1. For other domains like CS or Materials, the advantage was less clear.
Limitations and Future Work
Limitations: * Limited Evaluation Datasets: The 12 labeled datasets represent only five domains, with a strong bias towards biomedicine. This imbalance might affect the generalizability of the findings. * Model Size Constraints: The largest SCHOLARBERT-XL model (770M parameters) might still be too small to fully observe scaling laws for LLMs. * Task Scope: The evaluation focused on information extraction tasks; other scientific NLP tasks might exhibit different scaling behaviors.
Future Work: * Expand Task Coverage: Extend experiments to tasks beyond NER, relation extraction, and sentence classification, such as question-answering and textual entailment in scientific domains. * Broader Domain Coverage: Include more diverse scientific domains in the evaluation. * Larger Models: Investigate the impact of even larger models to see if scaling laws eventually emerge.
Summary updated