Research

Large-scale extraction of ecological interactions: a workflow using language models

A study published in 2026 presents an automated method using GPT-4o to extract 144,402 interactions among 36,471 taxa from 83,910 scientific papers, achieving 89.5% precision and 70.0% recall.

01

The challenge of ecological synthesis

Ecology is grounded in the study of interactions between organisms and their environment, such as predation, competition, parasitism, and mutualism, which underpin population dynamics and ecosystem functioning. However, information about these interactions is scattered across hundreds of thousands of scientific papers, making its extraction labor-intensive, time-consuming, and often impossible to carry out consistently. Inconsistent terminology and the lack of general database schemas across authors and subfields make integrating these data even more difficult. Until now, data on interactions between species have been among the most limited and biased types of data, while also being some of the most sought-after in ecological research.

02

An automated, scalable workflow

A study published on October 27, 2026, presents a replicable and adaptable workflow that automates the extraction of a broad range of biological interactions between species from scientific literature using large language models (LLMs). The study’s primary aim is methodological: to show that structured ecological knowledge can be extracted from existing literature using current tools, and to lay the groundwork for future ecological syntheses built on automated workflows. This approach is a natural extension of earlier advances in text mining, which often required task-specific development and had limited capacity to process heterogeneous and inconsistently structured research findings.

03

Results of the large-scale application

To demonstrate the workflow’s feasibility, the researchers carried out a large-scale data extraction directly from a corpus of 83,910 scientific papers using the OpenAI GPT-4o model. The approach successfully extracted a network of 144,402 interactions among 36,471 taxa. These results show that general-purpose LLMs can support large-scale ecological data synthesis by transforming information scattered across the literature into reusable and interoperable datasets. Standardized outputs can be queried, examined, or joined with existing interaction repositories and taxonomic databases, facilitating their reuse in subsequent analyses.

04

Model performance and limitations

The performance analysis indicates that the model achieves 89.5% precision and 70.0% recall. The high precision highlights the model’s robustness in minimizing false positives, while recall indicates room for improvement in detecting all relevant interactions. In a stratified sample with balanced representation of taxa, precision was slightly lower (85.0%), which could indicate that more common and better-represented taxa are also handled best by the model. Recall in this stratified sample was higher (88.5%), probably because this subset is conditioned on the workflow returning at least one interaction and therefore excludes paragraphs with empty output. In the unstratified evaluation, paragraphs with empty outputs account for most of the missed interactions, reducing overall recall.

05

Implications and quality considerations

The results depend on quality-filtering choices and inherit biases present in the underlying literature, highlighting the need for validation and quality control. The study emphasizes the importance of being clear and transparent about LLM use and data origins. Although the workflow demonstrates that LLMs can perform complex extraction tasks at very large scale, it is crucial to recognize that the extracted data are not a perfect representation of ecological reality, but a synthesis of information available in the scientific literature, with all its inherent limitations and biases.

Sources and references View references Hide references 1

Continue reading

Related stories