Canopy: A Heterograph Foundation Model for Metabolic Engineering

Jake Bowden, Laurence Legon, Satnam Surae

TL;DR

Researchers have developed CANOPY, a novel "foundation model" for metabolic engineering that uses a massive knowledge graph to predict microbial fermentation outcomes. This approach integrates diverse biological data and leverages advanced graph neural networks to outperform traditional methods in predicting product titers, paving the way for more efficient strain design.

What Problem Does This Paper Address?

Designing microbes to efficiently produce valuable chemicals (like fuels or pharmaceuticals) is crucial for a sustainable bioeconomy. However, this process, known as metabolic engineering, is slow and expensive. Current computational tools either rely on static models that can't learn from experimental data or use machine learning on simplified features, losing the rich, interconnected nature of biological information. This means researchers spend a lot of time and resources on trial-and-error experiments. The core challenge is to build a computational system that can learn from vast amounts of biological data, understand the complex relationships between genes, proteins, and metabolic processes, and accurately predict how changes in a microbe will affect its product output.

Methods

CANOPY is built around a heterogeneous knowledge graph (KG). This KG is a sophisticated network representing biological entities (like genes, proteins, metabolites, and strains) and their relationships. To construct this KG, the authors integrated data from ten different sources, including public databases and proprietary experimental records, using a tool called BioCypher.

The key innovations lie in how they represent and process this data:

  • Multi-Modal Feature Encoding: Instead of just using simple numerical features, CANOPY uses specialized "foundation models" to encode different types of biological data:
  • ESM-2 for protein sequences.
  • MoLFormer-XL for chemical structures (SMILES).
  • PubMedBERT for biomedical text (like gene descriptions). These encoded features are then integrated into the KG.

  • Augmented Heterogeneous Graph Transformer (HGT): The core of CANOPY's learning is a modified HGT architecture. This model is designed to handle the diverse node and edge types in the KG. It's enhanced with:

  • SignNet positional encodings: To capture the geometric relationships between nodes.
  • Jumping Knowledge aggregation: To effectively combine information from different layers of the network.
  • Virtual nodes: To improve connectivity and information flow across the graph.
  • Self-Supervised Pretraining: To learn general representations from the KG without explicit labels for every task, CANOPY is pretrained using four objectives:
  • Link prediction: Predicting missing relationships between nodes.
  • Masked node modeling: Reconstructing masked features of nodes.
  • Distance prediction: Predicting the shortest path distance between nodes.
  • Contrastive experiment-pair loss: Learning to distinguish similar vs. dissimilar experimental outcomes. Crucially, these losses are combined using learned homoscedastic uncertainty weighting, allowing the model to automatically balance their contributions.

Datasets

CANOPY integrates data from ten sources:

  • MetaNetX and KEGG (metabolites, reactions)
  • UniRef90, InterPro (proteins, domains)
  • NCBI Taxonomy and Genomics (genes, strains, taxonomy)
  • Gene Ontology (functional annotations)
  • A proprietary experimental database and literature-mined experiments (fermentation runs, transcriptomics)

The paper introduces a benchmark dataset of 4,791 fermentation experiments with a deterministic 5x cross-validation split for downstream evaluation. This dataset is noted as being more comprehensive than existing simulated or less curated benchmarks.

Key Insights and Ideas

  • The Power of Relational Structure: The paper strongly emphasizes that simply using tabular data or isolated features misses crucial biological insights. CANOPY's success hinges on its ability to capture the complex, interconnected relationships within a biological system.
  • Foundation Models as Feature Extractors: Integrating pre-trained domain-specific foundation models (like ESM-2 for proteins) as feature encoders within a graph framework is a powerful way to leverage existing knowledge and handle diverse data modalities.
  • Heterogeneous Graphs for Biological Complexity: Biological systems are inherently heterogeneous. Using a heterogeneous graph structure, rather than a homogeneous one, is essential for accurately representing and learning from this complexity.
  • Self-Supervised Learning for Broad Applicability: The multi-task self-supervised pretraining approach allows CANOPY to learn robust, generalizable representations that can be fine-tuned for various downstream tasks, making it a true "foundation model."
  • Learned Uncertainty Weighting is Key: Balancing multiple pretraining objectives is challenging. The learned uncertainty weighting mechanism is critical for preventing one loss from dominating and ensuring stable training.

Key Results

  • Superior Titer Prediction: CANOPY's frozen embeddings achieved an $R^2$ of 0.41 on the fermentation titer prediction task, significantly outperforming tabular baselines (best $R^2 = 0.24$) and homogeneous GNN variants.
  • Scalability: The model was evaluated at different scales, with the largest configuration (3B parameters) achieving the best performance.
  • Contribution of Components: Ablation studies showed that each of the architectural augmentations (SignNet PE, Jumping Knowledge, virtual nodes) and pretraining objectives contributed positively to performance.

Limitations and Future Work

  • Data Sparsity: The authors acknowledge that experimental data is sparse and unevenly distributed across compounds and organisms, which may limit scaling.
  • Predictive vs. Mechanistic: CANOPY is primarily a predictive model. While attention analysis offers some interpretability, it doesn't replace mechanistic modeling.
  • Baseline Limitations: Some baselines were not included (e.g., graph-free pooled-encoder controls).
  • Data Availability: The full dataset and pipeline are not yet publicly released, though a release is planned.
  • Future Directions:
    • Scaling Embeddings: Using larger foundation models for node features.
  • Expanding KG: Incorporating more data types like DNA parts and metagenomic sequences.
  • Broader Applications: Extending CANOPY to other tasks like chassis selection, de novo pathway design, and gene essentiality prediction.
  • Generative Design: Pairing CANOPY with generative models for closed-loop strain design.

Summary updated

Abstract

Designing microbial strains that produce high-value chemicals at commercially viable titers remains a central challenge in metabolic engineering. Existing computational approaches either rely on stoichiometric constraint-based models that cannot learn from experimental data, or apply tabular machine learning to hand-crafted features that discard the relational structure of biological knowledge. We present Canopy, a heterogeneous graph foundation model that integrates ten public and proprietary data sources into a unified knowledge graph (KG) of 6.9M nodes across 13 types and 34 edge types, covering genes, proteins, metabolites, reactions, pathways, strains, and fermentation experiments. Node features are encoded through domain-specific foundation models (ESM-2 for protein sequences, MoLFormer for chemical SMILES, and PubMedBERT for biomedical text), yielding a multi-modal representation within a single graph. We pretrain a Heterogeneous Graph Transformer (HGT) augmented with SignNet positional encodings, Jumping Knowledge aggregation, and virtual nodes using four self-supervised objectives (link prediction, masked node modelling, distance prediction, and contrastive experiment clustering), balanced via learned homoscedastic uncertainty weighting. On the downstream task of fermentation titer prediction, frozen Canopy embeddings achieve $R^{2} = 0.41$ with a lightweight probe, outperforming tabular baselines (best $R^{2} = 0.24$) and homogeneous GNN variants.
BibTeX
@inproceedings{bowden2026canopy,
  author = {Jake Bowden and Laurence Legon and Satnam Surae},
  title = {{Canopy: A Heterograph Foundation Model for Metabolic Engineering}},
  booktitle = {GenBio @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=H8bvgKoT7j},
}
Figure