Skip to main content
Genome Biology logoLink to Genome Biology
. 2026 Jul 23;27:235. doi: 10.1186/s13059-026-04207-7

Comparative assessment of large language models for microbial phenotype assignment

Philipp C Münch 1,2,5,6,7,✉, Nasim Safaei 1,2, René Mreches 1,2,7, Martin Binder 3,4, Yichen Han 1,2,3, Gary Robertson 1,2, Eric A Franzosa 5, Curtis Huttenhower 5, Alice Carolyn McHardy 1,2,6,7,✉
PMCID: PMC13397958  PMID: 42493805

Abstract

Background

Large language models (LLMs) are increasingly used to extract knowledge from text, yet their coverage and reliability in biology remain unclear. Microbial phenotypes are especially important to assess, as comprehensive data remain sparse except for well-studied organisms and they underpin our understanding of microbial characteristics, functional roles, and applications.

Results

Here, we systematically assessed the biological knowledge encoded in publicly available LLMs for structured phenotype assignment of microbial species. We evaluated the performance of up to 57 LLMs across different experiments, including state-of-the-art models such as Claude Sonnet 4 and the GPT-5 family of models. Across phenotypes, LLMs reached accurate assignments for many species, but performance varied widely by model and trait, and no single model dominated. Model self-reported confidence is informative, with higher confidence aligning with higher accuracy, and can be used to prioritize phenotype assignment, effectively distinguishing between high- and low-confidence inferences.

Conclusions

Overall, our study outlines the utility and limitations of text-based LLMs for phenotype characterization in microbiology.

Supplementary Information

The online version contains supplementary material available at 10.1186/s13059-026-04207-7.

Background

The exponential growth in scientific publications has led to a wealth of knowledge dispersed across numerous databases and platforms [1–3]. However, much of this is provided as unstructured text and paired with sparse, heterogeneous, or missing metadata, complicating discovery and integration. The diverse and distributed nature of these resources poses substantial challenges for researchers seeking to comprehensively understand a topic [4]. This also limits reuse in machine-learning-based efforts, which often require high-quality Findable, Accessible, Interoperable, and Reusable (FAIR) data available in structured, machine-actionable formats [5].

Large language models (LLMs) are increasingly used for large-scale text extraction. These models are typically trained on vast and largely unspecified text corpora from the internet [6, 7], which contain billions of web pages across diverse domains and languages. Consequently, the resulting models capture and generalize from an extensive cross-section of human knowledge, including both everyday discourse and specialized scientific expertise. This broad training also encompasses substantial amounts of scientific literature, such as research articles, preprints, and technical documentation that have been made publicly available online through open access repositories, institutional websites, and scientific databases.

Microbial phenotype data describe the traits of microorganisms, such as morphology, metabolism, growth conditions, and ecological roles that result from the interaction between their genetic makeup and environment. These data can be found in diverse sources, such as primary research literature, taxonomic monographs like Bergey's Manual [3], and curated databases such as BacDive [8] and the List of Prokaryotic Names with Standing in Nomenclature (LPSN) [9]. Typically, phenotypic information is compiled through expert curation, where researchers extract data from the literature and laboratory records to create structured datasets. These resources capture only a slice of the available phenotypic information due to the time-consuming and labor-intensive nature of manual curation. Achieving comprehensive coverage and timely incorporation of new information with this approach remains challenging. LLMs offer a promising complement to this approach due to their capabilities for rapidly extracting and synthesizing information from text, and to create structured, machine-actionable FAIR data records.

In this study, we evaluated the capacities of available large language models to query and integrate microbial phenotypic data from multiple sources [10]. Specifically, our study addresses three questions: (i) how accurate and consistently can LLMs assign microbial phenotypes to microbial taxa (ii) to what extent do they recognize and quantify their own uncertainty, and (iii) how can hallucinations, which are one of the most pervasive challenges in LLM-based knowledge extraction, be identified and mitigated. To facilitate future model comparisons and assessments, we provide a comprehensive benchmarking framework and high-quality, structured, and machine-readable microbial phenotype data.

Results

Platform for reproducible benchmarking of general-purpose LLMs

To assess the microbial knowledge captured by large language models (LLMs), we established a benchmarking setup to evaluate general-purpose models on domain-specific microbial knowledge tasks under controlled, reproducible conditions. Our evaluation was conducted in a zero-shot setting, where models were queried directly without any task-specific fine-tuning, contextual examples, retrieval augmentation, or access to external databases. The platform ensures comparability across models through standardized species sets and phenotype metrics, enabling consistent evaluation of knowledge depth, accuracy, and calibration. Beyond assessing individual models, it provides a scalable reference for tracking progress in biological reasoning across successive LLM generations.

To implement this approach, we developed a browser-accessible framework specifically designed to automate the end-to-end evaluation of LLMs for microbial phenotype inference tasks. The system accepts a list of biological entities (e.g., species names) and a set of query and validation templates, then automates standardized prompting, response parsing, and comparison to ground-truth datasets (Additional file 1: Fig. S1). The framework is model-agnostic and supports multiple LLM providers through OpenRouter, an API aggregation service that ensures consistent and reproducible access to a diverse set of LLMs. The framework incorporates several key features for robust evaluation. It uses a machine-readable output schema for harmonized evaluation across experiments and incorporates mechanisms for output validation and error handling, such as retries for malformed responses or API failures. Unified prompt templates enable reproducible experimentation across models and traits, while built-in logging ensures traceability of all evaluations. While this framework can be extended to related microbiology tasks, such as growth conditions or metabolic capabilities, we focused here on microbial phenotypes as a well-defined and diverse demonstration case.

We make all results available through a browser-based dashboard that renders analyses directly from the evaluation database. As runs complete, the dashboard updates summary statistics and comparative plots in real time, allowing model- and species-set–level stratification without additional processing. Users can filter by model/provider and compare successive model generations. Visualizations are generated from the same machine-readable schema used for scoring, ensuring versioned, reproducible figures and exportable data.

Within this framework, we assembled a panel of up to 57 large language models to capture the current diversity of the LLM landscape, with the number of models evaluated varying across experiments depending on computational cost. The panel spans systems released between 2023 and 2025, encompassing multiple model families, scales, and both closed-source and open-weight models. It includes proprietary systems (e.g., GPT-family, Claude, Gemini), widely available open-weight models (e.g., DeepSeek, Llama, Gemma), and community-released options (e.g., Mixtral), covering both base and instruction-tuned variants. This diversity enables comparisons across architectures, parameter scales, and training philosophies, from compact models (< 10B parameters) designed for local inference to frontier systems deployed via cloud APIs. We designed this panel to represent the spectrum of tools most likely to be used in research and applied microbiology, balancing readily accessible and lower-cost options with state-of-the-art commercial models such as GPT-5. This breadth also allows us to examine how model size, accessibility, and provenance influence the retention and calibration of microbial phenotype knowledge.

Dataset for microbial phenotype inference

To assess and optimize LLM performance for microbial phenotype assignment, we implemented a two-tier evaluation strategy. In the first phase, we conducted a comprehensive model comparison using the WA subset, as its richer assignments provide a stronger basis for validation. We processed all binomial names across different LLM models, enabling a thorough comparative analysis of their performance and identification of high-performing models for our tasks. In the second phase, we extended assignments to the more poorly characterized taxa in the LA subset, where sparse assignment makes direct validation less reliable. Based on the WA evaluation, we selected grok-3-mini as the best-performing model for systematic assessment of the LA subset, balancing accuracy with computational cost.

Quality, consistency and hallucination-content of LLM-generated output

