Integrating Evolutionary History into Biological Machine Learning

33 concepts25 papers1 proposal

In standard machine learning, features are typically treated as independent variables. If you are predicting a disease based on a list of 1,000 bacterial species, a typical model assumes that Species A is as different from Species B as it is from Species Z. However, biology does not work this way. Species are related by a shared evolutionary history—a phylogenetic tree—where proximity often dictates functional similarity.

A growing body of research argues that treating biological entities as independent is a "flat" representation that discards critical context. Instead, by integrating the phylogenetic tree as a structural prior, models can "borrow strength" across related branches, effectively handling the high dimensionality and extreme sparsity common in biological data.

The Tree as a Structural Prior

The most direct way to integrate evolutionary history is to embed the tree structure into the model's architecture or its latent space. In generative modeling, Moreta et al. replaced the standard independent Gaussian prior in a Variational Autoencoder (VAE) with a tree-structured Ornstein-Uhlenbeck process. This forces the model to learn a latent space where the distance between sequences explicitly reflects their evolutionary distance, improving the reconstruction of ancestral proteins.

Similarly, Huo et al. highlight that phylogeny-aware neural networks can embed tree distances directly into their structures. This transforms the model from a "black box" into a biologically interpretable tool, as the network learns to treat evolutionarily related organisms as non-independent variables.

Overcoming Sparsity through Hierarchical Aggregation

Microbiome data is notoriously sparse; most species are absent from most samples. When models treat each species as an independent feature, they struggle to find patterns in this "sea of zeros." Phylogenetic integration solves this by aggregating signals along the branches of the tree.

Wu et al. demonstrated that by grouping taxonomically related organisms, models can detect signals distributed across a lineage rather than relying on a single species to reach statistical significance. This hierarchical approach is formalized by Li Ma through Dirichlet-tree multinomial mixtures, which use the tree to assign dispersion parameters at every internal node. This allows the model to capture complex dependencies that standard clustering methods miss.

In dimensionality reduction, Armstrong et al. show that weighting features based on their phylogenetic position allows researchers to detect subtle community shifts. By recognizing that closely related taxa likely share ecological niches, these models can group related features to reveal biological signals that would otherwise be obscured by technical noise.

Consistency and Interaction Regularization

Evolutionary history also serves as a powerful regularizer. If a model predicts that a specific drug is effective against one bacteria, it should—all else being equal—predict similar effectiveness for a closely related relative.

Wan et al. applied this logic to antibiotic discovery, using a consistency constraint during training to ensure that predictions remain stable across phylogenetically similar targets. This inductive bias helps the model learn patterns of activity that align with known biological reality.

This principle extends to ecological interactions. Parr et al. and Seo et al. argue that because related species often share behaviors, phylogenetic distance can weight evidence when predicting "who eats whom" in new environments. Gui et al. further confirm that evolutionary history is a significant predictor of microbial interaction networks, as genetically related taxa are more likely to exhibit strong ecological links.

Improving Model Selection and Reconstruction

Beyond predictive modeling, phylogenetic information can guide the computational process itself. Olier et al. used evolutionary distances as "meta-features" to help a meta-learner choose the best machine learning algorithm for a given protein family. By knowing the biological proximity of targets, the system can predict which computational strategies will be most effective.

Finally, in the realm of sequence analysis, Sjöstrand et al. and Zheng et al. showed that reconstructing gene histories within the context of a known species tree significantly reduces errors. By reconciling sequence evolution with speciation events, these models ensure that reconstructed gene trees are not just mathematically optimal, but biologically plausible.

Key Foundational Work

Using the Semantic Web to Integrate Ecoinformatics Resources (2006) — contributed 3 concept elements to this direction.
DLRS: gene tree evolution in light of a species tree (2012) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_phylogenetic_prior_integration_18d48f09,
  title = {phylogenetic prior integration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/phylogenetic-prior-integration/rdr_18d48f09a2484beaa13586b574ebf077},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_phylogenetic_prior_integration_18d48f09_v1,
  title = {phylogenetic prior integration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/phylogenetic-prior-integration/rdr_18d48f09a2484beaa13586b574ebf077/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake