All Models are Wrong, Some are Annotated: Automating Metadata in Biomedical Repositories
Abstract
ObjectiveHigh-quality metadata is essential for scientific discovery, yet sparse annotations in rapidly growing repositories leave many biologically relevant details uncaptured. We evaluated whether large language models (LLMs) can accurately infer ion channel and receptor subtype metadata from source code in a neuroscience repository. Materials and MethodsWe extracted 5,133 model files from ModelDB. A subset of 1,100 was manually annotated; 253 were held out for testing, and the remainder split into training (80%) and validation (20%) sets. LLM-based approaches (GPT-5.2 and GPT-mini) were evaluated under zero-shot and heuristic-augmented prompting. Performance was assessed at type and subtype levels using accuracy, precision, recall, and F1 score. A feature-engineered XGBoost model using text- and simulation-derived features served as a baseline. ResultsLLMs outperformed the XGBoost baseline. At the type level, GPT-mini with heuristic augmentation achieved the highest performance (accuracy 96.0%, F1 0.962). At the subtype level, both GPT-5.2+heuristics and GPT-mini+heuristics achieved identical accuracy (88.1%), with GPT-5.2+heuristics achieving the highest F1(0.878). Model outputs were consistent across runs and errors confined to related mechanistic families. Discussion and ConclusionLLMs demonstrate strong potential for metadata annotation directly from source code, outperforming feature-engineering approaches with minimal tuning. However, performance varied across subtypes, and errors often reflected ambiguity or bias toward more common labels. These findings suggest LLMs may serve as practical tools for scalable metadata generation in biomedical repositories, although careful evaluation and domain-specific validation remain important. While demonstrated in computational neuroscience, this approach may generalize to repository-agnostic metadata annotation in other scientific code repositories.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Large Language Models Can Extract Metadata for Annotation of Human Neuroimaging Publications
Matthew D. Turner, Abhishek Appaji, … Jessica A. Turner·Frontiers in NeuroinformaticsPeer-reviewed·Aug 20, 2025
- Automating literature screening and curation with applications to computational neuroscience
Ziqing Ji, Siyan Guo, … Robert A. McDougal·Journal of the American Medical Informatics AssociationPeer-reviewed·Apr 17, 2024
- Application of large language models to the annotation of cell lines and mouse strains in genomics data
Sanja Rogić, Burak Ogan Mancarci, … Paul Pavlidis·DatabasePeer-reviewed·Jan 1, 2026
- Enhanced semantic classification of microbiome sample origins using Large Language Models (LLMs)
Daniela Gaio, Janko Tackmann, … Christian von Mering·GigaSciencePeer-reviewed·Jan 1, 2026
- Extraction of biological terms using large language models enhances the usability of metadata in the BioSample database
Shuya Ikeda, Zhaonan Zou, … Tazro Ohta·GigaSciencePeer-reviewed·Jan 1, 2025
- Evaluating large language models in biomedical data science challenges through a classroom experiment
Huifang Ma, Zhicheng Ji, … Y. Zhang·Proceedings of the National Academy of SciencesPeer-reviewed·Dec 11, 2025