LLMs can generate convincing-sounding answers even when their knowledge of a topic is limited or nonexistent [11]. This tendency to "hallucinate" poses a substantial challenge in validating the reliability of LLM-generated information, particularly in specialized fields such as microbiology. It is critical to avoid incorporating confidently asserted yet incorrect information into microbial research databases, which could potentially misdirect research efforts or lead to erroneous conclusions. To evaluate this issue, we established a method that leverages an LLM's ability to self-assess its own knowledge base, serving as an effective filter against potential hallucinations.

The filtering method evaluates LLMs' ability to self-rate their knowledge about specific microbial species and provide reliable phenotypic description. To this end, bacterial species are categorized into four knowledge classes: non-assigned (‘NA’), ‘Limited,’ ‘Moderate,’ and ‘Extensive’. We then designed three increasingly verbose queries ("Templates 1–3") to assess this confidence level based on the binomial name (Additional file 2: Sheet 5). For example, query template 1 defines classes such as “Minimal to basic information available, challenging to make accurate assignments; ‘Moderate’: Moderate information available, including some phenotypic, morphological, genetic, or physiological characteristics […]”. Query template 3 adopts a more data-driven classification approach: “[…] Limited: Species with minimal data and research, typically with few species or subspecies (< 5 species, < 2 subspecies), little genetic information (< 10 scientific articles), no complete genome sequences, and limited presence in culture collections (absent or very few species) […]”. Furthermore, template queries 2 and 3 contain the phrase “If the species name is not a real or recognized bacterial species, or if there is no information available to determine the knowledge level, respond with NA” to assess the model’s capability to recognize knowledge gaps and avoid hallucination.

To assess the robustness of the LLM's confidence scoring system, we generated sets of artificial binomial names (n = 50 each) across four categories (Fig. 1D, Additional file 2: Sheet 6). These included (i) completely artificial names consisting of combinations of English words (e.g., "Amber Field"); (ii) Latin words (e.g., "Solispira lumina") and (iii) hybrid names, representing combinations of Latin words with real genus or species elements (e.g., "Mycobacterium ferrum", "Temporibacter coli"). We then evaluated all LLM models using these 200 artificial binomial names, applying the most comprehensive query template 3 to assess each model’s ability to correctly identify and categorize non-existent species (Fig. 1E, Additional file 2: Sheet 7). For larger LLMs such as OpenAI GPT-4 or Anthropic's Claude 3.5 Haiku, the proportion of misclassified terms for each query type is low (with 0%, 0.5%, and 1.5% misclassified artificial binomial names for high, medium, and low verbosity, respectively). In contrast, the smaller and more cost-effective model (llama-3-8b-instruct) showed reduced misclassification rates with increasing query verbosity (misclassified terms: 98%, 97.5%, and 74%, for low, medium, high verbosity, respectively). This suggests a potential interaction between model size and the benefit derived from more verbose queries.

Fig. 1.

Fig. 1

Overview of the LLM-based microbial phenotype evaluation framework and benchmark dataset characteristics. A Distribution of labels and assignment completeness across phenotypes in the WA subset. Abbreviations: pos./neg.: Gram +/Gram-; T.: TRUE; F.: FALSE, BSL-2, biosafety level 2. B Distribution of the ten most prevalent phyla in the WA and LA subsets. C Correlation between Google search results and assignment completeness. Species with fewer Google search results have more missing phenotypic attributes in the WA set. D Schematic of synthetic binomial name generation for hallucination assessment. Four categories of fictional species names were created. E Each synthetic name was evaluated using prompts that asked LLMs to self-rate their knowledge level. F Framework for validating self-rated knowledge against web information availability. For each real binomial species name, models provided knowledge ratings, which we compared against the number of Google search results for that species

We then evaluated 57 large language models on the hallucination benchmark data using the more verbose query template 3, which explicitly allows models to respond with “NA” for unknown species (Fig. 2). From 11,399 model inferences overall, 66% (7,526) correctly generated N/A rejections and 0.3% (38) inference failures/no-results and 33.6% (3,835) hallucinations, where models incorrectly provided a knowledge group assignment for non-existing species (Additional file 2: Sheet 7). We observed substantial variations in hallucination rates from 0.5% to 92% for different models (Fig. 2). The top-performing model, gpt-5-nano, achieved 99.5% accuracy in correctly identifying artificial taxa as unknown. Other high-performing models include gpt-5 (97.5% accuracy) and grok-4 (96.0% accuracy, Additional file 2: Sheet 8). Conversely, we identified models with significantly higher hallucination rates. The worst performer, llama-3.2-3b-instruct, correctly groups 8% of artificial taxa in the NA/unknown group. These results highlight a substantial variability in model reliability when handling fabricated microbial taxa and underscore the importance of careful model selection for microbiological applications.

Fig. 2.

Fig. 2

Hallucination rates across LLMs, stratified by fabricated-name category. Each row is one of the 57 evaluated language models, sorted by overall hallucination rate (lowest at top). Every model was queried with 200 fabricated binomial names using a prompt that explicitly allows "N/A" as a valid response; fabricated names were balanced across four categories (n = 50 each): English word pairs (e.g. "Amber Field"), pseudo-Latin inventions (e.g. "Solispira lumina"), real genus with invented Latin species epithet (e.g. "Mycobacterium ferrum"), and invented Latin genus with real species epithet (e.g. "Temporibacter coli"). The leftmost panel shows the aggregate hallucination rate, i.e., the proportion of fabricated names across all four categories for which the model returned any knowledge level other than N/A. The four right-hand panels decompose each model's responses separately for each category into correct rejection (N/A, gray) and three hallucination severities: limited (yellow), moderate (blue), and extensive (green). An ideal model would return N/A for every fabricated name

Knowledge calibration and model agreement on real microbial species

We then applied this knowledge rating strategy to the well-assigned (WA) dataset to evaluate a panel of 22 LLMs (Additional file 2: Sheet 9), selected to balance model diversity with computational feasibility. Since there is no ground truth for the correct knowledge group assignments, as appropriate classification depends on each model’s training data, which in most cases are not publicly accessible, we employed the Shannon entropy of model assignment consistency, a measure quantifying how consistently models assign each species to the same knowledge group, as an indirect measure of classification uncertainty. We complemented this with an alignment analysis using Google search counts to assess whether model classification correlates with real-world information availability (Fig. 1F). Knowledge group distribution varied substantially across the evaluated models (Fig. 3A). Of the 3,884 species in the WA set, only 91 species achieved consensus across all models, while for the majority models disagreed: 1,046 species were assigned to two knowledge groups, 2,291 species across three groups, and 456 species across all four different knowledge categories (including ‘NA’) (Fig. 3B, Additional file 2: Sheet 10). Species with the highest classification uncertainty (entropy) included members of Streptomyces and species such as Metamycoplasma arthritidis (Fig. 3C).

Fig. 3.

Fig. 3

Inter-model agreement on knowledge group classifications. A Distribution of knowledge group assignments across evaluated models and species in the WA dataset. B Species ranked by classification uncertainty (Shannon entropy) using query template 3. Each point represents one species, sorted from highest disagreement (top) to highest agreement (bottom). Low-entropy species at the bottom reflect unanimous classification, where all or nearly all models assigned the same knowledge group. Colored regions indicate entropy thresholds corresponding to species split across two, three, or four different groups. Species in the upper region show the greatest inter-model disagreement, with models distributing classifications across multiple knowledge categories (see panel C for examples). C Heatmap showing the seven species with the highest classification entropy from panel B, illustrating how different models split their knowledge group assignments for these ambiguous cases. Each row represents one model, and colors indicate the assigned knowledge group (percent). D Distribution of knowledge-groups for the 91 taxa achieving full consensus (entropy = 0) across all tested models, categorized by their unanimously assigned knowledge group. Well-characterized species like Escherichia coli were consistently classified as ‘Extensive’ (green), while recently described species like Chryseobacterium arachidis were classified as ‘Limited’ (yellow). E Relationship between knowledge group assignment and web information availability. Distribution of Google search hit counts for microbial species in each knowledge category. Different models assigned varying numbers of species to each group, resulting in model-specific Spearman rank correlations between self-assessed knowledge level and web presence

