Predicting Microbial Ontology and Pathogen Risk from Environmental Metadata with Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yoo, Hyunwoo, Rosen, Gail L.
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912509011689472
author Yoo, Hyunwoo
Rosen, Gail L.
author_facet Yoo, Hyunwoo
Rosen, Gail L.
contents Traditional machine learning models struggle to generalize in microbiome studies where only metadata is available, especially in small-sample settings or across studies with heterogeneous label formats. In this work, we explore the use of large language models (LLMs) to classify microbial samples into ontology categories such as EMPO 3 and related biological labels, as well as to predict pathogen contamination risk, specifically the presence of E. Coli, using environmental metadata alone. We evaluate LLMs such as ChatGPT-4o, Claude 3.7 Sonnet, Grok-3, and LLaMA 4 in zero-shot and few-shot settings, comparing their performance against traditional models like Random Forests across multiple real-world datasets. Our results show that LLMs not only outperform baselines in ontology classification, but also demonstrate strong predictive ability for contamination risk, generalizing across sites and metadata distributions. These findings suggest that LLMs can effectively reason over sparse, heterogeneous biological metadata and offer a promising metadata-only approach for environmental microbiology and biosurveillance applications.
format Preprint
id arxiv_https___arxiv_org_abs_2507_21980
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Predicting Microbial Ontology and Pathogen Risk from Environmental Metadata with Large Language Models
Yoo, Hyunwoo
Rosen, Gail L.
Computation and Language
Traditional machine learning models struggle to generalize in microbiome studies where only metadata is available, especially in small-sample settings or across studies with heterogeneous label formats. In this work, we explore the use of large language models (LLMs) to classify microbial samples into ontology categories such as EMPO 3 and related biological labels, as well as to predict pathogen contamination risk, specifically the presence of E. Coli, using environmental metadata alone. We evaluate LLMs such as ChatGPT-4o, Claude 3.7 Sonnet, Grok-3, and LLaMA 4 in zero-shot and few-shot settings, comparing their performance against traditional models like Random Forests across multiple real-world datasets. Our results show that LLMs not only outperform baselines in ontology classification, but also demonstrate strong predictive ability for contamination risk, generalizing across sites and metadata distributions. These findings suggest that LLMs can effectively reason over sparse, heterogeneous biological metadata and offer a promising metadata-only approach for environmental microbiology and biosurveillance applications.
title Predicting Microbial Ontology and Pathogen Risk from Environmental Metadata with Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2507.21980