Abstract
Protein language models (PLMs) are often assumed to capture evolutionary information by training on large protein sequence datasets. Yet it remains unclear whether PLMs can reason about evolution—that is, infer evolutionary relationships between sequences. We test this capability by evaluating whether standard PLM usage, frozen or fine-tuned embeddings with distance-based comparison, supports evolutionary reasoning. Existing PLMs consistently fail to recover phylogenetic structure, despite strong performance on sequence-level tasks such as masked-token and contact prediction. We present Phyla, a hybrid state-space and transformer model that jointly processes multiple sequences and is trained using a tree-based objective across 3,000 phylogenies spanning diverse protein families. Phyla outperforms the next-best PLM by 9% on tree reconstruction and 23% on taxonomic clustering while remaining alignment- and guide-tree-free. Although classical alignment pipelines achieve higher absolute accuracy, Phyla narrows the gap and achieves markedly lower end-to-end runtime. Applied to real data, Phyla reconstructs biologically accurate clades in the tree of life and resolves genome-scale relationships among Mycobacterium tuberculosis isolates. These findings suggest that, under standard usage, evolutionary reasoning does not reliably emerge from large-scale sequence modeling. Instead, Phyla shows that models trained with phylogenetic supervision can reason about evolution more effectively, offering a biologically grounded path toward evolutionary foundation models.
1. Introduction
Protein language models (PLMs) use transformers with masked language or autoregressive self-supervision to model molecular sequences (Rives et al., 2021; Lin et al., 2022; Alley EC, 2019; Madani, 2023; Notin, 2022). PLMs have shown state-of-the-art performance across predictive (Meier et al., 2021; Rives et al., 2021; Rao et al., 2021; Elnaggar et al., 2021; Alley EC, 2019; Rao et al., 2020) and generative (Lin et al., 2022; Hayes et al., 2024; Madani, 2023; Ferruz, 2022) tasks. At their core, PLMs learn statistical distributions over amino acid sequences, modeling which residues are likely to appear given their surrounding context. This enables powerful zero-shot predictions of mutational effects by observing how the likelihood of a substitution changes under the model. Over time, this paradigm has been framed as a form of “evolutionary modeling,” with the assumption that capturing residue-level distributions implicitly reflects evolutionary dynamics. In practice, researchers often quantify these relationships using distance measures—typically Euclidean or cosine distances—between frozen or fine-tuned embeddings Alley EC (2019); Hie et al. (2022); West-Roberts et al. (2024); Pantolini et al. (2024); Muir et al. (2025).
However, in this work, we argue that this paradigm conflates evolutionary modeling with evolutionary reasoning. Evolutionary modeling, as practiced by current PLMs, involves capturing local amino acid distributions to estimate residue likelihoods. In contrast, evolutionary reasoning requires a deeper level of abstraction: given a set of sequences, can a model infer the evolutionary relationships that generated them? This includes identifying shared ancestry, relative divergence, and tree-like structure — tasks that cannot be solved by distributional modeling alone.
This distinction is critical. Evolutionary reasoning is the foundation of phylogenetic analysis — a problem that predates modern biology and underlies centuries of effort to reconstruct how life has changed through time. Classical phylogenetics attempts to recover the tree of life Hug (2016) from observed sequences, but current PLMs are not evaluated on their ability to do this. They operate largely in isolation, modeling individual sequences without explicit multi-sequence comparison, structure discovery, or relational inference. Beyond phylogeny, important biological insights can be discerned from reasoning across sequences, whether it is determining the impact of a protein variant (Meier et al., 2021; Brandes, 2023; et al., 2023) or annotating functions of poorly characterized proteins (Nguyen et al., 2024; Avsec, 2021; Zvyagin et al., 2022; Queen et al., 2024).
This work poses the following question: Are current PLMs capable of evolutionary reasoning? And if not, how must we reimagine their architecture and training to enable them to do so?
Present Work.
To address the limitations of current PLMs in performing evolutionary reasoning, we make several contributions. First, we introduce a benchmark for evolutionary reasoning over protein sequences, built from curated datasets containing ground-truth phylogenetic trees derived from established phylogenetic studies and databases. This benchmark enables rigorous evaluation of whether models can infer evolutionary structure from sets of sequences, rather than simply modeling local residue distributions. Second, we evaluate existing PLMs on this benchmark. Using their learned embeddings, we attempt to reconstruct phylogenetic trees and find that these models Lin et al. (2022); Hayes et al. (2024); ESM Team (2024); Nijkamp et al. (2022); Brixi et al. (2025) fail to outperform a simple baseline, Hamming distance, when evaluated under standard usage (frozen or fine-tuned embeddings with distance-based comparison). This analysis highlights a fundamental limitation: current PLMs are architecturally and functionally optimized for intra-sequence modeling, not inter-sequence reasoning.
To address this gap, we propose Phyla, a new model architecture designed for evolutionary reasoning. Phyla is a hybrid state-space and sparsified attention model that processes multiple sequences jointly. It alternates between inter-sequence modules, which detect conserved motifs across sequences, and intra-sequence modules, which contextualize these motifs within individual sequences—allowing the model to reason over sequence sets. We also introduce a novel pretraining objective tailored to phylogenetic structure. Instead of using masked language modeling, Phyla is trained using a tree loss that teaches the model to embed sequences such that their pairwise distances reflect the correct evolutionary topology.
Despite its compact size (24M parameters), Phyla outperforms existing PLMs in phylogenetic tree reconstruction and competitive accuracy in mutation effect prediction. On TreeBase—a dataset of protein sequences paired with phylogenetic trees from published studies—Phyla outperforms much larger models, including ESM-3 (1.4B) and ProGen-XLarge (6.4B), by 8% and 13% respectively, based on normalized Robinson-Foulds (normRF) distance. However, state-of-the-art accuracy remains with traditional phylogenetic algorithms Katoh et al. (2002); Price et al. (2010). Phyla is substantially faster and narrows this gap, but further advances in model architecture and training objectives will be required to surpass classical methods. On the ProteinGym mutation effect prediction benchmark, Phyla achieves a Spearman correlation of 0.64, matching or exceeding models with several orders of magnitude more parameters. We further demonstrate Phyla’s capacity for evolutionary reasoning by applying it to reconstruct the tree of life from ribosomal protein sequences spanning Bacteria, Archaea, and Eukarya. Additionally, we use Phyla to infer whole-genome evolutionary relationships among Mycobacterium tuberculosis isolates. In both cases, the resulting trees deviate from canonical topologies and instead reflect known functional distinctions, suggesting that Phyla learns representations aligned with true biological structure. These results position Phyla as a foundation for a new generation of protein models grounded in evolutionary reasoning rather than sequence-level pattern recognition alone.
2. Related Work
Protein Language Models (PLMs).
State-of-the-art protein language models include transformer-based models such as ESM2 (Lin et al., 2022), ESMC ESM Team (2024), ProGen (Madani, 2023), and Progen2 Nijkamp et al. (2022) that are trained using masked or autoregressive language modeling. These models learn to model the language of proteins by learning the co-occurrence of amino acid residues within a diverse training set. Other PLMs, such as ESM3 (Hayes et al., 2024), model additional data modalities. ESM3 considers structural and functional information in addition to the background amino acid sequences. These models have demonstrated good performance on intra-sequence reasoning from sequence modeling pre-training tasks, but have not explicitly been trained to perform inter-sequence reasoning between different sequences in the training set.
Alternatives to self-attention.
Self-attention is the backbone of the transformer but suffers from quadratic scaling with sequence length, making modeling longer protein sequences difficult (Vaswani et al. (2017)). The Mamba state-space architecture has been proposed as an alternative backbone architecture for sequence-based foundation models. The architecture builds upon the S4 class of structured state-space models (Gu et al. (2022)) by adding a selection mechanism and a hardware-aware parallel algorithm. These advances allow Mamba to model long sequences efficiently. Beyond Mamba, other approaches use similar ideas to extend context length, including Hyena (Poli et al., 2023a) and xLSTM (Beck et al., 2024). More recent work has shown hybrid state-space and transformer architectures allow for long-context modeling while maintaining the advantages of transformers Poli et al. (2023b); Ren et al. (2025).
Bioinformatics approaches to phylogenetic analysis.
Traditional tree reconstruction methods for a set of input protein sequences consist of generating a multiple sequence alignment (MSA) using one of many alignment algorithms. The MAFFT and Clustal Omega alignment algorithms are popular choices for efficient and accurate MSA generation (Katoh et al. (2002); Sievers et al. (2011)). These alignment algorithms align the input sequences by matching the location of the most conserved amino acids within the sequences. After generating the MSA, a phylogenetic tree is reconstructed using a tree reconstruction algorithm, like FastTree and IQTree (Price et al. (2010); Nguyen et al. (2014)). These algorithms infer the structure of the phylogenetic tree with and without parametric models and usually with various heuristics to generate the most likely phylogenetic tree topology. The primary limitation of tree reconstruction is runtime inefficiency as tree sizes grow. More recent works can be found in the Appendix A.6.
3. Problem Definition
Evolutionary Reasoning: Problem Formulation
Let denote a set of protein sequences drawn from an unknown evolutionary process that produced a true, strictly binary phylogenetic tree whose leaves correspond bijectively to . The patristic (evolutionary) distance between sequences and on is denoted .
Our goal is to learn an encoder that maps each sequence to an embedding space, together with a distance function , such that the embedding-based distances
approximate the true evolutionary distances .
A model is said to perform evolutionary reasoning on if there exists a computable mapping (e.g., a distance-based tree builder) such that the reconstructed tree
where , minimizes a topology-level loss
with dist denoting a structural metric such as normalized Robinson-Foulds (normRF) distance.
In our experiments, we use neighbor joining for , Euclidean distance for and the normalized Robinson-Foulds distance for . Under this formulation, evolutionary reasoning corresponds to learning embeddings and distance functions whose geometry maximally preserves the information contained in the true phylogenetic structure.
Alignment-Free and Guide-Tree-Free
Unlike most prior methods, our approach does not rely on a multiple sequence alignment (MSAs are used solely to derive supervision distances, not as model inputs) or a predefined guide tree (i.e. a fixed topology to scaffold inference). Removing both introduces new challenges: alignment and tree inference are jointly NP-hard WANG & JIANG (1994); Roch (2005), and guide trees offer strong structural priors. By dispensing with both, Phyla must discover meaningful patterns directly from unaligned sequences—capturing evolutionary structure without relying on handcrafted heuristics.
4. Methods
4.1. Phyla Model Architecture
To do well on evolutionary reasoning, models must be able to perform good inter- and intra-sequence reasoning. Inter-sequence reasoning requires the model to detect motifs that recur across different sequences, revealing shared evolutionary signatures. Intra-sequence reasoning requires the model to contextualize identified motifs within the context of an individual sequence to determine evolutionary divergence from the identified motif.
To meet these requirements, we introduce a hybrid state-space transformer model, Phyla. The Phyla architecture alternates between inter-sequence and intra-sequence reasoning blocks. Inter-sequence reasoning is performed using BiMamba layers, a parameter-efficient state-space module with gated linear recurrence and deep receptive fields, enabling the model to detect long-range evolutionary motifs across sequences Schiff et al. (2024). Intra-sequence reasoning is handled by sparsified attention layers to contextualize these motifs within each sequence. The current 24Mparameter Phyla model comprises three inter-sequence blocks, each containing 16 BiMamba layers followed by a single sparsified attention layer. Each layer operates with a hidden dimension of 256.
Unlike most PLMs which operate on a single sequence at a time (Lin et al. (2022); Hayes et al. (2024); ESM Team (2024); Notin et al. (2023b); Nijkamp et al. (2022)), Phyla is the first PLM designed to process multiple sequences concurrently. This enables it to directly compare sequences, identify conserved motifs, and exploit these inter-sequence relationships to infer evolutionary structure at inference time. While prior models have employed hybrid state-space transformer architectures (Poli et al. (2023b)), Phyla introduces a sparsification mechanism: an attention mask that constrains each token to attend only to tokens within its own sequence, preserving intra-sequence context while enabling efficient multi-sequence processing. Specifically :
| (4) |
4.2. Phyla Model Training
Tree Loss Pretraining.
To teach Phyla how to model input sequences to recapitulate evolutionary relationships, we designed a novel tree loss pretraining function. Constructing a phylogenetic tree contains a series of decisions in how to split sequences based on their relative distance to each other. With this in mind, we use a quartet loss to supervise training. The quartet loss encourages the model to embed sequences such that inferred distances preserve correct quartet topologies. For a set of sequences with predicted pairwise distances and true distances , we sample a set of quartets . For each quartet, we compute three possible pairwise distance sums:
and convert them into logits using a softmax-like transformation:
where is a temperature hyperparameter controlling softness. We compute the cross-entropy loss between these logits and the ground-truth minimum sum (from ):
Quartet loss is the sole pretraining objective used to train Phyla. In contrast to most protein language models, which rely on masked language modeling (MLM) over amino acids, Phyla does not use MLM.
Training Details.
Phyla was trained on distances derived from 3,321 high-quality multiple sequence alignments (MSAs) curated from the OpenProteinSet Ahdritz et al. (2023). Low-quality MSAs were removed using the filtering procedure described in EVE Frazer et al. (2021). For each MSA, we compute pairwise distances between sequences by counting the number of matching positions and dividing by the total alignment length. These normalized pairwise distances are used as supervision during training. We used MSA-derived pairwise distances rather than tree-based distances, as experiments showed that training on tree distances did not yield significant performance gains (Appendix A.1.2). Using the precomputed MSAs from OpenProteinSet therefore provided comparable results at substantially lower computational cost. The current 24M parameter model was trained on a single 80GB H100 GPU for 3 days with the AdamW optimizer using a 10,000 step linear warmup up to a learning rate of 1e-5 (Loshchilov & Hutter (2019)).
Adaptive Batch Size Sampling.
We employ an adaptive batch sizing approach to efficiently utilize GPU memory and avoid overfitting to a specific tree topology. We determine the largest subtree at every training step that can fit within the available GPU memory. Next, we randomly sample a subtree size such that , where is the number of sequences in . Finally, we identify how many subtrees of the sampled size can be accommodated within the GPU memory. If the model encounters an out-of-memory (OOM) error during this process, the subtrees are resampled with both the subtree size and the number of subtrees halved. We empirically determined that Phyla can process input lengths up to 213,350 tokens on a 32 GB GPU and up to 302,350 tokens on a 48 GB GPU. For other GPU memory sizes, we used a linear model to estimate the maximum allowable input length. Given the length of the longest protein in the input, we computed the maximum number of sequences that could fit within the memory limit.
Training Procedure.
During training, a phylogenetic tree is sampled, where consists of sequences . Each sequence is tokenized with an alphabet of 23 tokens, corresponding to 20 standard amino acids, a CLS token, a mask token, and a pad token. The input to Phyla is with a token concatenated in front of each tokenized sequence, . The size and number of trees considered in each training step are determined at each training step by the adaptive batch size sampler.
5. Experiments
Datasets.
We evaluate Phyla on a range of evolutionary and functional reasoning tasks. For phylogenetic tree reconstruction, we use two held-out datasets: TreeBase, which includes 1,533 curated phylogenetic trees across diverse species (Piel & Tannen (2009)), and TreeFam, which contains 9,586 gene-family trees spanning a wide evolutionary range (Li et al. (2006)). Dataset statistics are provided in Table 3 and Table 4, with further details in Appendix A.1.1. To assess taxonomic classification, we use bacterial isolate sequences from the Genome Taxonomy Database (GTDB) (Parks et al. (2021)). We define five classification tasks at different levels of taxonomic granularity: Class, Order, Family, Genus, and Species. These tasks measure the model’s ability to cluster sequences according to hierarchical evolutionary relationships. Together, these seven tasks—tree reconstruction in TreeBase and TreeFam, and taxonomic classification at five levels using GTDB—form our evolutionary reasoning benchmark. To evaluate performance beyond evolutionary structure, we also assess performance on functional prediction using the ProteinGym benchmark, which consists of 83 protein mutation effect datasets (Notin et al., 2023a) (Appendix A.1.3).
Baselines.
We consider four protein language models, one genomic foundation model, six models from the ProteinGym benchmark, and a naive Hamming distance baseline. The protein language models include ESM2, ESM3, ESM C, and ProGen2 (Lin et al. (2022); Hayes et al. (2024); ESM Team (2024); Nijkamp et al. (2022)). The genomic foundation model is Evo 2 (Brixi et al. (2025)). The six models from the ProteinGym benchmark are ProteinNPT, MSA Transformer, ESM-1v, Tranception, TranceptEVE, and DeepSequence (Notin et al. (2023a,b); Rao et al. (2021); Meier et al. (2021); Notin et al. (2022); Riesselman (2018); Notin (2022)). We also evaluate a traditional phylogenetic pipeline consisting of a multiple sequence alignment constructed via MAFFT Katoh et al. (2002) and then a tree constructed via FastTree Price et al. (2010).
Evaluation setup.
We consider three evaluation settings. Tree reconstruction: This setting evaluates the model’s ability to reconstruct phylogenetic trees given solely the original sequences. For each method, we generated protein embeddings, computed pairwise distances between embeddings, and reconstructed trees using the neighbor-joining algorithm. We evaluate tree reconstruction by comparing the predicted tree to the reference tree using the normalized Robinson-Foulds metric (Robinson & Foulds (1981)). Taxonomic clustering: This setting evaluates the model’s ability to perform fine-grained and coarse-grained classification of sequences. We cluster 500 sequences at each taxonomic level of Class, Order, Family, Genus, and Species and assess the homogeneity of the predicted clusters. Functional prediction: This setting evaluates the model’s ability to predict functional labels given solely the original sequences. We assess functional prediction by training a linear probe classifier on the generated embeddings, and also by utilizing the predicted tree structure to assign labels. More details can be found in Appendix A.1.1.
5.1. Phyla can Reason over Protein Sequences
Experimental setup.
To assess the ability of Phyla to reason over sequences, we assess Phyla’s ability to reconstruct phylogenetic trees on the TreeBase and TreeFam datasets. We use the metric of Robinson-Foulds distance, or “RF”, whereby a larger RF value is equivalent to a larger distance between predicted and reference tree, and can be interpreted as a lower quality predicted tree. The RF metric is not invariant to tree size, so we compute the normalized RF, or “normRF”, to directly compare the tree reconstruction performance between trees of different sizes. We utilize the ETE3 Toolkit implementation of RF and normRF distance (Jaime Huerta-Cepas & Bork (2016)). In addition, we assess Phyla’s ability to cluster sequences across various taxonomic levels. We report the metric of homogeneity across predicted clusters as a measure of the ability to classify sequences. We compare the performance of Phyla against PLMs (ESM2, ESM3, ESM C, ProGen2), a genomic foundation model (Evo 2), and a traditional phylogenetics workflow (MAFFT and FastTree) (Lin et al. (2022); Hayes et al. (2024); ESM Team (2024); Nijkamp et al. (2022); Brixi et al. (2025); Katoh et al. (2002); Price et al. (2010)). Table 1 shows the normRF performance of Phyla and benchmark models on the TreeBase and TreeFam datasets.
Table 1: Evolutionary reasoning benchmark comparing Phyla to existing protein language models (PLMs).
Tree reconstruction performance on TreeBase and TreeFam is evaluated using normalized Robinson-Foulds distance (normRF), where lower values indicate better agreement with ground truth phylogenies. Clustering performance at the Class, Order, Family, Genus, and Species levels is measured using homogeneity scores, with higher values indicating more accurate unsupervised grouping according to known taxonomic labels. For other clustering metrics see Appendix A.5.
| Model | TreeBase ↓ | TreeFam ↓ | Class ↑ | Order ↑ | Family ↑ | Genus ↑ | Species ↑ |
|---|---|---|---|---|---|---|---|
| Hamming Distance | 0.75 | 0.75 | — | — | — | — | — |
| MAFFT+FastTree | 0.65 | 0.32 | — | — | — | — | — |
| ESM2 (650M) | 0.78 | 0.67 | 0.64 | 0.66 | 0.68 | 0.71 | 0.75 |
| ESM2 (3B) | 0.79 | 0.67 | 0.55 | 0.56 | 0.57 | 0.59 | 0.67 |
| ESM3 (1.4B) | 0.81 | 0.72 | 0.61 | 0.63 | 0.66 | 0.67 | 0.72 |
| ESM C (300M) | 0.77 | 0.71 | 0.57 | 0.60 | 0.62 | 0.67 | 0.71 |
| ESM C (600M) | 0.80 | 0.73 | 0.61 | 0.66 | 0.66 | 0.71 | 0.75 |
| Evo 2 (7B) | 0.84 | 0.84 | 0.50 | 0.54 | 0.55 | 0.55 | 0.64 |
| ProGen2-Large (2.7B) | 0.77 | 0.68 | 0.60 | 0.65 | 0.66 | 0.71 | 0.75 |
| ProGen2-XLarge (6.4B) | 0.86 | 0.82 | 0.52 | 0.55 | 0.57 | 0.61 | 0.68 |
|
| |||||||
| Phyla (24M) | 073 | 0.58 | 0.71 | 0.76 | 0.87 | 0.93 | 0.98 |
Results.
Phyla achieves the best performance out of all tested PLMs on both the TreeBase and TreeFam tree reconstruction benchmarks, outperforming all tested baselines—including models with 12 to 266 times more parameters, such as ESM2 (650M) and ProGen2-XLarge (6.4B) (Table 1). On TreeFam, Phyla reduces normRF by 13.4% compared to the next-best model (ESM2 650M). This improvement is not attributable to data overlap with the pretraining corpus (Appendix A.1.1). Fine-tuning ESM2 embeddings with the same tree-based loss did not yield meaningful gains (Appendix A.1.2), and training Phyla with tree-derived versus MSA-derived supervision produced comparable results (Appendix A.1.2), indicating that performance arises from the model architecture rather than specific training heuristics.
Traditional alignment-based methods remain the accuracy upper bound: the MAFFT + FastTree pipeline achieves a normRF of 0.65 on TreeBase and 0.32 on TreeFam, while Phyla attains 0.73 and 0.58, respectively—closing roughly half of this gap. Notably, the classical workflow required roughly 2 hours on TreeBase and 66 hours on TreeFam across multiple CPU nodes, whereas Phyla completed both in under an hour on a single H100 GPU. On the taxonomy clustering benchmark, Phyla also achieves the best performance across all taxonomic levels, improving species-level homogeneity by 23.2% over the strongest baseline. Notably, all PLMs underperform compared to the naive Hamming distance baseline on TreeBase, highlighting the challenge of this dataset. These results underscore the effectiveness of incorporating evolutionary structure into Phyla architecture and training.
5.2. Phyla Trees Encode Protein Functional Information
Experimental setup.
To evaluate the expressivity of the learned embeddings, we use two complementary strategies for Phyla and the baseline PLMs. For Phyla, we convert its embeddings into pairwise distances and construct trees using the neighbor-joining algorithm, as in the previous benchmark. Functional labels from the training sequences are then overlaid onto the resulting tree. Local sequence clusters are identified using TreeCluster (Balaban M, 2019), which assigns each evaluation sequence to a cluster. The functional label of a test sequence is inferred by averaging the labels of training samples within its cluster, and performance is measured using Spearman rank correlation between predicted and true labels. For baseline PLMs, we follow the standard evaluation protocol and train a linear probe to predict functional labels directly from their embeddings. Applying this linear-probe approach to Phyla performed poorly. We utilize the 83 datasets from the ProteinGym (Notin et al. (2023a)) benchmark as our evaluation set (Appendix A.1.3). Figure 3 shows the average Spearman correlation metric with both the dataset size (in number of sequences trained on) and the model size (in parameters) on the 83 ProteinGym evaluation datasets.
Figure 3: Functional prediction performance on ProteinGym with model sizes and dataset sizes.
Spearman correlation of existing PLMs and Phyla on ProteinGym benchmark as a function of pretraining dataset size. Model points are sized based on the number of parameters in the model.
Results.
Phyla achieves competitive performance on the ProteinGym benchmark, ranking among the top-performing models across the 83 functional prediction tasks (Figure 3). Despite being trained on 34 times less data and with 27 times fewer parameters than models like ESM2 (650M), Phyla achieves a comparable Spearman correlation of 0.64. Notably, Phyla outperforms several larger PLMs, including ESM3 (1.4B) and Tranception, demonstrating that its tree-based representations encode meaningful biological function. These results suggest that the structured embeddings produced by Phyla not only capture phylogenetic and taxonomic information but also generalize to downstream functional prediction—despite minimal model size and data requirements.
5.3. Ablation Analyses
Experimental setup.
To understand the effect of the tree loss versus traditional masked language modeling loss, we trained Phyla with only masked language modeling (Phyla-MLM). To probe the effect of Phyla architecture on performance, we ablated the sparsified attention layers, which are the intra-sequence reasoning blocks (Phyla-NoAttention). We then evaluated both ablated Phyla models on the tree reasoning benchmark and on functional prediction.
Results.
As shown in Table 2, pretraining on a masked language modeling (MLM) objective resulted in substantial performance degradation across all tasks: a 19.3% increase in normalized Robinson-Foulds (normRF) distance for tree reconstruction (TreeBase and TreeFam), a 16.4% drop in Spearman correlation for functional prediction (ProteinGym), and a 5.3% reduction in average taxonomic clustering homogeneity. Similarly, ablating sparsified attention led to even greater degradation: a 20.4% increase in normRF, a 45.5% drop in functional prediction, and a 7.4% reduction in taxonomic clustering. These results highlight that both the tree-based training objective and the sparsified attention mechanism are critical to Phyla’s overall performance.
Table 2: Ablation study on Phyla’s architecture and training objectives.
Tree reconstruction is evaluated on TreeBase and TreeFam using normalized Robinson-Foulds distance (normRF), where lower values indicate better alignment with ground truth trees. Functional prediction is assessed on ProteinGym using Spearman correlation (higher is better). Taxonomic clustering is evaluated at five hierarchical levels—class, order, family, genus, and species—using homogeneity scores, with higher values indicating more taxonomically consistent clusters. Additional clustering metrics are reported in Appendix A.4.
| Model | TreeBase ↓ | TreeFam ↓ | ProteinGym ↑ | Class ↑ | Order ↑ | Family ↑ | Genus ↑ | Species ↑ |
|---|---|---|---|---|---|---|---|---|
| Phyla-MLM | 0.83 | 0.79 | 0.55 | 0.66 | 0.76 | 0.80 | 0.87 | 0.95 |
| Phyla-NoAttention | 0.86 | 0.78 | 0.44 | 0.69 | 0.74 | 0.78 | 0.82 | 0.92 |
| Phyla | 0.73 | 0.58 | 0.64 | 0.71 | 0.76 | 0.87 | 0.93 | 0.98 |
5.4. Phyla application to real world datasets
Phyla demonstrates promising performance in sequence reasoning. To showcase its capabilities, we applied Phyla to the task of phylogenetic tree construction. The tree of life is a fundamental framework in biology, delineating evolutionary relationships between organisms and serving as an indicator of relative phenotypic traits. Current approaches to constructing the tree of life typically rely on multiple sequence alignments of ribosomal proteins (Hug et al., 2016). We used Phyla to analyze a set of 3,084 phylogenetic sequences, successfully reconstructing the tree of life in just 16 hours, compared to the 3,840 hours required by traditional methods (Hug et al., 2016) (Appendix A.2).
In order to evaluate the validity of the reconstructed tree of life, we compare the tree to the multiple sequence alignment and perform manual feature inspection. As shown in Figure 1, Phyla accurately places sequences within their respective domains in the tree of life. Phyla identifies overlap between certain Archaeal isolates and Bacteria, a result consistent with current phylogenetic reasoning. Lokiarchaeota, an Archaeal lineage clustered with Bacteria, is known to have a mosaic genome with over 30% of its genome derived from Bacteria (Levasseur et al., 2017). Within this genus, Phyla placed Lokiarchaeaota archaeon loki (L-A) paraphyletic to Bacteria while Lokiarchaeota 45 8 (L-45) is paraphyletic to Archaea (Figure 4a). Examination of the multiple sequence alignment of L-45 and L-A with their immediate phylogenetic neighbors revealed that L-45 harbors a deletion of the S3 ribosomal protein while L-A retains this protein (Figure 4b). The S3 deletion has been noted in previous studies of Lokiarchaea genomes Da Cunha et al. (2017). Biologically, these differences may relate to adaptation to extreme environments. L-45 was isolated from the bottom of the Arctic Ocean, while L-A was isolated from the Horonobe Underground Research Laboratory (URL) in Japan. In fact, L-A’s neighbor, Methylacidiphilum infernorum, is an acidophilic methanotroph originally isolated from a geothermal area in New Zealand Hou et al. (2008). This environment shares similarities with the conditions in the URL, where extensive methane metabolism has been observed Amano et al. (2024). This highlights Phyla’s ability to discover potentially biologically meaningful evolutionary relationships through probing the output reconstructed tree. We also apply Phyla to whole-genome sequences of Mycobacterium tuberculosis, aligning over 4 megabases of DNA to infer novel phylogenetic relationships among clinical isolates (Appendix A.3).
Figure 1:
Phyla takes unaligned protein sequences and generates embeddings that reflects relative evolutionary distance between input sequences which we can use to construct phylogenetic trees.
Figure 4: Phyla created a new placement of Lokiarchaea.
(a) Lokiarchaeaota archeaon loki (L-A) was placed among Bacterial neighbors while Lokiarchaeota 45 8 (L-45) was placed among Archaeal neighbors. (b) Analysis of the multiple sequence alignment revealed that L-A placed with Bacteria retained a conserved S3 ribosomal protein, aligning with its Bacterial neighbors. In contrast, the L-45 placed with Archaea exhibited a deletion of the S3 ribosomal protein, aligning with its Archaeal neighbors.
6. Conclusion
We introduced an evolutionary reasoning benchmark showing that existing PLMs fail to recover phylogenetic structure, revealing a gap between sequence modeling and evolutionary reasoning. To address this, we proposed Phyla, a hybrid state-space transformer trained with a tree-based objective. Phyla achieves state-of-the-art performance on evolutionary reasoning and competitive accuracy on functional prediction, despite using far fewer parameters and data than large PLMs.
Traditional alignment-based methods such as MAFFT + FastTree remain the accuracy benchmark, but Phyla narrows this gap while offering orders-of-magnitude faster inference. Limitations include reliance on distance-based tree reconstruction, operation in Euclidean space that may underrepresent hierarchical structure, and an evolutionary benchmark that, while practical, cannot fully capture the diversity or open-ended nature of protein evolution. As more curated phylogenetic datasets become available, expanding this benchmark is an important next step. Overall, Phyla shows that evolutionary reasoning does not emerge from standard sequence-modeling paradigms and points toward a new class of models that learn evolution directly.
Supplementary Material
Figure 2:
Overview of the Phyla. (a) Phyla processes batches of protein sequences sampled from a tree, learning embeddings used to reconstruct phylogenies. (b) It alternates inter- and intra-sequence reasoning blocks. (c) Inter-sequence reasoning uses long bidirectional convolutions to extract shared motifs; intra-sequence reasoning applies sparsified attention to maintain per-sequence context.
Acknowledgments and Disclosure of Funding
Y.E. is supported by grant T32 HG002295 from the National Human Genome Research Institute, the NSDEG fellowship, and the Eric and Wendy Schmidt Fellowship. A.S. is supported by NSF GRFP grant DGE-2146755. Y.E. and M.Z. gratefully acknowledge the support of NIH R01-HD108794, NSF CAREER 2339524, US DoD FA8702-15-D-0001, awards from Harvard Data Science Initiative, Amazon Faculty Research, Google Research Scholar Program, AstraZeneca Research, Roche Alliance with Distinguished Scientists, Sanofi iDEA-iTECH Award, Pfizer Research, Chan Zuckerberg Initiative, John and Virginia Kaneb Fellowship award at Harvard Medical School, Biswas Computational Biology Initiative in partnership with the Milken Institute, and Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the funders.
Footnotes
Competing Interests
The authors declare no competing interests.
39th Conference on Neural Information Processing Systems (NeurIPS 2025).
Contributor Information
Yasha Ektefaie, Eric and Wendy Schmidt Center, Broad Institute of Harvard and MIT, Cambridge, MA 02142.
Andrew Shen, Department of Biomedical Data Science, Stanford University, Stanford, CA 94305.
Lavik Jain, Department of Biomedical Informatics, Harvard Medical School, Boston, MA 02115.
Maha Farhat, Department of Biomedical Informatics, Harvard Medical School, Boston, MA 02115.
Marinka Zitnik, Department of Biomedical Informatics, Harvard Medical School, Boston, MA 02115.
Code Availability Statement
Code to run Phyla can be found in the project Github.
References
- Ahdritz Gustaf, Bouatta Nazim, Kadyan Sachin, Jarosch Lukas, Berenberg Daniel, Fisk Ian, Watkins Andrew M., Ra Stephen, Bonneau Richard, and AlQuraishi Mohammed. Openproteinset: Training data for structural biology at scale, 2023. URL https://arxiv.org/abs/2308.05326. [Google Scholar]
- Biswas S AlQuraishi M Church GM Alley EC, Khimulya G. Unified rational protein engineering with sequence-based deep representation learning. Nat Methods, 2019. doi: 10.1038/s41592-019-0598-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Altschul Stephen F, Gish Warren, Miller Webb, Myers Eugene W, and Lipman David J. Basic local alignment search tool. Journal of molecular biology, 215(3):403–410, 1990. [DOI] [PubMed] [Google Scholar]
- Amano Yusuke, Sachdeva Rishabh, Gittins Daniel, Anantharaman Karthik, Lei Shuwei, Valentin-Alvarado Laura E., Diamond Samuel, Beppu Hiroshi, Iwatsuki Teruki, Mochizuki Ayako, Miyakawa Keiko, Ishii Eri, Murakami Hiroshi, Jaffe Adam L., Castelle Cindy, Lavy Adi, Suzuki Yohei, and Banfield Jillian F.. Diverse microbiome functions, limited temporal variation and substantial genomic conservation within sedimentary and granite rock deep underground research laboratories. Environmental Microbiome, 19(1):105, Dec 2024. doi: 10.1186/s40793-024-00649-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Agarwal V. Visentin D. et al. Avsec !. Effective gene expression prediction from sequence by integrating long-range interactions. Nature Methods, 2021. doi: 10.1038/s41592-021-01252-x. URL https://www.nature.com/articles/s41592-021-01252-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mai U Jia X Mirarab S Balaban M, Moshiri N. Treecluster: Clustering biological sequences using phylogenetic trees. PLoS ONE. 14(8):e0221068, 2019. doi: 10.1371/journal.pone.0221068. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Beck Maximilian, Pöppel Korbinian, Spanring Markus, Auer Andreas, Prudnikova Oleksandra, Kopp Michael, Klambauer Günter, Brandstetter Johannes, and Hochreiter Sepp. xlstm: Extended long short-term memory, 2024. URL https://arxiv.org/abs/2405.04517. [Google Scholar]
- Goldman G. Wang C.H. et al. Brandes N. Genome-wide prediction of disease variant effects with a deep protein language model. Nature Genetics, 2023. doi: 10.1038/s41588-023-01465-0. URL https://www.nature.com/articles/s41588-023-01465-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Brixi Garyk, Durrant Matthew G., Ku Jerome, Poli Michael, Brockman Greg, Chang Daniel, Gonzalez Gabriel A., King Samuel H., Li David B., Merchant Aditi T., Naghipourfar Mohsen, Nguyen Eric, Ricci-Tam Chiara, Romero David W., Sun Gwanggyu, Taghibakshi Ali, Vorontsov Anton, Yang Brandon, Deng Myra, Gorton Liv, Nguyen Nam, Wang Nicholas K., Adams Etowah, Baccus Stephen A., Dillmann Steven, Ermon Stefano, Guo Daniel, Ilango Rajesh, Janik Ken, Lu Amy X., Mehta Reshma, Mofrad Mohammad R.K., Ng Madelena Y., Pannu Jaspreet, Ré Christopher, Schmok Jonathan C., John John St., Sullivan Jeremy, Zhu Kevin, Zynda Greg, Balsam Daniel, Collison Patrick, Costa Anthony B., Hernandez-Boussard Tina, Ho Eric, Liu Ming-Yu, McGrath Thomas, Powell Kimberly, Burke Dave P., Goodarzi Hani, Hsu Patrick D., and Hie Brian L.. Genome modeling and design across all domains of life with evo 2. bioRxiv, 2025. doi: 10.1101/2025.02.18.638918. URL https://www.biorxiv.org/content/early/2025/02/21/2025.02.18.638918. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Da Cunha Violette, Gaia Morgan, Gadelle Daniele, Nasir Arshan, and Forterre Patrick. Lokiarchaea are close relatives of euryarchaeota, not bridging the gap between prokaryotes and eukaryotes. PLoS Genet., 13(6):e1006810, June 2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ding Xian, Zou Zijun, and Brooks Charles L. III. Deciphering protein evolution and fitness landscapes with latent space models. Nature Communications, 10:5644, 2019. doi: 10.1038/s41467-019-13633-0. URL https://doi.org/10.1038/s41467-019-13633-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Elnaggar Ahmed, Heinzinger Michael, Dallago Christian, Rihawi Ghalia, Wang Yu, Jones Llion, Gibbs Tom, Feher Tamas, Angerer Christoph, Steinegger Martin, Bhowmik Debsindhu, and Rost Burkhard. Prottrans: Towards cracking the language of life’s code through self-supervised deep learning and high performance computing, 2021. URL https://arxiv.org/abs/2007.06225. [DOI] [PubMed] [Google Scholar]
- ESM Team. Esm cambrian: Revealing the mysteries of proteins with unsupervised learning, 2024. URL https://evolutionaryscale.ai/blog/esm-cambrian. [Google Scholar]
- Cheng J. et al. Accurate proteome-wide missense variant effect prediction with alphamissense. Science, 2023. doi: 10.1126/science.adg7492. URL https://www.science.org/doi/10.1126/science.adg7492. [DOI] [PubMed] [Google Scholar]
- Schmidt S. Höcker B. Ferruz N. Protgpt2 is a deep unsupervised language model for protein design. Nature Communications, 2022. doi: 10.1038/s41467-022-32007-7. URL https://www.nature.com/articles/s41467-022-32007-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Frazer Jonathan, Notin Pascal, Dias Mafalda, Gomez Aidan, Min Joseph K, Brock Kelly P., Gal Yarin, and Marks Debora S.. Disease variant prediction with deep generative models of evolutionary data. Nature, 2021. [DOI] [PubMed] [Google Scholar]
- Freschi Lorenzo, Vargas Ronald, Husain Amna, et al. Population structure, biogeography and transmissibility of Mycobacterium tuberculosis. Nature Communications, 12:6099, 2021. doi: 10.1038/s41467-021-26248-1. URL https://doi.org/10.1038/s41467-021-26248-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gu Albert, Goel Karan, and Ré Christopher. Efficiently modeling long sequences with structured state spaces, 2022. URL https://arxiv.org/abs/2111.00396. [Google Scholar]
- Hayes Thomas, Rao Roshan, Akin Halil, Sofroniew Nicholas J., Oktay Deniz, Lin Zeming, Verkuil Robert, Tran Vincent Q., Deaton Jonathan, Wiggert Marius, Badkundri Rohil, Shafkat Irhum, Gong Jun, Derry Alexander, Molina Raul S., Thomas Neil, Khan Yousuf, Mishra Chetan, Kim Carolyn, Bartie Liam J., Nemeth Matthew, Hsu Patrick D., Sercu Tom, Candido Salvatore, and Rives Alexander. Simulating 500 million years of evolution with a language model. bioRxiv, 2024. doi: 10.1101/2024.07.01.600583. URL https://www.biorxiv.org/content/early/2024/07/02/2024.07.01.600583. [DOI] [PubMed] [Google Scholar]
- Hie Brian L., Yang Kevin K., and Kim Peter S.. Evolutionary velocity with protein language models predicts evolutionary dynamics of diverse proteins. Cell Systems, 13(4):274–285.e6, Apr 2022. ISSN 2405–4712. doi: 10.1016/j.cels.2022.01.003. URL https://doi.org/10.1016/j.cels.2022.01.003. [DOI] [PubMed] [Google Scholar]
- Hou Shaobin, Makarova Kira S, Saw Jimmy H W, Senin Pavel, Ly Benjamin V, Zhou Zhemin, Ren Yan, Wang Jianmei, Galperin Michael Y, Omelchenko Marina V, Wolf Yuri I, Yutin Natalya, Koonin Eugene V, Stott Matthew B, Mountain Bruce W, Crowe Michelle A, Smirnova Angela V, Dunfield Peter F, Feng Lu, Wang Lei, and Alam Maqsudul. Complete genome sequence of the extremely acidophilic methanotroph isolate v4, methylacidiphilum infernorum, a representative of the bacterial phylum verrucomicrobia. Biol. Direct, 3:26, July 2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Baker B. Anantharaman K. et al. Hug L. A new view of the tree of life. Nature Microbiology, 2016. doi: 10.1038/nmicrobiol.2016.48. URL https://www.nature.com/articles/nmicrobiol201648. [DOI] [PubMed] [Google Scholar]
- Hug Laura A, Baker Brett J, Anantharaman Karthik, Brown Christopher T, Probst Alexander J, Castelle Cindy J, Butterfield Cristina N, Hernsdorf Alex W, Amano Yuki, Ise Kotaro, Suzuki Yohey, Dudek Natasha, Relman David A, Finstad Kari M, Amundson Ronald, Thomas Brian C, and Banfield Jillian F. A new view of the tree of life. Nat. Microbiol., 1:16048, April 2016. [DOI] [PubMed] [Google Scholar]
- Serra Francois Huerta-Cepas Jaime and Bork Peer. Ete 3: Reconstruction, analysis and visualization of phylogenomic data. Mol Biol Evol, 2016. doi: 10.1093/molbev/msw046. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jiang Yueyu, Balaban Metin, Zhu Qiyun, and Mirarab Siavash. Depp: Deep learning enables extending species trees using single genes. Systematic Biology, 72(1):17–34, April 2022. ISSN 1063–5157. doi: 10.1093/sysbio/syac031. URL https://doi.org/10.1093/sysbio/syac031. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Katoh Kazutaka, Misawa Kazuharu, Kuma Kei-ichi, and Miyata Takashi. Mafft: a novel method for rapid multiple sequence alignment based on fast fourier transform. Nucleic Acids Research, 30 (14):3059–3066, July 2002. ISSN 0305–1048. doi: 10.1093/nar/gkf436. URL https://doi.org/10.1093/nar/gkf436. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Levasseur Anthony, Merhej Vicky, Baptiste Emeline, Sharma Vikas, Pontarotti Pierre, and Raoult Didier. The rhizome of lokiarchaeota illustrates the mosaicity of archaeal genomes. Genome Biol. Evol., 9(10):2635–2639, October 2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li Heng, Coghlan Avril, Ruan Jue, Lachlan James Coin Jean-Karim Hériché, Osmotherly Lara, Li Ruiqiang, Liu Tao, Zhang Zhang, Bolund Lars, Wong Gane Ka-Shu, Zheng Weimou, Dehal Paramvir, Wang Jun, and Durbin Richard. Treefam: a curated database of phylogenetic trees of animal 1048gene families. Nucleic Acids Research, 34(suppl1) : D572 – –D580,012006. ISSN0305 – doi :. URL 10.1093/nar/gkj118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lin Zeming, Akin Halil, Rao Roshan, Hie Brian, Zhu Zhongkai, Lu Wenting, Smetanin Nikita, dos Santos Costa Allan, Fazel-Zarandi Maryam, Sercu Tom, Candido Sal, et al. Language models of protein sequences at the scale of evolution enable accurate structure prediction. bioRxiv, 2022. [Google Scholar]
- Loshchilov Ilya and Hutter Frank. Decoupled weight decay regularization, 2019. URL https://arxiv.org/abs/1711.05101. [Google Scholar]
- Krause B. Greene E.R. et al. Madani A. Large language models generate functional protein sequences across diverse families. Nat Biotechnol 41, 1099–1106, 2023. 10.1038/s41587-022-01618-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mahapatra Aritra and Mukherjee Jayanta. Deephy: A deep learning model to reconstruct phylogenetic tree from unaligned nucleotide sequences. bioRxiv, 2025. 10.1101/2025.03.09.642239. URL https://www.biorxiv.org/content/early/2025/03/13/2025.03.09.642239. [DOI] [Google Scholar]
- Marin Maximillian G, Quinones-Olvera Natalia, Wippel Christoph, Behruznia Mahboobeh, Jeffrey Brendan M, Harris Michael, Mann Brendon C, Rosenthal Alex, Jacobson Karen R, Warren Robin M, Li Heng, Meehan Conor J, and Farhat Maha R. Pitfalls of bacterial pan-genome analysis approaches: a case study of m. tuberculosis and two less clonal bacterial species. Bioinformatics, pp. btaf219, May 2025. ISSN 1367–4811. 10.1093/bioinformatics/btaf219. URL https://doi.org/10.1093/bioinformatics/btaf219. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Meier Joshua, Rao Roshan, Verkuil Robert, Liu Jason, Sercu Tom, and Rives Alexander. Language models enable zero-shot prediction of the effects of mutations on protein function. bioRxiv, 2021. 10.1101/2021.07.09.450648. URL https://www.biorxiv.org/content/early/2021/07/10/2021.07.09.450648. [DOI] [Google Scholar]
- Mimori Takahiro and Hamada Michiaki. Geophy: Differentiable phylogenetic inference via geometric gradients of tree topologies, 2023. URL https://arxiv.org/abs/2307.03675. [Google Scholar]
- Muir Duncan F., Asper Garrison P. R., Notin Pascal, Posner Jacob A., Marks Debora S., Keiser Michael J., and Pinney Margaux M.. Evolutionary-scale enzymology enables exploration of a rugged catalytic landscape. Science, 388(6752):eadu1058, 2025. 10.1126/science.adu1058. URL https://www.science.org/doi/abs/10.1126/science.adu1058. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nesterenko Luca, Blassel Luc, Veber Philippe, Boussau Bastien, and Jacob Laurent. Phyloformer: Fast, accurate, and versatile phylogenetic reconstruction with deep neural networks. Molecular Biology and Evolution, 42(4):msaf051, March 2025. ISSN 1537–1719. 10.1093/molbev/msaf051. URL https://doi.org/10.1093/molbev/msaf051. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nguyen Eric, Poli Michael, Durrant Matthew G., Thomas Armin W., Kang Brian, Sullivan Jeremy, Ng Madelena Y., Lewis Ashley, Patel Aman, Lou Aaron, Ermon Stefano, Baccus Stephen A., Hernandez-Boussard Tina, Ré Christopher, Hsu Patrick D., and Hie Brian L.. Sequence modeling and design from molecular to genome scale with evo. bioRxiv, 2024. 10.1101/2024.02.27.582234. URL https://www.biorxiv.org/content/early/2024/03/06/2024.02.27.582234. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nguyen Lam-Tung, Schmidt Heiko A., von Haeseler Arndt, and Minh Bui Quang. Iq-tree: A fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies. Molecular Biology and Evolution, 32(1):268–274, November 2014. ISSN 0737–4038. 10.1093/molbev/msu300. URL https://doi.org/10.1093/molbev/msu300. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nijkamp Erik, Ruffolo Jeffrey, Weinstein Eli N., Naik Nikhil, and Madani Ali. Progen2: Exploring the boundaries of protein language models, 2022. URL https://arxiv.org/abs/2206.13517. [DOI] [PubMed] [Google Scholar]
- Dias M. Frazer J. Marchena-Hurtado J. Gomez A. Marks D.S. Gal Y. Notin P. Tranception: Protein fitness prediction with autoregressive transformers and inference-time retrieval. ICML, 2022. [Google Scholar]
- Notin Pascal, Van Niekerk Lood, Kollasch Aaron W, Ritter Daniel, Gal Yarin, and Marks Debora S.. Trancepteve: Combining family-specific and family-agnostic models of protein sequences for improved fitness prediction. bioRxiv, 2022. 10.1101/2022.12.07.519495. URL https://www.biorxiv.org/content/early/2022/12/10/2022.12.07.519495. [DOI] [Google Scholar]
- Notin Pascal, Kollasch Aaron W., Ritter Daniel, Lood van Niekerk Steffanie Paul, Spinner Hansen, Rollins Nathan, Shaw Ada, Weitzman Ruben, Frazer Jonathan, Dias Mafalda, Franceschi Dinko, Orenbuch Rose, Gal Yarin, and Marks Debora S.. Proteingym: Large-scale benchmarks for protein design and fitness prediction. bioRxiv, 2023a. 10.1101/2023.12.07.570727. URL https://www.biorxiv.org/content/early/2023/12/08/2023.12.07.570727. [DOI] [Google Scholar]
- Notin Pascal, Weitzman Ruben, Marks Debora S., and Gal Yarin. Proteinnpt: Improving protein property prediction and design with non-parametric transformers. bioRxiv, 2023b. 10.1101/2023.12.06.570473. URL https://www.biorxiv.org/content/early/2023/12/07/2023.12.06.570473. [DOI] [Google Scholar]
- Pantolini Lorenzo, Studer Gabriel, Pereira Joana, Durairaj Janani, Tauriello Gerardo, and Schwede Torsten. Embedding-based alignment: combining protein language models with dynamic programming alignment to detect structural similarities in the twilight-zone. Bioinformatics, 40 (1):btad786, January 2024. ISSN 1367–4811. 10.1093/bioinformatics/btad786. URL https://doi.org/10.1093/bioinformatics/btad786. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Parks Donovan H, Chuvochina Maria, Rinke Christian, Mussig Aaron J, Chaumeil Pierre-Alain, and Hugenholtz Philip. Gtdb: an ongoing census of bacterial and archaeal diversity through a phylogenetically consistent, rank normalized and complete genome-based taxonomy. Nucleic Acids Research, 50(D1):D785–D794, September 2021. ISSN 0305–1048. 10.1093/nar/gkab776. URL https://doi.org/10.1093/nar/gkab776. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pearson William R.. An introduction to sequence similarity (“homology”) searching. Current Protocols in Bioinformatics, Chapter 3:3.1.1–3.1.8, 2013. 10.1002/0471250953.bi0301s42. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chan L. Dominus M. J. Ruan J. Vos R. A. Piel W. H. and Tannen V.. Treebase v. 2: A database of phylogenetic knowledge. e-BioSphere, 2009. [Google Scholar]
- Poli Michael, Massaroli Stefano, Nguyen Eric, Daniel Y Fu Tri Dao, Baccus Stephen, Bengio Yoshua, Ermon Stefano, and Re Christopher. Hyena hierarchy: Towards larger convolutional language models. In Krause Andreas, Brunskill Emma, Cho Kyunghyun, Engelhardt Barbara, Sabato Sivan, and Scarlett Jonathan (eds.), Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 28043–28078. PMLR, 23–29 Jul 2023a. URL https://proceedings.mlr.press/v202/poli23a.html. [Google Scholar]
- Poli Michael, Wang Jue, Massaroli Stefano, Quesnelle Jeffrey, Carlow Ryan, Nguyen Eric, and Thomas Armin. StripedHyena: Moving Beyond Transformers with Hybrid Signal Processing Models, December 2023b. URL https://github.com/togethercomputer/stripedhyena. [Google Scholar]
- Price Morgan N., Dehal Paramvir S., and Arkin Adam P.. Fasttree 2 – approximately maximum-likelihood trees for large alignments. PLOS ONE, 5(3):1–10, March 2010. 10.1371/journal.pone.0009490. URL https://doi.org/10.1371/journal.pone.0009490. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Queen Owen, Huang Yepeng, Calef Robert, Giunchiglia Valentina, Chen Tianlong, Dasoulas George, Tai LeAnn, Ektefaie Yasha, Noori Ayush, Brown Joseph, et al. Procyon: A multimodal foundation model for protein phenotypes. bioRxiv, pp. 2024–12, 2024. [Google Scholar]
- Rao Roshan, Meier Joshua, Sercu Tom, Ovchinnikov Sergey, and Rives Alexander. Transformer protein language models are unsupervised structure learners. bioRxiv, 2020. 10.1101/2020.12.15.422761. URL https://www.biorxiv.org/content/early/2020/12/15/2020.12.15.422761. [DOI] [Google Scholar]
- Rao Roshan M, Liu Jason, Verkuil Robert, Meier Joshua, Canny John, Abbeel Pieter, Sercu Tom, and Rives Alexander. Msa transformer. In Meila Marina and Zhang Tong (eds.), Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 8844–8856. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/rao21a.html. [Google Scholar]
- Ren Liliang, Liu Yang, Lu Yadong, shen yelong, Liang Chen, and Chen Weizhu. Samba: Simple hybrid state space models for efficient unlimited context language modeling. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=bIlnpVM4bc. [Google Scholar]
- Ingraham J.B. Marks D.S. Riesselman A.J. Deep generative models of genetic variation capture the effects of mutations. Nature Method, 2018. 10.1038/s41592-018-0138-4. URL https://www.nature.com/articles/s41592-018-0138-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rives Alexander, Meier Joshua, Sercu Tom, Goyal Siddharth, Lin Zeming, Liu Jason, Guo Demi, Ott Myle, Zitnick C. Lawrence, Ma Jerry, and Fergus Rob. Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences. Proceedings of the National Academy of Sciences, 118(15):e2016239118, 2021. 10.1073/pnas.2016239118. URL https://www.pnas.org/doi/abs/10.1073/pnas.2016239118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Robinson D.F. and Foulds L.R.. Comparison of phylogenetic trees. Mathematical Biosciences, 53(1):131–147, 1981. ISSN 0025–5564. 10.1016/0025-5564(81)90043-2. URL https://www.sciencedirect.com/science/article/pii/0025556481900432. [DOI] [Google Scholar]
- Roch S.. A short proof that phylogenetic tree reconstruction by maximum likelihood is hard, 2005. URL https://arxiv.org/abs/math/0504378. [DOI] [PubMed] [Google Scholar]
- Schiff Yair, Kao Chia-Hsiang, Gokaslan Aaron, Dao Tri, Gu Albert, and Kuleshov Volodymyr. Caduceus: Bi-directional equivariant long-range dna sequence modeling, 2024. URL https://arxiv.org/abs/2403.03234. [PMC free article] [PubMed] [Google Scholar]
- Sievers Fabian, Wilm Andreas, Dineen David, Gibson Toby J, Karplus Kevin, Li Weizhong, Lopez Rodrigo, McWilliam Hamish Michael, Söding Johannes, Thompson Julie D, and Higgins Desmond G. Fast, scalable generation of high-quality protein multiple sequence alignments using clustal omega. Molecular Systems Biology, 7(1):539, 2011. 10.1038/msb.2011.75. URL https://www.embopress.org/doi/abs/10.1038/msb.2011.75. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Thorpe Jason, Sawaengdee Wipaporn, Ward Danielle, et al. Multi-platform whole genome sequencing for tuberculosis clinical and surveillance applications. Scientific Reports, 14:5201, 2024. 10.1038/s41598-024-55865-1. URL https://doi.org/10.1038/s41598-024-55865-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vaswani Ashish, Shazeer Noam, Parmar Niki, Uszkoreit Jakob, Jones Llion, Gomez Aidan N., “ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17, pp. 6000–6010, Red Hook, NY, USA, 2017. Curran Associates Inc. ISBN 9781510860964. [Google Scholar]
- WANG LUSHENG and JIANG TAO. On the complexity of multiple sequence alignment. Journal of Computational Biology, 1(4):337–348, 1994. 10.1089/cmb.1994.1.337. URL https://doi.org/10.1089/cmb.1994.1.337. [DOI] [PubMed] [Google Scholar]
- Weinstein Eli, Amin Alan, Frazer Jonathan, and Marks Debora. Non-identifiability and the blessings of misspecification in models of molecular fitness. In Koyejo S., Mohamed S., Agarwal A., Belgrave D., Cho K., and Oh A. (eds.), Advances in Neural Information Processing Systems, volume 35, pp. 5484–5497. Curran Associates, Inc., 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/247e592848391fe01f153f179c595090-Paper-Conference.pdf. [Google Scholar]
- West-Roberts Jacob, Kravitz Joshua, Jha Nishant, Cornman Andre, and Hwang Yunha. Diverse genomic embedding benchmark for functional evaluation across the tree of life. bioRxiv, 2024. 10.1101/2024.07.10.602933. URL https://www.biorxiv.org/content/early/2024/07/16/2024.07.10.602933. [DOI] [Google Scholar]
- World Health Organization. Global tuberculosis report 2024, 2024. URL https://www.who.int/publications/i/item/9789240101531. Licence: CC BY-NC-SA 3.0 IGO. [Google Scholar]
- Xie Tianyu and Zhang Cheng. Artree: A deep autoregressive model for phylogenetic inference. In Advances in Neural Information Processing Systems, volume 36, 2023. Spotlight. [Google Scholar]
- Xie Tianyu, Richman Harry, Gao Jiansi, Matsen Frederick A., and Zhang Cheng. Phylovae: Unsupervised learning of phylogenetic trees via variational autoencoders. In Proceedings of the International Conference on Learning Representations (ICLR), Jan 2025. Accepted as Poster. [Google Scholar]
- Zvyagin Maxim, Brace Alexander, Hippe Kyle, Deng Yuntian, Zhang Bin, Bohorquez Cindy Orozco, Clyde Austin, Kale Bharat, Perez-Rivera Danilo, Ma Heng, Mann Carla M., Irvin Michael, Pauloski J. Gregory, Ward Logan, Hayot Valerie, Emani Murali, Foreman Sam, Xie Zhen, Lin Diangen, Shukla Maulik, Nie Weili, Romero Josh, Dallago Christian, Vahdat Arash, Xiao Chaowei, Gibbs Thomas, Foster Ian, Davis James J., Papka Michael E., Brettin Thomas, Stevens Rick, Anandkumar Anima, Vishwanath Venkatram, and Ramanathan Arvind. Genslms: Genome-scale language models reveal sars-cov-2 evolutionary dynamics. bioRxiv, 2022. 10.1101/2022.10.10.511571. URL https://www.biorxiv.org/content/early/2022/10/11/2022.10.10.511571. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.




