Role-Aware Line-Graph Neural Networks for Interpretable Prediction of Pairwise Microbial Interactions
E. Gholamzadeh, K. Singla, N. Scherf
Key points
From the paper's conclusion- We therefore represented the data as a role-aware line graph: each node is one directional measurement, and two nodes are connected when, under the same carbon condition, they share the same effector or the same affected species.
Abstract
Predicting how microbial species affect each other's growth is a key challenge in microbial ecology. Using one of the largest available pairwise interaction datasets, comprising 20 soil bacteria co-cultured under 39 carbon conditions (15{,}074 directional measurements), we predicted whether one species has a positive or negative effect on the growth of another from monoculture growth, metabolic profiles, and phylogeny. Existing machine learning approaches treat each measurement as an independent sample, although experiments that share a species under the same condition are biologically related. We therefore represented the data as a role-aware line graph: each node is one directional measurement, and two nodes are connected when, under the same carbon condition, they share the same effector or the same affected species. This allows graph neural networks (GNNs) to pass information between related interactions. Our role-aware GAT-SAGE model achieved an F1-score of 81.38% for one-way prediction, outperforming the 73.79% previously reported for Extreme Gradient Boosting (XGBoost). For two-way interaction types (mutualism, competition, and parasitism), GAT-SAGE reached a macro F1-score of 60.34%. This exceeded the 55.71% of a neural network without graph structure but was below the 64.24% of XGBoost. Mutualism remained difficult to predict for all models. Layer-wise relevance propagation showed that one-way effects depend mainly on monoculture growth, whereas two-way interaction types depend more on the carbon environment. Encoding the dependency structure of interaction experiments thus adds information beyond the features of each measurement and provides interpretable insight into microbial interactions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SIMBA-GNN: mechanistic graph learning for microbiome prediction.NPJ systems biology and applications · 2025
- Interpreting graph neural networks reveals microbial association patterns in inflammatory bowel diseasesbioRxiv · 2026
- Strict taxonomic cold-start benchmarking reveals when graph learning adds value beyond microbial lineage priors.Computational biology and chemistry · 2026
- Multilayer interaction networks reveal multidimensional ecological strategies and context-dependent competition in soil actinobacteriabioRxiv · 2026
- Data coherence over data volume drives generalisable genome-based prediction of microbial carbon utilisationbioRxiv · 2026
- Addressing the Abundance Paradox Through Topology‐Guided Graph Learning for Cross‐Cohort Classification of Type 2 DiabetesiMetaMed · 2026