October 26, 2026
Neuro-symbolic extraction of AI-guided taxonomic knowledge in an auditable graph of aquatic hyphomycetes
Raquel de Brito; Edilson Rodrigues
DOI: 10.22167/2675-6528-202603386
Article derived from a Course Conclusion Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.
Summary
The taxonomic literature on aquatic hyphomycetes is scattered and computationally inaccessible, hindering comparative analyses and the identification of knowledge gaps. A neuro-symbolic extraction method was developed and evaluated to convert this literature into an auditable knowledge graph, preserving the link between each datum and the document excerpt that supports it. Deterministic components, metadata-driven retrieval, regular expressions, and controlled vocabulary normalization were combined with an open-source language model run locally, under ten governance rules that prohibited inference not supported by the text. Structured records were persisted in a graph-oriented database, with infrastructure declared in containers. 529 of the 530 unique documents in the corpus were processed, of which 472 yielded taxa, totaling 9,192 records and 4,333 traceable text blocks. In a subsequent extension, 1,397 species were structured from approximately 405 source documents. Almost all morphological records maintained literal citation of evidence (100%), bibliographic metadata (99.7%), and article and page provenance (100%). The graph allowed for the quantification of knowledge gaps, such as the absence of documented sexual state in 97.3% of the evaluated taxa and the concentration of 55.5% of occurrences in Asia, with only 1.2% in Africa. It was concluded that full traceability converts language model extraction from a trusted artifact to a conferrable artifact, enabling its scientific use.
Keywords: Ingoldian fungi; Language model; Neo4j; Scientific traceability; Augmented generation retrieval.
1. Introduction
Aquatic hyphomycetes, also known as Ingoldian fungi, represent a polyphyletic group of fungi that thrive in well-oxygenated lotic environments, colonizing submerged leaves and wood. These organisms produce conidia, reproductive structures that exhibit vast morphological differentiation, contrasting with the spores of terrestrial macrofungi (Anderson & Marvanová et al., 2020; Bärlocher, 2005). The conidia of aquatic hyphomycetes reflect evolutionary specializations for dispersal, attachment, and survival in their habitats (Rezende et al., 2025). The identification of these fungi relies on visual analyses of the morphological characteristics of conidia, whose shape, size, and function are crucial for taxonomy (Bärlocher, 2005; Rezende et al., 2025). The recurrence of these characteristics in unrelated lineages is interpreted as convergent evolution, adapted to turbulent environments (Ingold, 1975). Ecologically, the group plays a vital role in the decomposition of allochthonous organic matter originating from riparian vegetation (Mariz et al., 2021).
Despite the ecological importance and morphological richness, the accumulated knowledge about aquatic hyphomycetes is dispersed in a vast scientific literature (Bärlocher, 2005; Marcos et al., 2015; Meier et al., 2026). Detailed morphological descriptions, often written in specialized technical terminology and with measurements reported as ranges, are fragmented across books, taxonomic keys, monographs, and scientific articles (Rambelli, 2011; Marcos et al., 2015). Although this format is suitable for specialists, it imposes a significant practical limitation: the knowledge is not directly accessible for computational consultation. This restricts systematic comparative analyses and the identification of knowledge gaps, depending on the availability of specialized taxonomists for reading and synthesis. This scarcity of specialists is considered a bottleneck in the field (Engel et al., 2021; Meier et al., 2026), practically hindering the answer to questions that require the comparison of hundreds of descriptions or the analysis of the geographical distribution of sampling effort (Marcos et al., 2025; Meier et al., 2026).
The difficulty in extracting structured knowledge from dispersed scientific literature is not exclusive to mycology. In a broader context, the exponential growth of scientific production exceeds the capacity of conventional search engines to retrieve and synthesize relevant information (Rubaiat & Jamil, 2025). In this scenario, large language models have been proposed for the contextualized extraction of scientific knowledge, aiming at the creation of open linked data. Tools like LangExtract (Google, 2025) demonstrate a similar approach, seeking to map each extraction to its exact point in the source text, a traceability requirement that proves to be a convergent response to the structural limitations of language models.
Large language models possess the ability to interpret technical terms and generate structured outputs, making them promising for the conversion of scientific text (Sahraoui et al., 2022). However, their application in scientific contexts faces a substantial methodological objection: these models can produce plausible text even in the absence of information, and a morphologically fabricated datum with plausibility is indistinguishable, upon later inspection, from a correctly extracted datum (Marcos et al., 2025). The lack of a verifiable link between the generated statement and its documentary origin compromises the scientific utility of the result, regardless of its scope (East et al., 2025).
To overcome this limitation, neuro-symbolic architectures combine processing regimes with distinct guarantees (Liang et al., 2024). Symbolic, deterministic, and inspectable components are responsible for tasks requiring full verifiability, while the neural component is restricted to language interpretation, a task for which it is competent and has no viable deterministic alternative. The Knowledge Augmented Generation framework proposes that this combination be complemented by mutual indexing, where each entity in the graph maintains a reference to the textual snippet that originated it (Liang et al., 2024).
The contribution of this work is positioned in the distinction between detection and identification. Although recent applications of deep learning in fungal microscopy achieve performance comparable to specialists in detection tasks (Ren et al., 2024), species-level identification requires discrimination between morphologically close categories. This task critically depends on the quality and representativeness of the available reference knowledge about each candidate taxon (VALAN et al., 2019). It is precisely in the gap between detecting the presence of a fungus and identifying its species that the structured taxonomic knowledge layer becomes fundamental (Bärlocher, 2005; VALAN et al., 2019). The present study starts from the premise that, for a machine to recognize a species or for an aquatic microbiology computational simulation engine to function, it is essential to provide a structured, traceable, and contextualized representation of knowledge. This representation must include taxonomic, functional, habitat data, laboratory methodologies, chemical manipulations, and metabolic reactions, extracted from the literature.
Thus, the question guiding the work is: how to transform taxonomic knowledge dispersed in scientific literature into a structured, integrated, and auditable representation, capable of supporting automated identification systems? The justification for this study lies in the need to overcome taxonomic impediment and the limitation of knowledge extraction by language models, providing a reliable and verifiable knowledge base for future applications in species identification and simulation. Therefore, the objective was to develop and evaluate a neuro-symbolic method for extracting taxonomic knowledge from literature on aquatic hyphomycetes, capable of populating a knowledge graph where each statement remains traceable to the original article and page, and to demonstrate that the resulting graph allows quantifying knowledge gaps described in the group’s literature.
2. Material and Methods
The research was characterized as a study of a methodological nature, with the objective of developing and evaluating a neuro-symbolic method for the extraction of taxonomic knowledge. The approach employed aimed to convert the dispersed scientific literature on aquatic hyphomycetes into a structured and auditable knowledge graph. The documentary corpus consisted of 596 open-access files, including scientific articles, taxonomic reviews, and identification keys. After verification by cryptographic summary, 66 exact duplicates were identified, resulting in a total of 530 unique documents processed.
Knowledge extraction was structured in a chain of stages, each with distinct objectives and levels of depth. In the first stage, named Raw Chunks, the entire corpus was traversed deterministically. Recognition of binomial names was performed using regular expressions, validating them against a vocabulary of aquatic hyphomycete genera. This stage aimed to establish the taxonomic vocabulary present in the corpus and segment the text into traceable blocks, recording the article, page, column, and character offset of each mention.
For the second stage, Schema-free, a previously resolved taxonomic mentions index was used, composed of species, article, and page triples, obtained by recognition in figure captions. Two cascaded filters were applied: the first confirmed 382 taxonomically real binomials out of 596 candidates, and the second accepted mentions with a strict or loose recognition strategy on the caption, or with a confidence score equal to or greater than 0.7. This stage deepened the morphological extraction on the subset of documents with confirmed and confidently resolved taxonomic mention.
Information retrieval, although inspired by the concept of Retrieval Augmented Generation (RAG), was implemented through direct access. Since the previous stage had already determined the exact article and page for each resolved pair, the location of the relevant text was precise, dispensing with retrieval by semantic similarity. The text was extracted from the indicated page and one adjacent page on each side, with a limit of 6,000 characters per source, to capture descriptions that might span page breaks.
The excerpts from all sources of the same species were concatenated into a single prompt, delimited by origin markers, and submitted to the model with explicit instructions for merging, limiting the combined text to 8,000 characters. The generative model used was Mistral, run locally and configured to produce JSON output. The choice for local inference met requirements for reproducibility, zero cost per call, and no content transmission to third parties. The extraction prompt incorporated ten explicit governance rules, formulated as constraints to mitigate failures observed during development, including exclusive reliance on the provided text and mandatory literal citation of the sentences that justified each extraction.
A domain-specific rule established mandatory filling with the value “NA” for any measurement in millimeters in the conidium dimension fields, avoiding confusion with colony measurements in culture. Three post-processing operations were deterministically executed, outside the generative model, to ensure greater reliability: the derivation of the entity identifier by regular transformation of the canonical name, the extraction of the digital object identifier (DOI) from the file naming pattern, and controlled vocabulary normalization, reverting to “NA” values outside the schema enumerations.
The structured records were persisted in JSON files and stored in a graph-oriented database, Neo4j. This system was selected for its properties of querying by arbitrary depth relationship traversal, flexible schema compatible with uneven field coverage, and accessible declarative language. Loading adopted a policy of enriching pre-existing nodes, without creating new entities, and all properties received a provenance prefix. A complementary layer was built to enrich existing species nodes with collection and publication properties, such as country, coordinates, habitat, and teleomorphic status, classifying habitats as aquatic, non-aquatic, or unrecorded, by matching with controlled vocabulary.
The computational infrastructure was declared through Docker container composition, aiming to ensure the reproducibility of the research environment by third parties. The database service used persistence by mounting it to a directory of the host system, ensuring data survival beyond container recreation. Health check by request was implemented to avoid connection attempts before the service was ready to respond, and the composition file registered the health status of each service.
3. Results and Discussion
The research undertook the conversion of scattered taxonomic literature on aquatic hyphomycetes into a structured and auditable knowledge graph, aiming to overcome limitations in computational accessibility and the identification of knowledge gaps. The developed neuro-symbolic method combined deterministic and generative approaches, with a rigorous focus on the traceability of each extracted datum to its documentary origin. The results demonstrate the viability of this approach and quantify important knowledge gaps in the domain, as detailed in the subsequent sections, which address the scope of extraction, morphological coverage, traceability, and the identified geographic and ecological biases.
The extraction process began with the processing of a corpus of 530 unique documents, of which 529 were effectively analyzed, with only one failure due to character encoding issues. Of this total, 472 documents, corresponding to 89.2% of the corpus, resulted in the identification of at least one accepted taxon. This initial stage generated a total of 9,192 taxon records and 5,060 distinct scientific names, in addition to 4,333 traceable text blocks. It was observed that the documents that did not contribute with taxa were predominantly studies focused on community ecology or molecular phylogeny, which mention species without providing detailed formal descriptions.
The distinction between the two extraction stages revealed important aspects about the nature of the corpus. While the deterministic stage identified taxonomic vocabulary in 472 documents, only 109 presented mentions with sufficient confidence to justify an in-depth morphological extraction. This difference does not represent a loss of information, but rather an indication of the proportion of the corpus containing formal species descriptions, as opposed to mentions in ecological or phylogenetic contexts. It is relevant to note that the 9,192 records from the first stage provide vocabulary and textual evidence, but not a complete morphological characterization, with 39.4% of them still awaiting human review due to the absence of confirmed gender in reference vocabulary.
Scope of extraction over the corpus
The initial deterministic extraction, which constituted the first stage of the method, encompassed a total of 596 files gathered in the corpus, which, after verification by cryptographic checksum, were reduced to 530 unique documents, eliminating 66 exact duplicates. From this set, 529 documents were processed, and 472 of them, representing 89.2%, yielded accepted taxa. This process resulted in the generation of 4,333 traceable text blocks and 9,192 taxon records, identifying 5,060 distinct scientific names. Automatic validation by genus vocabulary accepted 3,997 records (43.5%), while 1,574 (17.1%) were forwarded for nomenclatural validation and 3,621 (39.4%) for human review, highlighting the complexity and the need for curation in the process.
The analysis of the extraction scope revealed that the second stage, focused on in-depth structured morphology, processed approximately 405 distinct source documents, resulting in 1,397 species with complete morphological records. This stage encompassed 34 genera that had been previously curated as priorities. The difference between the number of documents containing taxonomic vocabulary (472) and those that justified in-depth morphological extraction (109) is crucial. It reflects the proportion of the corpus that effectively offers formal species descriptions, as opposed to mere mentions in ecological or phylogenetic contexts, highlighting the selectivity required for detailed morphological data extraction.
Coverage of morphological extraction
The coverage of fields in the morphological extraction scheme, from the 1,397 species records, demonstrated significant variability, reflecting the heterogeneity of information available in the taxonomic literature. Fields essential for taxonomic identity, such as the canonical species name and genus, achieved 100% completion. However, coverage for other morphological and ecological attributes was more limited. Habitat and decomposition substrate were reported in 42.6% of cases, while the nomenclatural authority was filled in 62.9% of the records.
The dimensions of the conidium, specifically total length and maximum width, showed the lowest coverage rates, at 12.2% and 10.4%, respectively. Direct inspection of these fields revealed that most values were stored as free text, often in non-numeric formats, such as ranges (“10-30 µm”) or combined width and length notations. This heterogeneity in the source data format compromised the extraction of a single numeric value and, consequently, artificially reduced the measurable coverage, indicating an inherent limitation in how this data is originally presented in the literature.
In contrast, the field related to conidium shape, which initially presented very low coverage (5.9%), registered an improvement to 29.1% in the expanded extraction. Despite the increase, coverage is still limited, mainly because the shape is often described in compound prose, such as “fusiform to subclavate”. The requirement for a single canonical term for vocabulary normalization leads the routine to revert to a declared absence any description that does not correspond to an admissible value. This conservative result ensures the preservation of original information in literal citations, although it does not make it available for direct categorical consultation. Thus, the main limitation of the method has shifted to the heterogeneity of the format of the numerical dimensions of the conidium, and no longer to the governance of the canonical vocabulary.
Traceability
The integral traceability of records constituted one of the main methodological results of the study. It was found that all 1,397 records maintained the three proposed traceability structures: literal citation of evidence, bibliographic metadata of source and article provenance, and page. Only 4 records (0.3%) showed absence of explicit bibliographic metadata, but in no case was a morphological or ecological statement produced without a direct link to its documentary origin. This means that for each piece of data extracted and persisted in the graph, it is possible to identify the exact sentence in the original article that supports it, as well as the article and page from which it was retrieved.
This mutual indexing capability transforms the traceability of a declared property into a measurable and verifiable property. Verifying any claim within the graph does not require re-executing the extraction process or blind trust in the language model, but rather a simple reading of the original sentence that serves as evidence. This mechanism is fundamental for the scientific validation of the extracted data, allowing experts to audit the accuracy of the information and confirm the fidelity of the extraction to the source text, a crucial advancement for applying language models in scientific contexts.
Gap in teleomorph-anomorph connections
The analysis of teleomorph-anamorph connections in the knowledge graph revealed a significant gap, consistent with previous observations in the literature. The research identified that, out of a total of 4,392 valid taxa evaluated, only 119 taxa, corresponding to 2.7%, presented documented teleomorphic state. In contrast, 4,273 taxa, or 97.3% of the total, lacked this documentation. This finding reinforces the rarity of connections between the sexual (teleomorph) and asexual (anamorph) states for aquatic hyphomycetes, as already pointed out by Shearer et al. (2007).
The proportion of 2.7% of taxa with documented sexual state is consistent, in order of magnitude, with the scarcity of such connections reported for specific subgroups of the taxon. Although this value differs from a previous measurement of 14.9% on a smaller corpus, this difference is attributed to a change in the composition of the expanded corpus. The new corpus incorporates an increasing proportion of species from broader scope genera, for which the teleomorph-anamorph connection tends to be less studied or considered less taxonomically relevant. It is important to note that this measure reflects the documentation present in the processed corpus, and not the global state of knowledge about the group.
Geographic bias of sampling effort
The quantification of the geographic distribution of documented occurrences in the corpus confirmed the strong sampling bias already described in the literature for aquatic hyphomycetes (Shearer et al., 2007). The analysis revealed an expressive concentration of occurrences in Asia, which accounts for 55.5% of the total, with 2,436 records. Europe appears in second place, with 25.1% of occurrences (1,104 records). South and North America contribute 7.6% (334 records) and 5.4% (235 records), respectively, while Oceania represents 4.9% (217 records). Africa, in turn, shows a remarkable underrepresentation, with only 1.2% of occurrences (54 records), and 0.3% (12 records) were not identified.
The concentration by country was even more pronounced, with China accounting for 1,790 occurrences, equivalent to 40.8% of the total. Other countries with a significant number of records include the Netherlands (389), Thailand (276), Germany (176), Brazil (218, combining the spellings “Brazil” and “Brasil”), and the United States (178). A methodological correction was applied to recalculate the continental distribution, as the pre-computed continent field in the graph showed inconsistencies, such as the incorrect labeling of most of China’s records as belonging to Europe. This correction confirmed the Asian predominance, consistent with the intense recent taxonomic production from China and Southeast Asia.
The persistence of African underrepresentation, even with the increase in the volume of data processed, reinforces the geographic bias already identified in the literature. The results indicate that the knowledge graph, by describing the existing literature, reflects the trends and gaps in global sampling efforts. Conclusions about alpha, beta, or endemism diversity cannot be directly inferred from this data, as the graph represents published knowledge and not the natural distribution of species. Furthermore, the existence of cryptic species with identical conidial morphology, a gap pointed out by the literature, remains beyond the reach of a method based exclusively on morphological description.
Transition between ecosystems
Literature points to a lack of knowledge about how aquatic hyphomycetes disperse from the lotic environment to recolonize riparian vegetation and their ecological role outside the water column. The classification of habitats by environmental sphere, using a controlled vocabulary of ten fixed values, allowed the identification of records documenting non-strictly aquatic occurrences. Of the 4,392 valid taxa, 3,575 (81.4%) were documented in typically aquatic habitats, including environments such as streams, submerged leaves or wood, foam, lakes, or stream sediments.
In contrast, 283 taxa (6.4%) documented occurrence outside the water column, on substrates such as soil, leaf litter, dung, aerial material, or roots. This proportion is close to the sum of the Terrestrial and Transitional categories from the original measurement, which was 6.3%. The remaining 534 records (12.2%) did not have a filled habitat value. Detailed analysis of non-aquatic substrates revealed that soil was the most frequent, with 258 documented taxa, followed by leaf litter (16), feces (4), aerial (4), and roots (1). The volume of non-aquatic occurrences remains relatively small, reinforcing the interpretation that evidence of transition between ecosystems exists in the literature, but sparsely. The materialization of these records in the graph constitutes a starting point for targeted investigations into the ecology of these fungi.
Enrichment model selection
For the complementary stage of ecological attribute enrichment, the choice of the generative model was based on a controlled experiment, rather than reputation. Two language models of equivalent size were evaluated: `llama3.2:3b` and `qwen2.5:3b-instruct`. Both were subjected to the same prompt on the same real text, and metrics such as valid structural output rate, number of filled fields, and latency were compared. The `qwen2.5:3b-instruct` model demonstrated superior performance, producing valid JSON output with twice the frequency (80.0% versus 40.0% for `llama3.2:3b`).
Besides the higher frequency of valid output, `qwen2.5:3b-instruct` showed a lower average latency, of 31.4 seconds, compared to `llama3.2:3b`’s 36.2 seconds, and an equivalent number of filled fields (average of 14.75 fields versus 15.0). Although the sample used for this experiment was small and does not allow for a general statement about the comparative performance of models in taxonomic extraction, it was sufficient to support the operational decision that motivated its adoption. An important collateral finding was the stabilization of memory consumption, which occurred when fixing the context window at 6,144 tokens, avoiding excessive attention cache allocation that led to a consumption of 10.5 GB of memory.
Documented conidial forms
The detailing of documented conidium shapes, from 411 species with filled data among the 1,397 evaluated, revealed the predominance of certain morphological categories. Eighteen distinct categories of conidium shape were identified. The most frequently recorded shapes were ellipsoid, with 20.7% of occurrences, followed by cheiroide and obclavate, both with 14.8%. The tetraradiate shape represented 10.9% of records, and the filiform, 10.7%. Other shapes, such as multiradiate, triradiate, t-shaped, y-shaped, sigmoid, lunate, fusiform, and scolecoid, showed smaller percentages, ranging from 0.2% to 7.1%.
Angular shapes, such as triangular, pyramidal, and lobate, were also documented, although in smaller proportions, each accounting for 0.5% to 1.5% of the records. It is important to note that the count of distinct species and genera differs between the graph populations, each with its own provenance and curation level. For example, the RAG+Mistral population, with 1,397 species and 34 genera, is considered more reliable due to the association of `evidence_quote` with each record, while the biogeography population (4,392 species and 272 genera) includes a raw number of genera that may contain noise or genera outside the ingoldian scope.
In summary, the neuro-symbolic method proved effective in converting scattered taxonomic literature into a structured, integrated, and auditable knowledge graph. The full traceability of each piece of data to its original document excerpt is a crucial methodological advancement, transforming language model extraction from a trust artifact into a verification artifact, which enables its application in scientific contexts. The resulting graph allowed for the quantification of previously identified knowledge gaps in the literature, such as the absence of documentation of the sexual state in 97.3% of the evaluated taxa and the pronounced geographic bias in sampling effort, with 55.5% of occurrences concentrated in Asia and only 1.2% in Africa, confirming the persistence of these biases even with the increased volume of processed data.
4. Conclusion
This study aimed to develop and evaluate a neuro-symbolic method for extracting taxonomic knowledge from literature on aquatic hyphomycetes, with the goal of creating an auditable knowledge graph with integral traceability. It was found that the combination of deterministic components, metadata-driven retrieval, and an open-source language model, operating under strict governance rules, allowed for the processing of 529 unique documents, of which 472 yielded taxa, totaling 9,192 records and 4,333 traceable text blocks. In a subsequent extension, 1,397 species were structured from approximately 405 source documents. The main methodological contribution lies in integral traceability, where all morphological records maintained literal citation of evidence (100%), bibliographic metadata (99.7%), and article and page provenance (100%). This characteristic transforms knowledge extraction by a language model from an artifact of trust into an artifact of verification, enabling its application in scientific contexts and allowing for the auditing of information accuracy by specialists. The resulting graph made it possible to quantify knowledge gaps previously described in the literature, such as the absence of documented sexual state in 97.3% of the evaluated taxa and a pronounced geographical bias in sampling effort, with 55.5% of occurrences concentrated in Asia and only 1.2% in Africa.
Despite the success in knowledge structuring, it was observed that the heterogeneity in the format of numerical dimensions of conidia in the source literature, often presented as intervals or combined notations, constituted a limitation for the extraction of unique numerical values. Similarly, the description of conidial shape in compound prose led to limited coverage for direct categorical querying. Additionally, the method, focused on morphological description, does not address the existence of cryptic species with identical conidial morphology. However, the materialization of non-aquatic occurrence records in the graph offers a starting point for targeted investigations into the ecology of these fungi. The integral traceability established in the graph also paves the way for future accuracy assessments against expert-annotated reference datasets. This work, by building a structured and auditable knowledge base, provides the fundamental layer that will enable, in the future, automated identification systems or physical reality simulation engines to reason about what they observe, overcoming the taxonomic impediment and the limitations of knowledge extraction by language models.
Bibliographic References
Anderson, 2020 [Referência completa não encontrada no documento original]
BÄRLOCHER, Felix; GESSNER, Mark O.; GRAÇA, Manuel A. S. (eds.). Methods to study litter decomposition: a practical guide. 2. ed. Cham: Springer, 2020. DOI: 10.1007/978-3-030-30515-4.
Ingold, C. T. 1975. Convergent evolution in aquatic fungi: the tetraradiate spore. Botanical Journal of the Linnean Society, v. 7, p. 1-25.
Marcos, D. et
Mariz, J.; Franco-Duarte, R.; Cássio, F.; Pascoal, C.; Fernandes, I. 2021. Aquatic Hyphomycete Taxonomic Relatedness Translates into Lower Genetic Divergence of the Nitrate Reductase Gene. Journal of Fungi, v. 7, p. 1066. DOI: 10.3390/jof7121066.
Rezende, S. R. et al. 2025. Functional Diversity of Neotropical Aquatic Hyphomycetes: Insights Into Environmental Drivers. Biotropica, v. 57, n. 6, e70112. DOI: 10.1111/btp.70112.
Article originating from the Final Course Project of the Specialization in Data Science and Analytics of the MBA USP/Esalq
To learn more about the course, click here and access the MBX Academy platform