bioRxivEvolutionary BiologyPreprint
Phyloformer: towards fast and accurate phylogeny estimation with self-attention networks
Abstract
AO_SCPLOWBSTRACTC_SCPLOWAn important problem in molecular evolution is that of phylogenetic reconstruction, that is, given a set of sequences descending from a common ancestor, the reconstruction of the binary tree describing their evolution from the latter. State-of-the-art methods for the task, namely Maximum likelihood and Bayesian inference, have a high computational cost, which limits their usability on large datasets. Recently researchers have begun investigating deep learning approaches to the problem but so far these attempts have been limited to the reconstruction of quartet tree topologies, addressing phylogenetic reconstruction as a classification problem. We present here a radically different approach with a transformer-based network architecture that, given a multiple sequence alignment, predicts all the pairwise evolutionary distances between the sequences, which in turn allow us to accurately reconstruct the tree topology with standard distance-based algorithms. The architecture and its high degree of parameter sharing allow us to apply the same network to alignments of arbitrary size, both in the number of sequences and in their length. We evaluate our network Phyloformer on two types of simulations and find that its accuracy matches that of a Maximum Likelihood method on datasets that resemble training data, while being significantly faster.
- assay: protein sequence
- research focus: phylogenetics / evolution
- approach: deep learning
- approach: transformer / foundation model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Phyloformer: Fast, accurate and versatile phylogenetic reconstruction with deep neural networks
Luca Nesterenko, Luc Blassel, … Laurent Jacob·Molecular Biology and EvolutionPeer-reviewed·Mar 10, 2025
- TreeFormer: A transformer-based tree rearrangement operation for phylogenetic reconstruction
Nhan Ly-Trong, Frederick A. Matsen IV, Bùi Quang Minh·bioRxiv·Oct 28, 2024
- Machine learning can be as good as maximum likelihood when reconstructing phylogenetic trees and determining the best evolutionary model on four taxon alignments
N. Kulikov, F. Derakhshandeh, C. Mayer·bioRxiv·Jul 12, 2023
- Phylogenetic tree inference using generative models
Edo Dotan, Asaf Schers, … Yonatan Belinkov·bioRxiv·Jun 16, 2026
- Accurate inference of tree topologies from multiple sequence alignments using deep learning
A. Suvorov, J. Hochuli, D. Schrider·bioRxiv·Jun 18, 2019
- Accurate and efficient phylogenetic inference through end-to-end deep learning
Xinru Zhang, Shizhe Ding, … Dongbo Bu·Molecular Biology and EvolutionPeer-reviewed·Oct 23, 2025