Small language models enable rapid and accurate extraction of structured data from unstructured text: An example with plants and their specialized metabolites
Transformer-based large language models are receiving considerable attention because of their ability to analyse scientific literature. Small language models (SLMs), however, also have potential in this area as they have smaller compute footprints and allow users to keep data in-house. Here, we quantitatively evaluate the ability of SLMs to: (i) score references according to project-specific relevance and (ii) extract and structuring data from unstructured sources (scientific abstracts). By comparing SLMs' outputs against those of a human on hundreds of abstracts, we found that (i) SLMs can effectively filter literature and extract structured information relatively accurately (error rates as low as 10%), but not with perfect yield (as low as 50% in some cases), (ii) that there are tradeoffs between accuracy, model size and computing requirements and (iii) that clearly written abstracts are needed to support accurate data extraction. We recommend advanced prompt engineering techniques, full-text resources and model distillation as future directions.
Authors
- Lucas Busta (ORCID: https://orcid.org/0000-0002-0102-9986)
- Alan R. Oyler
Institutions
- University of Minnesota System (US)
- University of Minnesota, Duluth (US)
Publication Details
- Journal
- Quantitative Plant Biology
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1017/qpb.2025.10021
- Primary Topic
- Biomedical Text Mining and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00