In contrast, species with strong inter-model agreement reflected expected patterns based on research prominence. Well-characterized species like Escherichia coli and Klebsiella pneumoniae were consistently classified in the ‘Extensive’ knowledge group (Fig. 3D), while in the ‘Limited ‘ group contained recently discovered species such as Chryseobacterium endophyticum, reported in 2017 [12] and C. ginsengisoli, reported in 2013 [13]. This differentiation between well-established and recently described species validates our knowledge classification system and demonstrates its ability to reflect the current state of microbial research. The approach provides a reliable metric for assessing the extent and accuracy of knowledge contained within LLMs about specific microbial taxa.

To evaluate how well model classifications align with real-world knowledge availability, we compared their knowledge grouping with Google search result counts retrieved using the exact binomial species name. The taxa with the largest number of indexed pages were, as expected, Escherichia coli (118 M hits), Staphylococcus aureus(70 M), and Pseudomonas aeruginosa (34 M). In contrast, lesser-known species such as Qipengyuania xiamenensis and Qipengyuania sphaerica returned 4 and 5 hits, respectively. We then calculated a web alignment score for each model by correlating its knowledge-level assignments with the log-transformed Google hit count. Models varied in their degree of alignment; gpt-4 showed a strong Spearman rank correlation (ρ = 0.704), while gpt-4o-mini had a lower correlation (ρ = 0.362), largely because gpt-4o-mini classified far more species into the ‘Extensive’ knowledge group (n = 1,391) than gpt-4 (n = 111) (Fig. 3E). Further, gpt-4o-mini classified 1,391 species as having ‘Extensive’ knowledge, compared with only 111 for gpt-4, suggesting that smaller instruction-tuned variants may overestimate their familiarity with biological entities or use different internal thresholds for knowledge assessment. Models such as gemma-3-27B, and certain earlier Claude variants ranked lowest in alignment, likely due to differences in training data composition. Interestingly, gpt-5-nano and gpt-4 also assigned around twice as many species to the “NA” category compared with other models, suggesting that their higher correlation score stemmed in part from more conservative, less overconfident classifications.

Benchmark reveals LLM proficiency and limitations in phenotype assignment

Assignment accuracy varied substantially across phenotypic attributes and models (Fig. 4A). Across all models, ‘spore formation’ was the most accurately assigned phenotype (mean balanced accuracy: 89.8%), while ‘biofilm formation’ proved most challenging (mean balanced accuracy: 53.0%), followed by ‘Gram staining’, which was largely attributable to poor performance on Gram-variable species. For example, while Gemini-2.5-pro performs best for spore formation, GPT-4.1-nano excels at cell shape assignment, with a balanced accuracy of 91.7%, substantially outperforming the other 30 models (Fig. 4B). Notably, it achieves very high performance on spirillum (100%), and tail (99.3%) morphologies. This primarily results from correctly classifying Streptomyces members as having tail-shaped morphology, while most other models misclassify them as bacillus-shaped. Overall, Gemini-2.5-pro achieved the top performance for two phenotypes, more than any other individual model.

Fig. 4.

Fig. 4

LLM performances in assigning phenotypes to microbial species. A Balanced-accuracy heatmap for phenotype assignment across 31 models for 3876 species. Columns correspond to evaluated phenotypes; rows show models ordered by mean balanced accuracy. The best-performing model per phenotype is underlined. Models are colored by organization. B Confusion matrices for selected phenotype assignment tasks, showing model performance on specific traits. C Horizontal ranges show organization-wise balanced accuracy, sorted by best-performing model per organization. D Relationship between model size and phenotype assignment accuracy. Balanced accuracy vs. parameter count (log scale), colored by organization, reveals a scaling trend. Models with undisclosed parameter counts are not shown here. E Publication date vs. accuracy indicates modest temporal gains

We also evaluated the ability of LLMs to assign microbial biosafety levels (BSL-1, BSL-2, BSL-3), which correspond to increasing laboratory containment and safety requirements. The dataset is highly imbalanced, with far more BSL-1 classified species than species with higher biosafety levels (Fig. 1B). Biosafety level assignment represents the second most accurate assigned phenotype, with the best-performing model (claude-3.5-sonnet) achieving 91% balanced accuracy, outperforming even the newer claude-sonnet-4 (Fig. 4A, B). When aggregating performance by organization with at least two evaluated models (excluding xAI which had the model with highest accuracy), DeepSeek achieved the highest mean accuracy (75.2%, n = 2 models), followed by Anthropic (74.5%, n = 3), and OpenAI (74.4%, n = 10). Notably, no single model dominated in performance across all phenotypes; different LLMs excelled at different assignment tasks (Fig. 4C). Notably, claude-3.5-sonnet correctly classified all eight BSL-3 species in the dataset. However, it also misclassified some BSL-1 species as BSL-3, specifically members of the Brucella genus (e.g., Brucella cytisi, Brucella grignonensis). Given the recent reclassification of Brucella cytisi from the genus Ochrobactrum, the model likely overestimated biosafety risk based on genetic proximity to other pathogenic Brucella species [14]. These misclassifications highlight how the benchmark reflects both the coverage and potential biases in training corpora, as well as genuine taxonomic ambiguities in the scientific literature.

We next assessed how phenotype classification performance scaled with model characteristics. Accuracy showed a strong positive correlation with model size (Pearson r = 0.74, n = 15 models with reported parameter counts) and a moderate correlation with publication date (Pearson r = 0.43, n = 29 models), suggesting that larger models substantially captured more phenotypic information in our evaluation (Fig. 4D, E). The top-performing 2024–2025 releases clustered around mean balanced accuracies of 0.74–0.77, whereas mid-sized models from 2023 typically scored ~ 0.1 points lower. Together, these trends indicate both rapid recent progress in LLM capabilities and a pronounced model size effect, suggesting that accuracy will likely continue to improve with larger model architectures. Stratifying the same panel by accessibility showed an average advantage for closed-source over open-weight models (0.73 vs. 0.68 mean balanced accuracy across phenotypes), but the best open-weight models (DeepSeek-R1, gpt-oss-120b) came within 1 percentage point of the strongest closed-source systems (Additional file 1: Fig. S2).

We further stratified phenotype-assignment accuracy by prokaryotic clade, projecting per-species balanced accuracy onto a PhyloPhlAn tree and aggregating at the NCBI phylum and order levels (Additional file 1: Fig. S3). At the phylum level, the three largest phyla (Pseudomonadota, Actinomycetota, Bacteroidota) all ranged within 0.01 of the overall mean accuracy, ruling out a simple "more data, higher accuracy" effect across phyla; Bacillota had highest values (+ 0.08, driven by motility and cell shape), while Myxococcota (− 0.19) and Campylobacterota (− 0.07) had the lowest, and Euryarchaeota also showed a decrease (− 0.06) relative to the average. Notably, within-phylum variation was substantially larger than between-phylum variation: mean accuracies ranged from 0.72 to 0.92 across the 30 orders with at least 10 species, with Actinomycetota and Pseudomonadota showing the largest within-phylum variation (both 0.18) and Bacteroidota the lowest (0.05). Notably, Actinomycetota contained both the best assigned order (Bifidobacteriales, 0.92) and one of the worst (Kitasatosporales, 0.74, n = 329 species), illustrating that phylum-level averages can mask substantial within-phylum variations of assignment accuracies.

