Exploring the Benefits of Domain-Pretraining of Generative Large Language Models for Chemistry
Preprint
Abstract
A proliferation of Large Language Models (the GPT series, BLOOM, LLaMA, and more) are driving forward novel development of multipurpose AI for a variety of tasks, particularly natural language processing (NLP) tasks. These models demonstrate strong performance on a range of tasks; however, there has been evidence of brittleness when applied to more niche or narrow domains where hallucinations or fluent but incorrect responses reduce performance. Given the complex nature of scientific domains, it is prudent to investigate the trade-offs of leveraging off-the-shelf versus more targeted foundation models for scientific domains. In this work, we examine the benefits of in-domain pre-training for a given scientific domain, chemistry, and compare these to open-source, off-the-shelf models with zero-shot and few-shot prompting. Our results show that not only do in-domain base models perform reasonably well on in-domain tasks in a zero-shot setting but that further adaptation using instruction fine-tuning yields impressive performance on chemistry-specific tasks such as named entity recognition and molecular formula generation.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Domain-Specific Language Model Pretraining for Biomedical Natural Language ProcessingACM Transactions on Computing for Healthcare, 2021
- Lawformer: A pre-trained language model for Chinese legal long documentsAI Open, 2021
- Evaluating the Cross-Lingual Effectiveness of Massively Multilingual Neural Machine TranslationProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Microsoft Academic Graph: When experts are not enoughQuantitative Science Studies, 2020
- BioMegatron: Larger Biomedical Domain Language Model2020
- S2ORC: The Semantic Scholar Open Research Corpus2020
- BioBERT: a pre-trained biomedical language representation model for biomedical text miningBioinformatics, 2019
- PubChem 2019 update: improved access to chemical dataNucleic Acids Research, 2018
- Developing Infrastructure to Support Closer Collaboration of Aggregators with Open RepositoriesLIBER Quarterly, 2016
- The CHEMDNER corpus of chemicals and drugs and its annotation principlesJournal of Cheminformatics, 2015