arXiv:2610.01616cs.CLOct 2026

Manuscript Offprint

arXiv:2610.01616

Can LLMs Reliably Annotate Bioassay Metadata to Improve Data Readiness?

Laura van Weesep, Riccardo Tedoldi, Jens Sjölund, Hossein Azizpour, Susanne Winiwarter, Ola Engkvist, Jon Paul Janet, Samuel Genheden, Juan Viguera Diez

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The emergence of foundation models for molecular property prediction requires a high degree of AI data readiness, including reliable metadata annotation. However, both public repositories and industrial screening databases suffer from missing, inconsistent, or conflated assay annotations. In this work, we quantify the extent of missing annotations in PubChem for the BioAssay Ontology (BAO) assay format and physical detection method fields and investigate whether open-source and proprietary large language models (LLMs) can reliably predict and audit metadata annotations directly from the assay text. In our assessment, we found that the annotation coverage across PubChem's ~2 million bioassays is critically sparse, 36% lacking an assay format, 89% a BioAssay type, and >99.9% any BAO-mapped assay format or detection technology term. This motivates the need for automated test-metadata curation. Using evaluation sets derived from PubChem and ChEMBL, we assess the agreement of seven open-source and proprietary LLMs with existing silver labels. Recall is at least 0.96 for biochemical and cell-based assay formats, with a similar pattern for detection technology, although disagreements increase on under-represented classes. Manual inspection shows that many of these disagreements trace back to inconsistencies between silver sources rather than to LLM error. Moreover, in a qualitative study with a senior industrial curator, LLM-generated evidence prompted the expert to revise some of their own labels, showing LLMs can flag potentially mislabeled assays. Across the study, performance differences between proprietary and open-source models were small. Together, these results suggest LLMs can support the large-scale annotation and auditing of assay metadata, though per-class reliability estimates and targeted human review remain necessary before such labels enter downstream ML pipelines.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI Data Readiness for Scientific Discovery.

1 Introduction

The FAIR data principles [1] introduced standards to make data findable, accessible, interoperable, and reusable, yet AI readiness for many datasets remains limited. In particular, missing, inconsistent, and incorrect metadata remain widespread problems in scientific data repositories. Bioassay collections are a notable example and a fundamental source of data for machine learning models for drug discovery.

A bioassay measures the effect of a substance on a biological system to obtain insight into the expected biological activity. PubChem [2] is the largest public chemical database, containing more than 100 million compounds and bioassay results from more than a million assays. Many entries lack structured metadata on the nature of the experiment, such as the assay format and the detection method. The lack of metadata in PubChem reflects issues such as records that predate relevant standards or inconsistent use of terminology among contributors. Industrial assay databases present related problems, including missing historical data and the use of single labels, such as the “assay category” to describe several distinct aspects of an assay at once.

The BioAssay Ontology (BAO) [3, 4] addresses the ambiguity challenge by decomposing assays into orthogonal axes, including the biological format and the physical detection method, the endpoint measured and the target with each a formal class definition. This distinction allows for assays of the same format but with a different detection method to be distinguished. It aims to provide a framework for mapping unstructured descriptions to standardized entities. PubChem’s native “BioAssay Type” field mixes format, modality, and endpoint into composite labels such as In vivoToxicity or Cell-basedlRNAi for instance. Disentangling such labels retroactively or filling in missing labels manually does not scale to the level of millions of PubChem records or decades of legacy industrial assays.

Large language models offer a promising approach to close this gap. For instance, instruction-tuned LLMs have recently been shown to perform well on ontology alignment in biomedical fields [5, 6]. Nevertheless, their performance on ontologies with multiple dimensions, such as BAO, remains underexplored. We address this gap by evaluating LLMs on the assignment of BAO assay formats and assay detection methods.

Our contributions can be summarized as: (i) a systematic analysis of missing and inconsistent assay format and detection technique metadata in PubChem BioAssay's bulk-download distribution, (ii) an assessment of four open-source and three closed-source LLMs on text-conditioned BAO assay format classification, using ChEMBL cross-references as a reference label followed by further exploration for physical detection method and subsets of PubChem and (iii) manual review of LLM vs. current-label disagreement, further backed up by a curator, in which we found examples of a senior industrial curator agreeing with the LLM over the original dataset label. Together, these results show that LLMs can detect likely mislabeled assays and in the future support automated annotation 1^{1}.

References (24)