Enhancing and extending phenotype assignments via LLM assignments

To further leverage high-accuracy assignments, we developed a strategy to identify the best-performing model for each phenotypic attribute. In this analysis, we used the same model for both knowledge group stratification and phenotype assignments, ensuring consistency in the evaluation process. We first examined the relationship between the LLM’s self-rated knowledge level (using query template 3) and its performance (Additional file 2: Sheet 9). For analyzing knowledge-group trends, we applied stringent filtering criteria: we included only model-phenotype pairs with at least 30 labeled species within each knowledge group, and required each knowledge group to contribute at least 250 total observations across all models, before calculating group-level averages. Under these criteria, we observed a monotonic increase in balanced accuracy as self-rated knowledge level increased, consistent across models and phenotypes (Jonckheere–Terpstra trend test: z = 5.02, p = 2.54*10⁻⁷, Fig. 5A).

Fig. 5.

Fig. 5

Improvement of microbial phenotype assignments with increasing knowledge confidence of LLMs. A Relationship between self-rated knowledge groups for models demonstrates consistent improvement with increased self-reported knowledge (mean Pearson r = 0.75 across phenotypes; Jonckheere-Terpstra test p = 2.54 × 10⁻⁷). The dashed line represents the mean across models. B Phenotype-specific knowledge scaling. Plant pathogenicity accuracy increased steadily from ‘Limited’ to ‘Extensive’ knowledge groups. The dashed line represents the mean. Yellow denotes results from OpenAI models. C Cross-dataset performance consistency. Scatterplot shows the correlation between balanced accuracy on the WA and LA dataset for grok-3-mini across different phenotypes. Orange line represents linear fit, while dashed line represents the identity line (x = y). D Performance gains from ‘Extensive’ knowledge filtering. Change in balanced accuracy when restricting to species self-rated as ‘Extensive’ knowledge versus all species, showing substantial improvements for eight of nine phenotypes. E Novel high-confidence assignments generated by LLMs. Number of new phenotypic assignments for species lacking ground-truth data, for best performing model and cases where the model self-rated its knowledge as ‘Extensive’ for each phenotype. F Novel high-confidence assignments generated for the LA dataset. Number of new phenotypic assignments for species lacking ground-truth data in the LA set, using grok-3-mini and restricted to cases where the model self-rated its knowledge as ‘Extensive’

This effect was especially pronounced for ‘plant pathogenicity’ (Benjamini–Hochberg adjusted p = 1.53 × 10⁻⁷) and ‘Gram staining’ (BH-adjusted p = 3.18 × 10⁻5), with all other traits except ‘extreme-environment tolerance’ remaining significant after false discovery rate control (Fig. 5B). Species self-rated with ‘Moderate’ or ‘Extensive’ knowledge groups averaged 76.2% and 79.7% balanced accuracy, respectively, compared with 72.6% in the ‘Limited’ knowledge group, demonstrating that self-assessed knowledge level serves as a useful indicator of assignment reliability. Consistent with this trend, within-phenotype correlations between knowledge level (coded ordinally as ‘Limited’ = 1, ‘Moderate’ = 2, ‘Extensive’ = 3) and balanced accuracy were positive for eight of the nine phenotypes meeting our filtering criteria.

For each of the 10 phenotypes we compared the assignment accuracies of all LLMs within the ‘Extensive’ knowledge group. This approach identified optimal phenotype-model pairs, where certain models demonstrated superior performance for specific attributes. Restricting assignments to the ‘Extensive’ knowledge group produced accuracy changes that varied substantially by phenotypes (Fig. 5D), with large gains for some and small declines for others. ‘Gram staining’ showed the largest improvement (+ 28.7 points; from 69.5% to 98.1% balanced accuracy), followed by ‘plant pathogenicity’ (+ 11.5 points; from 79.4% to 90.9%). ‘Biosafety level’ and ‘host association’ each increased approximately 3–4 percentage points (+ 4.28 and + 3.15 pp, respectively), while ‘motility’ was essentially unchanged (− 0.49 pp) and ‘extreme environment tolerance’ decreased by 7.04 percentage points.

Leveraging these optimal phenotype-model pairs (Additional file 1: Table S3), we extended assignments in the WA subset to fill gaps in the existing data. Using the best-performing model for each attribute, we generated 295 new high-confidence phenotype assignments across 256 species that previously lacked assignments for those traits (Fig. 5E, Additional file 2: Sheet 13). This targeted augmentation increased overall assignment completeness in the WA subset by 0.76 percentage-points, with the most substantial gains observed for ‘cell shape’ (+ 109 species annotated), ‘spore formation’ (+ 77), and ‘animal pathogenicity’ (+ 75). The LA evaluation set encompassed 15,256 species with sparse phenotype metadata (Additional file 1: Table S1). Assignments completeness varied substantially by phenotype: while some traits such as ‘Gram staining’ were relatively complete (6.8% missing), others like ‘spore formation’ had substantial gaps, with over 20% of assignments absent. To test whether LLMs could accurately assign phenotypes despite this sparsity, we deployed grok-3-mini, which showed strong performance in the WA benchmark, to the entire LA dataset.

As the model’s self-rated knowledge scores correlate with accuracy, we next applied a stringent filter to the grok-3-mini assignments: we retained only cases where (i) the model self-rated its knowledge as ‘Extensive’ for that species, and (ii) the LA dataset lacked any ground-truth assignment for that phenotype. This filtering yielded another 1,382 new, high-confidence phenotype assignments across 253 species (Fig. 5F, Additional file 2: Sheet 14), including 236 for ‘motility’ and 228 for ‘biofilm formation’, among others. While the confidence levels for these assignments may be lower than those on the WA subset, they provide valuable further metadata facilitating expert review and confirmation. To test whether these novel assignments reflect missing annotations rather than hallucinations, we manually verified a stratified sample of 45 assignments using an agentic LLM system with web search and bioRxiv access. On the Extensive knowledge tier, 21 of 26 (81%) entries with a clear result were directly supported by primary literature, matching the balanced accuracy reported for the same models on ground-truth-covered species in Additional file 1: Table S2 (mean 82%). Contradictions clustered in morphology-related phenotypes, primarily cell-shape over-generalization.

Discussion

LLMs are increasingly used for integrating and synthesizing knowledge across diverse scientific domains, but they remain prone to generating plausible-sounding yet incorrect information, including clinically relevant hallucinations that can misguide organism identification and resistance profiles [15]. In this study, we systematically evaluated the strengths, limitations, and consistency of LLMs in deriving high-quality phenotype metadata for microbial species from texts, assessing up to 57 models depending on the experiment. Microbial phenotypes underpin our understanding of microbial characteristics, functional roles, and applications, and are therefore a key to comprehensively and accurately describe in microbiology. Based on our results, this setup makes it possible to identify the conditions under which LLMs produce high-confidence, high-accuracy assignments and to focus downstream analyses on these reliable subsets. To enable reproducible and extensible evaluation, we developed an automated framework that uses standardized species sets, defined phenotype queries, and structured evaluation metrics and a self-assessment approach to systematically assess the propensity to hallucinate for different models. This framework facilitates continuous updates as new LLMs become available, providing a versioned benchmarking server with a browser interface that reports accuracy, calibration, and hallucination metrics and supports continuous re-evaluation as models evolve, with further applications for other data types in microbiology.

Applications of LLMs in microbiology to date have targeted related problems with varying success, such as re-annotating sequencing records into environmental categories to classify microbial samples into ontology categories, including assignment of Escherichia coli pathogen contamination risk from environmental metadata [16]. Other work evaluates extraction of biological terms (e.g., cell lines/genes) from NCBI/EBI BioSample text [17]. Large-scale assessment on eukaryotic species using IUCN Red List information report strong knowledge retrieval, but weaker ecological reasoning [18]. Recent successful applications of LLMs to biomedical data include using models with advanced retrieval strategies such as Retrieval-Augmented Generation (RAG), for example platforms like AskMicrobe that enrich general models with domain-specific context.

Our hallucination evaluation benchmark revealed clear performance stratification among models in their ability to recognize and correctly reject non-existent taxa. Generally, larger and more recent LLMs consistently outperformed smaller or early-generation models. The top performers, gpt-5-nano, gpt-5, and grok-4, showed markedly higher accuracy in identifying artificial binomial names as unknown. In contrast, smaller instruction-tuned models such as llama-3.2-3B-Instruct, Mistral-7B-Instruct, and older Gemma variants exhibited high hallucination rates on these data, often producing confident, yet incorrect classifications for synthetic taxa. Notably, even some widely deployed, large models such as gpt-4o demonstrated moderate hallucination tendencies, suggesting that model scale alone does not guarantee reliable uncertainty handling. Among open-weight models, gpt-oss-120b emerged as one of the best performers, demonstrating that proprietary systems do not uniformly outperform open alternatives by a large margin.

We next quantified how the amount of knowledge available on the internet for a given species relates to the LLM’s model confidence by measuring the model’s self-assessed knowledge level for real species and relating this to the number of Google search result counts for the same binomial names. Larger and more recent models generally showed better web-alignment, suggesting that both model scale and training recency improve knowledge calibration. However, we observed considerable variation even between models that are architecturally similar. When comparing knowledge-level self-assignments across models, we found varying degrees of agreement. As expected, well-characterized species showed high consensus across models. Interestingly, many low consensus cases could be traced to linguistic sources of confusion rather than genuine knowledge gaps: recent taxonomic reclassifications (Metamycoplasma arthritidis), Latin spelling variants (terra vs. terrae), concatenated epithets (albiflaviniger), or prefixes like “pseudo–” that cause spurious associations (Rhodopseudomonas pseudopalustris). These subtle variations in microbial nomenclature demonstrate that inter-model disagreement often reflects the inherent complexity and ambiguity of biological language rather than incomplete training.

Having evaluated how LLMs self-assess their knowledge and handle uncertainty, we examined how these capabilities translate to biological assignment tasks. Across the phenotype benchmark, no single model uniformly dominated performance, with most contemporary LLMs achieving similar overall accuracies (Fig. 4A). Performance varied systematically by phenotype: morphology-linked traits like spore formation, cell shape, and taxonomically stable characteristics such as biosafety level achieved consistently higher accuracy, whereas attributes like biofilm formation and Gram variability classification remained challenging. Several models, primarily older or smaller architectures, underperformed across multiple traits. Those patterns have important practical implications for model deployment. First, model selection should be phenotype-aware: selecting the best-performing model per trait can improve accuracy by up to 28 percentage points (e.g. Gram staining). Second, operational constraints such as inference costs may influence model choice. Third, we observed a strong capacity effect, with accuracy correlated with both model size (Pearson r = 0.74) and publication date (r = 0.43), suggesting that both scale and training methodology continue to drive improvements. Stratifying models by accessibility (Additional file 1: Fig. S2) revealed that closed-source models outperform open-weight models on average (0.73 vs. 0.68 balanced accuracy; a 5.1 percentage-point gap), but the top open-weight models (DeepSeek-R1 at 0.76 and gpt-oss-120b at 0.75) come within 1 percentage point of the strongest closed-source systems (Gemini 2.5 Pro at 0.77, Claude 3.5 Sonnet and grok-3-mini at 0.76). This suggests that for species-name-based phenotype assignment, state-of-the-art open-weight models are a viable alternative when data-governance, reproducibility, or cost considerations favor local deployment.

Another key finding from our study is that the model's self-assessed knowledge level about a species represents a reliable indicator of accuracy, providing users with a systematic approach to distinguish between reliable and unreliable pieces of information. We saw a positive relationship between the LLM's self-rated knowledge level and assignment accuracy across most phenotypic attributes, though individual model–phenotype combinations occasionally deviate from this trend, likely reflecting smaller sample sizes in the higher-confidence categories.

To demonstrate our findings and the utility of the resource, we applied this framework to prioritize novel phenotype assignments where no ground-truth data is present. This method combines high-confidence assignments for the well-annotated species set based on the best-performing model–phenotype combinations (tier 1), and high-confidence assignments for the model used on the extended low-assigned (LA) set (tier 2), delivering 1,382 novel, reliable phenotype assignments both for well-studied and understudied microorganisms. Principally, model confidence self-assessment can likely be applied to identify further types of high quality assignments for microbial taxa, such as properties of the environment they inhabit. Manual verification of a sample of these novel assignments confirmed that Extensive-tier calls are supported by primary literature at 81%, matching the benchmark balanced accuracy on ground-truth-covered species and supporting their interpretation as missing annotations rather than hallucinations, though individual calls still warrant expert curation before integration. Contradicted cases in our spot-check concentrated in morphology-related phenotypes such as cell shape, where models can overgeneralize from genus-level taxonomic priors; reliability of novel assignments is therefore phenotype-dependent, and expert review remains essential for coarse morphological categories.

LLMs do not directly expose the source or evidence underlying each assignment, and we cannot determine whether relevant primary literature was included in the data. More fundamentally, the boundary between retrieval-like reproduction of memorized training patterns and generation via interpolation is continuous rather than binary in LLMs [19, 20], so no single assignment can be cleanly labeled as "retrieved" or "predicted". Given the opacity of most training corpora and the fact that many culture-based phenotypes are reported only in supplemental materials or specialized databases, further key evidence may currently still be underrepresented. Future improvements could further strengthen the outcome therefore. The phenotype selection and definition process could be made more structured, for example, by aligning trait descriptions with established ontologies such as ENVO/PATO or related phenotype vocabularies [21, 22]. Building on the taxon-level analysis of phenotype-assignment accuracy introduced here (Additional file 1: Fig. S3), a natural extension of the present work would be to examine how hallucination self-assessment results differ by taxon, which we leave to future work. Additionally, species-name-only prompting has inherent limitations for metagenomic lineages, which lack stable binomial names, recently reclassified taxa may be misidentified, and newly described species have minimal literature coverage, making zero-shot inference unreliable. Finally, our evaluation includes only general-purpose, publicly accessible LLMs; domain-specialized, fine-tuned biomedical models or agentic systems with retrieval augmentation may offer stronger phenotype coverage or better calibration. We also note that the benchmarking results presented here are inherently time-bound. Given the scaling trend observed (Fig. 4D) and the rapid pace of LLM development, individual model rankings will shift as newer models are released. Per-model inference runtime and monetary cost were likewise not systematically recorded, as API pricing and latency evolve too rapidly for a snapshot comparison to remain informative. The benchmarking framework, rather than any specific ranking, is therefore the more durable contribution of this work.

Conclusions

Taken together, our results demonstrate that current LLMs encode substantial microbial knowledge and can accurately generate phenotype assignments with quantifiable reliability when paired with self-assessment filtering. LLMs thus provide a scalable, cost-efficient approach for accessing and synthesizing dispersed information from publicly available texts, though currently with varying performances. As model capabilities continue to improve and domain-specific training becomes more feasible, LLM-based approaches combined with other data sources, such as microbial omics data, are likely to allow retrieving structured, high-quality microbiological metadata as a basis for integrative data analyses with AI models and further experimental research.

Methods

Online platform

The benchmarking platform provides real-time aggregated results through an online dashboard (https://llm-bioeval.bifo.helmholtz-hzi.de). Users can examine overall model performance, phenotype-specific metrics, and detailed error patterns. The platform is actively maintained, and newly released LLMs, both open-weight and API-based, are added on a continuous basis to keep the benchmark aligned with developments in the field. The portal provides programmatic access to the full dataset through JSON APIs and CSV exports, including endpoints for phenotype ground truth, model accuracy summaries, and raw assignment tables, and mirrors the database browser used internally so that users can inspect schema metadata and table sizes. We publish the complete SQLite database alongside these endpoints, allowing external groups to reproduce our analyses or integrate the assignments into new workflows. Because both services share the same data store, future model runs initiated via the administrative dashboard become visible on the public site automatically, ensuring that subsequent community contributions or newly released OpenRouter models can be incorporated without additional deployment steps.

Data collection

Administrative inference dashboard

We developed a local administrative dashboard to coordinate high-throughput inference with the pipeline. The Flask and Socket.IO application presents a browser-based control surface that couples curated species lists with paired system and user templates, selects the target language model, and records all job metadata in a unified SQLite backend. Inference calls are issued through the OpenRouter API with deterministic decoding (temperature fixed at 0), chosen after preliminary experiments across a range of temperature values showed negligible impact on accuracy while reducing run-to-run variability, ensuring run-to-run reproducibility and full provenance for every assignment. The admin interface is model-agnostic and can launch inference against any OpenRouter-registered model (currently 300 +), so the same controls apply across proprietary, open, or community releases without code changes.

Job execution is orchestrated by a processing manager that manages a configurable thread pool (default 10 concurrent workers) and rate limits, while streaming real-time status updates and logs to the client via WebSocket events. Complementary REST endpoints expose the same controls, job creation, pause/resume/stop operations, and dynamic adjustment of concurrency or request rate, allowing automated monitoring pipelines to intervene without manual interaction. Each inference retains its raw request and response payloads, parsed phenotype outputs, timestamps, and error diagnostics, enabling post hoc auditing or reanalysis. Inference requires an OpenRouter API key exported to the runtime environment, so every job is authenticated against the same provider configuration before dispatch. Completed assignments and their validation metadata are archived in the unified SQLite database.

Template management and validation are integral to the dashboard. System and user prompt templates are versioned within the interface, species lists are curated and linked to jobs, and optional benchmark datasets provide ground-truth phenotype labels. During execution, responses are parsed into the predefined schema, written to the unified database, and scored immediately when benchmarks are present. The platform can rerun failed species, reparse historical assignments after template updates, or replay entire jobs, providing a reproducible, queryable record that underpins downstream analyses reported in the manuscript.

Validation of assignments is governed by a parallel set of templates that define the expected JSON schema and permissible vocabularies for each phenotype. For every job, the dashboard stores both the inference prompt pair and the matching validation template, ensuring that returned fields are parsed and normalized consistently. When benchmark datasets are provided, the processing manager compares each model assignment against the ground-truth phenotypes in real time, logs concordant and discordant cases, and flags conflicts for analyst review before downstream export. This workflow lets us correct template mismatches rapidly, rerun only the affected species to keep inference costs down.

Synthetic calibration benchmark

We queried each LLM with a dedicated set of knowledge-assessment prompts that return a single field knowledge_group. Three prompt variants were authored (templates 1–3), increasing the descriptive context supplied to the model. Template 1 provides minimal category definitions (‘Limited’, ‘Moderate’, ‘Extensive’), template 2 elaborates with qualitative cues, and template 3 enumerates quantitative heuristics (e.g., approximate literature counts, culture availability) and explicitly instructs the model to answer “NA” whenever the species is unrecognized or insufficiently documented. All prompts are executed through the administrative inference stack at temperature 0.0, validated with the shared PredictionValidator, and any free-form responses are normalized to the canonical vocabulary; synonyms such as “minimal,” “medium,” or “high” are mapped to ‘Limited’, ‘Moderate’, and ‘Extensive’, while unparsable or empty payloads are flagged as no_result and transport errors as inference_failed.

To probe hallucination behavior, we assembled a benchmark of 200 artificial binomial names. The set contains four equally sized categories (n = 50 each): English word pairs, purely Latin-like inventions, hybrids pairing a real genus with an invented epithet, and the converse (invented genus with a real species epithet). Each entry retains its category label so results can be stratified by name realism. The same species list is issued to every model across the three knowledge templates when we study prompt verbosity effects, and the full panel of 57 models is evaluated with template 3 to quantify N/A compliance.

All models are accessed through OpenRouter via the administrative dashboard, yielding 11 400 knowledge judgments (57 models × 200 synthetic names) for the primary hallucination analysis plus additional runs for the lower-verbosity templates on a representative subset of models (e.g., GPT‑4, Claude 3.5 Haiku, Llama 3 8B). For each model we tabulate the counts of NA, ‘Limited’, ‘Moderate’, ‘Extensive’, no_result, and inference_failed outcomes; limited/moderate/extensive answers on an artificial species are labeled hallucinations, N/A counts as a correct rejection, and the latter two categories track non-responsive failures. Model-level hallucination rates are computed as (‘Limited’ + ‘Moderate’ + ‘Extensive’)/total, and we report both per-model percentages and the aggregate distribution. The same normalized outputs feed downstream agreement analyses, Shannon entropy across models, disagreement heatmaps, and quality score tables, that are rendered through the knowledge-calibration research components.

Ground-truth benchmark sets

Knowledge calibration on real species

We evaluated model concordance on the well-assigned (WA) benchmark list of 3 885 bacterial species, which pairs each binomial name with a Google search-count proxy for literature prevalence. Every model in the panel was run through the knowledge-level prompt family, using template 3 for the primary analysis so that assignment were constrained to the vocabulary {limited, ‘Moderate’, ‘Extensive’, NA}. Inference calls were made via the pipeline (temperature 0.0) and validated with the shared PredictionValidator, which maps synonymous responses (for example “minimal,” “high,” “unknown”) onto the canonical categories and records empty parses as no_result and transport errors as inference_failed. The resulting classifications are stored in the unified SQLite database together with the originating template identifiers, enabling downstream aggregation without repeated API calls.

Species-level agreement summaries were generated directly from the database-backed API. For each species we collected all completed template 3 assignments across models, required at least five model outputs to retain the species, and tabulated the distribution of NA/‘Limited’/‘Moderate’/‘Extensive’ labels. Shannon entropy (H = -\sum_i p_i \log p_i) on the normalized counts serves as our measure of disagreement, with (H = 0) indicating unanimous agreement. We also track the number of distinct knowledge groups assigned to each species and the majority-class fraction to distinguish total consensus (entropy ≈ 0, single class) from partial splits across two, three, or four categories. These statistics populate the entropy-ranking tables, disagreement heatmaps, and the counts cited in the Results (e.g., 91 unanimous species, 1 046 split across two groups). The same aggregation produces per-model distributions—number of species labeled NA, ‘Limited’, etc.—used for the performer rankings and stacked-bar visualizations.

To relate model confidence to real-world information availability, we aligned the knowledge assignments against the Google search counts bundled in the WA file. An API endpoint joins the inference results with the search-count column, filters to completed template 3 assignments, and converts categorical knowledge levels to ordinal scores (‘Limited’ = 1, ‘Moderate’ = 2, ‘Extensive’ = 3). N/A classifications are retained for reporting but excluded from the correlation itself. To relate model confidence to real-world information availability, we converted the ordinal knowledge categories to ranks (Limited = 1, Moderate = 2, Extensive = 3) and computed model-specific Spearman's rank correlation coefficients (ρ) between these ranks and Google search counts. N/A classifications are retained for reporting but excluded from the correlation. Ties in ranks are resolved using the average-rank convention. These correlations, the “web alignment” scores reported are accompanied by the underlying knowledge distributions, revealing, for example, that models with high correlation often allocate more species to N/A and fewer to ‘Extensive’, whereas over-confident models show inflated ‘Extensive’ counts and weaker alignment with public information proxies.

Phenotype benchmark

Phenotype evaluation draws on two curated species panels. The well-assigned (WA) benchmark contains 3,884 species and Google search-count proxies for literature prevalence. A complementary low-assigned (LA) list covers 15,256 species to probe generalization beyond the high-coverage subset. Both datasets include the 10 single-valued traits used throughout the study, gram staining, motility, extreme-environment tolerance, biofilm formation, animal pathogenicity, biosafety level, host association, plant pathogenicity, spore formation, and cell shape, while traits that admit multiple simultaneous categories or suffer from sparse labels (e.g., aerophilicity, health association, hemolysis) are excluded to keep accuracy estimates better interpretable.

All phenotype assignments are generated with the deterministic inference pipeline described above: a structured phenotype prompt elicits JSON-formatted responses that are normalized to the canonical vocabularies. The phenotype prompt is deliberately forced-choice: for every trait the model must pick one of the pre-specified categories (e.g. True/False for motility, or one of the three biosafety levels), and "N/A" or "I don't know" are not available options. This keeps the confusion matrix the same size for every model so that balanced accuracy reflects the standard sensitivity/specificity trade-off and cannot be inflated by selective abstention; self-assessed uncertainty is captured separately by the dedicated knowledge-level prompt family described above, which does allow "N/A". For each model–phenotype pair we align assignments with the ground-truth labels, discard entries where either side is missing, and compute balanced accuracy. Binary traits use the mean of sensitivity and specificity; multiclass traits use macro-averaged recall. These metrics feed the accuracy heatmaps, per-phenotype leaderboards, and confusion matrices reported in the Results, and the same scoring routine is applied when evaluating the LA cohort or filtered subsets of species.

To assess how self-declared knowledge levels modulate performance, we join each phenotype assignment with the corresponding knowledge classification that the same model produced for the same species. Accuracy is recomputed within the ‘Limited’, ‘Moderate’, and ‘Extensive’ knowledge strata, provided at least 30 paired observations per phenotype and 250 samples per knowledge group are available. Responses are normalized so that synonyms (e.g., “minimal,” “medium,” “high”) map to the canonical categories, while N/A entries are tracked but excluded from the accuracy aggregates. We summarize these conditioned accuracies for the sample-rich models, plot per-phenotype trends, and apply Jonckheere–Terpstra tests with Benjamini–Hochberg correction to evaluate whether performance increases monotonically from limited to ‘Extensive’ knowledge. Companion analyses compare baseline (unfiltered) scores with ‘Extensive’-only subsets and measure how knowledge groups explain variance in phenotype accuracy.

Model-level averages are further related to architecture and provenance. We require that a model contribute at least 100 scored samples per phenotype before including it in the aggregate “all-phenotype” balanced accuracy. Parameter counts, release years, and provider labels are drawn from a curated metadata table, enabling correlation of log₁₀ parameter count with average balanced accuracy, temporal trend analyses across release cohorts, and organization-level comparisons. Linear fits and Pearson correlations quantify these relationships, while color-coded scatter plots highlight differences between providers.

Publication date and parameter count of models were sourced from Epoch.ai (accessed September 2025).

Phylogenetic stratification of phenotype accuracy

To assess whether LLM phenotype-assignments performance varies across prokaryotic taxa, we stratified the WA benchmark (3,884 species) by NCBI taxonomy and projected the accuracies onto a PhyloPhlAn maximum-likelihood phylogeny inferred from a concatenated marker-gene alignment of the benchmark genomes. Phylum, order and lower ranks were resolved from the NCBI taxonomy (99.8% phylum coverage, 99.3% order coverage); the eight phyla with at least 30 WA species were retained individually and the remaining species collapsed into an "Other" bin. For every (phylum, phenotype, model) triplet we computed the balanced accuracy with the same routine used for the main phenotype benchmark (mean of recall and precision, both macro-averaged across for multiclass phenotypes), requiring at least 25 scored assignments per cell and three contributing models, and averaged across models and phenotypes for the per-phylum summaries. For the tree figures, the PhyloPhlAn tree was parsed with Bio.Phylo, pruned to the 3,270 species matchable by assembly FASTA basename, and rendered as a radial phylogram in which each tip is placed at its cumulative branch length from the root; tip color encodes phylum (or the ground-truth phenotype value, in the per-phenotype variants), and the outer ring encodes the mean per-species accuracy aggregated at the level of NCBI Order.

Supplementary Information

13059_2026_4207_MOESM1_ESM.pdf (1.5MB, pdf)

Additional file 1: Supplementary text, figures, and tables. File format: Portable Document Format, pdf. Title of data: Supplementary text, figures, and tables supporting the evaluation of large language models for microbial phenotype assignment. Description of data: This file contains the supplementary text, supplementary figures, and supplementary tables cited in the manuscript.

13059_2026_4207_MOESM2_ESM.xlsx (10.6MB, xlsx)

Additional file 2: Supplementary datasets. File format: Microsoft Excel workbook,.xlsx. Title of data: Supplementary datasets supporting the evaluation of large language models for microbial phenotype assignment.

Acknowledgements

We acknowledge OpenAI for providing Research Credits, which were crucial for conducting this study. We utilized Anthropic's Claude 4.5 Sonnet to assist with proofreading of this manuscript and OpenAI o1, OpenAI Codex and Claude Code for code generation for LLM-BioEval web page and the evaluation pipeline. The authors thoroughly reviewed and verified the accuracy of all code and content, maintaining full responsibility for the manuscript's integrity.

Peer review information

Jaime Huerta-Cepas and Claudia Feng were the primary editors of this article and managed its editorial process and peer review in collaboration with the rest of the editorial team. The peer-review history is available in the online version of this article.

Authors’ contributions

P.C.M. developed the concept, implemented the evaluation pipeline and the code to produce all Figures, evaluated the models, and performed the statistical tests. N.S. contributed to the biological interpretation of the findings. G.R. contributed to the web server development. R.M. performed predictions using the deep learning model for comparison. Y.H. contributed to the ensemble model analysis. M.B., E.A.F., C.H., and A.C.M. provided guidance throughout the project. P.C.M., A.C.M., and N.S. wrote the manuscript, and all authors reviewed and approved the final version.

Funding

Open Access funding enabled and organized by Projekt DEAL. P.C.M. received funding from the Cluster of Excellence RESIST (EXC 2155) funded by Deutsche Forschungsgemeinschaft (DFG) (project number 390874280). This work was funded in part by the German Center for Infection Research (DZIF) Translational Infrastructure Bioresources, Biodata, and Digital Health (TI BBD) (project number TI 12.002).

Data availability

The full framework, including both the administrative and public dashboards, is available in the GitHub repository [23]. The stable release used for all analyses reported in this manuscript is archived on Zenodo as version 2.0.0 [24], DOI: https://doi.org/10.5281/zenodo.13839818. The GitHub repository and Zenodo archive are licensed under the MIT License. The underlying source dataset is based on Bugphyzz [25].

Declarations

Ethics approval and consent to participate

Not applicable. This study did not involve human participants, human data, or animals.

Consent for publication

Not applicable. This manuscript does not contain any individual person’s data in any form.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Philipp C. Münch, Email: philipp.muench@helmholtz-hzi.de

Alice Carolyn McHardy, Email: alice.mchardy@helmholtz-hzi.de.

.References

  • 1.Reimer LC, Vetcininova A, Carbasse JS, Söhngen C, Gleim D, Ebeling C, et al. BacDive in 2019: bacterial phenotypic data for high-throughput biodiversity analysis. Nucleic Acids Res. 2019;47(D1):D631–6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Meier-Kolthoff JP, Carbasse JS, Peinado-Olarte RL, Göker M. TYGS and LPSN: a database tandem for fast and reliable genome-based classification and nomenclature of prokaryotes. Nucleic Acids Res. 2022;50(D1):D801–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Whitman WB. Bergey’s manual of systematics of Archaea and Bacteria. Wiley & Sons, Limited, John; 2015. [Google Scholar]
  • 4.Brbić M, Piškorec M, Vidulin V, Kriško A, Šmuc T, Supek F. The landscape of microbial phenotypic traits and associated genes. Nucleic Acids Res. 2016;44(21):10074–90. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Wilkinson MD, Dumontier M, Aalbersberg IJJ, Appleton G, Axton M, Baak A, et al. The FAIR guiding principles for scientific data management and stewardship. Sci Data. 2016;3(1):160018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Buck C, Heafield K, Ooyen BV. N-gram counts and language models from the common crawl. LREC. 2014;1:3579–84. [Google Scholar]
  • 7.Brown TB, Mann B, Ryder N, Subbiah M, Kaplan J, Dhariwal P, et al. Language Models are Few-Shot Learners . arXiv [cs.CL]. 2020. Available from: http://arxiv.org/abs/2005.14165.
  • 8.Schober I, Koblitz J, Sardà Carbasse J, Ebeling C, Schmidt ML, Podstawka A, et al. BacDive in 2025: the core database for prokaryotic strain data. Nucleic Acids Res. 2025;53(D1):D748–56. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Parte AC. LPSN - list of prokaryotic names with standing in nomenclature (bacterio.net), 20 years on. Int J Syst Evol Microbiol. 2018;68(6):1825–9. [DOI] [PubMed] [Google Scholar]
  • 10.Dutilh BE, Backus L, Edwards RA, Wels M, Bayjanov JR, van Hijum SAFT. Explaining microbial phenotypes on a genomic scale: GWAS for microbes. Brief Funct Genomics. 2013;12(4):366–80. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Banerjee S, Agarwal A, Singla S. LLMs will always hallucinate, and we need to live with this. 2024. Available from: http://arxiv.org/abs/2409.05746. Cited 11 Sep 2024.
  • 12.Lin SY, Hameed A, Liu YC, Hsu YH, Hsieh YT, Lai WA, et al. Chryseobacterium endophyticum sp. nov., isolated from a maize leaf. Int J Syst Evol Microbiol. 2017;67(3):570–5. [DOI] [PubMed] [Google Scholar]
  • 13.Nguyen NL, Kim YJ, Hoang VA, Yang DC. Chryseobacterium ginsengisoli sp. nov., isolated from the rhizosphere of ginseng and emended description of Chryseobacterium gleum. Int J Syst Evol Microbiol. 2013;63(Pt 8):2975–80. [DOI] [PubMed] [Google Scholar]
  • 14.Holzer K, Hoelzle LE, Wareth G. Genetic comparison of Brucella spp. and Ochrobactrum spp. erroneously included into the genus Brucella confirms separate genera. German J Veterinary Res. 2023;3(1):31–7. [Google Scholar]
  • 15.Perkins G, Anderson NW, Spies NC. Retrieval-augmented generation salvages poor performance from large language models in answering microbiology-specific multiple-choice questions. J Clin Microbiol. 2025;63(3):e01624-24. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Yoo H, Rosen GL. Predicting microbial ontology and pathogen risk from environmental metadata with large language models . arXiv [cs.CL]. 2025. Available from: http://arxiv.org/abs/2507.21980.
  • 17.Ikeda S, Zou Z, Bono H, Moriya Y, Kawashima S, Katayama T, et al. Extraction of biological terms using large language models enhances the usability of metadata in the BioSample database. Gigascience. 2025;14:giaf070. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Uryu S. Evaluating large Language Models for IUCN Red List species information . arXiv [cs.CL]. 2025. Available from: http://arxiv.org/abs/2510.02830.
  • 19.Carlini N, Ippolito D, Jagielski M, Lee K, Tramer F, Zhang C. Quantifying memorization across neural language models . arXiv [cs.LG]. 2022. Available from: http://arxiv.org/abs/2202.07646. Cited 21 Apr 2026.
  • 20.Feldman V. Does learning require memorization? A short tale about a long tail . arXiv [cs.LG]. 2019. Available from: http://arxiv.org/abs/1906.05271.
  • 21.Gkoutos GV, Schofield PN, Hoehndorf R. The anatomy of phenotype ontologies: principles, properties and applications. Brief Bioinform. 2018;19(5):1008–21. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Buttigieg PL, Morrison N, Smith B, Mungall CJ, Lewis SE, ENVO Consortium. The environment ontology: contextualising biological and biomedical entities. J Biomed Semantics. 2013;4(1):43. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Münch P, Safaei N, Mreches R, Binder M, Han Y, Robertson G, et al. LLM-BioEval: A Python tool that harnesses the power of large language models (LLMs) for microbial phenotype prediction . Github; 2026. Available from: https://github.com/GenomeNet/LLM-BioEval. Cited 18 Jun 2026.
  • 24.Münch P, Safaei N, Mreches R, Binder M, Han Y, Robertson G, et al. GenomeNet/LLM-BioEval: v2.0.0. Zenodo; 2026. Available from: https://zenodo.org/doi/10.5281/zenodo.13839818. Cited 18 Jun 2026.
  • 25.Gamboa S, Eckenrode K, Ye J, Wokaty J, Mirzayi C, Nachod B, et al. Bugphyzz: A harmonized data resource and software for enrichment analysis of microbial physiologies. Zenodo; 2024. Available from: 10.5281/zenodo.12574596. Cited 18 Jun 2026.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

13059_2026_4207_MOESM1_ESM.pdf (1.5MB, pdf)

Additional file 1: Supplementary text, figures, and tables. File format: Portable Document Format, pdf. Title of data: Supplementary text, figures, and tables supporting the evaluation of large language models for microbial phenotype assignment. Description of data: This file contains the supplementary text, supplementary figures, and supplementary tables cited in the manuscript.

13059_2026_4207_MOESM2_ESM.xlsx (10.6MB, xlsx)

Additional file 2: Supplementary datasets. File format: Microsoft Excel workbook,.xlsx. Title of data: Supplementary datasets supporting the evaluation of large language models for microbial phenotype assignment.

Data Availability Statement

The full framework, including both the administrative and public dashboards, is available in the GitHub repository [23]. The stable release used for all analyses reported in this manuscript is archived on Zenodo as version 2.0.0 [24], DOI: https://doi.org/10.5281/zenodo.13839818. The GitHub repository and Zenodo archive are licensed under the MIT License. The underlying source dataset is based on Bugphyzz [25].


Articles from Genome Biology are provided here courtesy of BMC

RESOURCES