Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

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 P hyla , 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. P hyla 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, P hyla narrows the gap and achieves markedly lower end-to-end runtime. Applied to real data, P hyla 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, P hyla shows that models trained with phylogenetic supervision can reason about evolution more effectively, offering a biologically grounded path toward evolutionary foundation models.
Full text 82,068 characters · extracted from preprint-html · click to expand
Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models View ORCID Profile Yasha Ektefaie , View ORCID Profile Andrew Shen , Lavik Jain , View ORCID Profile Maha Farhat , View ORCID Profile Marinka Zitnik doi: https://doi.org/10.1101/2025.01.17.633626 Yasha Ektefaie 1 Eric and Wendy Schmidt Center, Broad Institute of Harvard and MIT , Cambridge, MA 02142 Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Yasha Ektefaie Andrew Shen 1 Eric and Wendy Schmidt Center, Broad Institute of Harvard and MIT , Cambridge, MA 02142 Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Andrew Shen Lavik Jain 3 Department of Biomedical Informatics, Harvard Medical School , Boston, MA 02115 Find this author on Google Scholar Find this author on PubMed Search for this author on this site Maha Farhat 3 Department of Biomedical Informatics, Harvard Medical School , Boston, MA 02115 Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Maha Farhat Marinka Zitnik 3 Department of Biomedical Informatics, Harvard Medical School , Boston, MA 02115 Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Marinka Zitnik Abstract Full Text Info/History Metrics Data/Code Preview PDF 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 P hyla , 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. P hyla 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, P hyla narrows the gap and achieves markedly lower end-to-end runtime. Applied to real data, P hyla 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, P hyla 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 P hyla , a new model architecture designed for evolutionary reasoning. P hyla 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, P hyla 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), P hyla 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—P hyla 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) . P hyla 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, P hyla achieves a Spearman correlation of 0.64, matching or exceeding models with several orders of magnitude more parameters. We further demonstrate P hyla ’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 P hyla 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 P hyla learns representations aligned with true biological structure. These results position P hyla 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 hardwareaware 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 S = { s 1 ,…, s n }denote a set of protein sequences drawn from an unknown evolutionary process that produced a true, strictly binary phyloge-netic tree T ∗ whose leaves correspond bijectively to S . The patristic (evolutionary) distance between sequences s i and s j on T ∗ is denoted d evol ( i, j ). Our goal is to learn an encoder f θ : ∑ ∗ → ℝ d that maps each sequence to an embedding space, together with a distance function d ϕ : ℝ d → ℝ d → ℝ ≥0 , such that the embedding-based distances approximate the true evolutionary distances d evol ( i, j ). A model f θ is said to perform evolutionary reasoning on S if there exists a computable mapping h (e.g., a distance-based tree builder) such that the reconstructed tree where D pred [ i, j ] = D ij , 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 h , Euclidean distance for d ϕ and the normalized Robinson-Foulds distance for ℒ tree . 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, P hyla must discover meaningful patterns directly from unaligned sequences—capturing evolutionary structure without relying on handcrafted heuristics. 4 Methods 4.1 P hyla 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, P hyla . The P hyla 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 24M-parameter P hyla 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) ), P hyla 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) ), P hyla introduces a sparsification mechanism: an attention mask M that constrains each token to attend only to tokens within its own sequence, preserving intra-sequence context while enabling efficient multi-sequence processing. Specifically M : 4.2 P hyla Model Training Tree Loss Pretraining To teach P hyla 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 n sequences with predicted pairwise distances D pred ∈ℝ n × n and true distances D true ∈ℝ n × n , we sample a set of quartets 𝒬= {( i, j, k, ℓ ) }. For each quartet, we compute three possible pairwise distance sums: and convert them into logits using a softmax-like transformation: where T ∗ is a temperature hyperparameter controlling softness. We compute the cross-entropy loss between these logits and the ground-truth minimum sum (from D true ): Quartet loss is the sole pretraining objective used to train P hyla . In contrast to most protein language models, which rely on masked language modeling (MLM) over amino acids, P hyla does not use MLM . Training Details P hyla 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 t ∈ T at every training step that can fit within the available GPU memory. Next, we randomly sample a subtree size n such that 10 ≤ n ≤ | t |, where | t |is the number of sequences in t . Finally, we identify how many subtrees of the sampled size | t | 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 P hyla 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 T is sampled, where T consists of N sequences S . 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 P hyla is S with a [ CLS ] token concatenated in front of each tokenized sequence, s ∈ S : {[ CLS ] s 1 ‖ [ CLS ] s 2 ‖ [ CLS ] s 3 …[ CLS ] s n }. 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 P hyla 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 languagemodels 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 P hyla can Reason over Protein Sequences Experimental setup To assess the ability of P hyla to reason over sequences, we assess P hyla ’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 P hyla ’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 P hyla against PLMs (ESM2, ESM3, ESM C, ProGen2), a genomic foundation model (Evo 2), and a traditional phylogenetics workflow (MAFFT and FastTre 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. View this table: View inline View popup Download powerpoint Table 1: Evolutionary reasoning benchmark comparing P hyla 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. Results P hyla 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, P hyla 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 P hyla 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 P hyla 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 P hyla completed both in under an hour on a single H100 GPU. On the taxonomy clustering benchmark, P hyla 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 P hyla architecture and training. 5.2 P hyla Trees Encode Protein Functional Information Experimental setup To evaluate the expressivity of the learned embeddings, we use two complementary strategies for P hyla and the baseline PLMs. For P hyla , 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 P hyla 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. Results P hyla 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), P hyla achieves a comparable Spearman correlation of 0.64. Notably, P hyla 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 P hyla 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 P hyla with only masked language modeling (P hyla -MLM). To probe the effect of P hyla architecture on performance, we ablated the sparsified attention layers, which are the intra-sequence reasoning blocks (P hyla -NoAttention). We then evaluated both ablated P hyla 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 P hyla ’s overall performance. View this table: View inline View popup Download powerpoint Table 2: Ablation study on P hyla ’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. 5.4 P hyla application to real world datasets P hyla demonstrates promising performance in sequence reasoning. To showcase its capabilities, we applied P hyla 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 P hyla 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 , P hyla accurately places sequences within their respective domains in the tree of life. P hyla 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, P hyla 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 P hyla ’s ability to discover potentially biologically meaningful evolutionary relationships through probing the output reconstructed tree. We also apply P hyla to whole-genome sequences of Mycobacterium tuberculosis, aligning over 4 megabases of DNA to infer novel phylogenetic relationships among clinical isolates (Appendix A.3). 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 P hyla , a hybrid state-space transformer trained with a tree-based objective. P hyla 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. Download figure Open in new tab Figure 1. P hyla takes unaligned protein sequences and generates embeddings that reflects relative evolutionary distance between input sequences which we can use to construct phylogenetic trees. Download figure Open in new tab Figure 2. Overview of the P hyla . (a) P hyla 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. Download figure Open in new tab Figure 3. Functional prediction performance on ProteinGym with model sizes and dataset sizes. Spearman correlation of existing PLMs and P hyla on ProteinGym benchmark as a function of pretraining dataset size. Model points are sized based on the number of parameters in the model. Download figure Open in new tab Figure 4. P hyla 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. Traditional alignment-based methods such as MAFFT + FastTree remain the accuracy benchmark, but P hyla 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, P hyla shows that evolutionary reasoning does not emerge from standard sequence-modeling paradigms and points toward a new class of models that learn evolution directly. Competing Interests The authors declare no competing interests. Code Availability Statement Code to run P hyla can be found in the project Github . A Technical Appendices and Supplementary Material A.1 Tree reasoning and Protein Gym benchmark A.1.1 Tree reasoning benchmark Tree Reconstruction We evaluate tree reconstruction performance using two external datasets: TreeBase Piel & Tannen (2009) and TreeFam Li et al. (2006) . TreeBase is a curated repository of 12,817 phylogenetic trees from peer-reviewed studies, along with associated sequence data contributed by users. After filtering for trees with complete and parseable sequence information, we retained 1,533 trees for analysis. TreeFam is a database of gene family trees focused on animal genomes. We extracted 9,586 gene trees along with their corresponding protein sequences. To evaluate reconstruction quality, we computed the normalized Robinson-Foulds distance (lower is better) between the predicted and reference trees. We found that P hyla had the lowest normalized Robinson-Foulds distance among all models. This difference was significant (p < 0.05, one-sided t-test, Table 5 ) for all models. View this table: View inline View popup Download powerpoint Table 3: Information about the 1,533 TreeBase evaluation datasets. View this table: View inline View popup Download powerpoint Table 4: Information about the 9,586 TreeFam evaluation datasets View this table: View inline View popup Download powerpoint Table 5: P-values from paired t-tests comparing P hyla with baseline PLMs on normalized Robinson-Foulds scores for TreeBase and TreeFam. Lower values indicate statistically significant improvements. We also evaluate the overlap between the training corpus (OpenProteinSet) and the evaluation sets (TreeBase, TreeFam). We ran BLAST ( Altschul et al.1990 ) between each tree in TreeBase and TreeFam and all the sequences in the training corpus using an e-value cutoff of 1e-5 and bitscore cutoff of 50. We found in TreeBase only 0.56% of evaluation trees had any match to the training set. The overall mean percent identity of sequences in TreeBase is 0.38%. In TreeFam only 3.38% of evaluation trees had any match to the training set. The overall mean percent identity of sequences in TreeFam is 0.23%. These results indicate minimal leakage and highlights the ability of P hyla to generalize. Taxonomic Clustering Evaluation We evaluate taxonomic structure using data from the Genome Taxonomy Database (GTDB), a high-quality and frequently updated resource for microbial taxonomy. GTDB taxonomic labels are derived by concatenating multiple sequence alignments of 120 marker proteins per organism. We use Release 10-RS226 (released April 16, 2025), which contains 715,230 organisms. To construct our evaluation dataset, we randomly sample 50 groups of 10 organisms each, ensuring that all organisms within a group share the same taxonomic label at either the class, order, family, genus, or species level depending on the benchmark. For each model, we compute organism-level embeddings as follows: (1) For baseline models, we embed each of the 120 marker proteins independently, then average the resulting embeddings to produce a single vector per organism. (2) For P hyla , we batch all 500 organisms for each marker protein (e.g. protein 1) and compute embeddings jointly. We repeat this for all 120 proteins, then average across them to obtain organism-level embeddings. We then perform k-means clustering (as implemented in scikit-learn) with k=50, corresponding to the number of groups. In the main text, we report results for one such sample of 500 organisms. However, we find that performance is consistent across clustering metrics (completeness, homogeneity, NMI) and across random seeds. We generate four additional random samples and report mean and standard deviation across these replicates. P hyla achieves state-of-the-art performance in taxonomic clustering across all taxonomic levels. It is only outperformed by ProGen2-XLarge in completeness at the class level ( Table 6 ). View this table: View inline View popup Download powerpoint Table 6: Clustering evaluation metrics (mean ± std) across taxonomic levels. Standard deviation and mean across 5 random taxonomic group samples from GTDB. A.1.2 Extended Benchmarking Fine-tuned ESM2-650M We fine-tuned the strongest baseline model, ESM2-650M, using two lightweight heads—a feed-forward network and a transformer head—trained with the same quartet loss as P hyla , while freezing the backbone (as backpropagation through 650M parameters for trees with more than 100 leaves is computationally infeasible). Despite this targeted fine-tuning, the best variant achieved normalized Robinson–Foulds (normRF) scores of 0.77 on TreeBase and 0.79 on TreeFam, whereas P hyla —trained end-to-end to reason jointly over sets of sequences—achieved 0.73 and 0.58, respectively. These results indicate that the performance gap cannot be attributed solely to evaluating PLMs in a zero-shot setting. Input-Order Robustness For each evaluation tree in TreeBase and TreeFam, P hyla processes the full set of sequences in a single forward pass. Because the model is trained on randomly sampled and permuted sequence subsets, its predictions are invariant to input order. To verify this property, we randomly shuffled the sequence order for 250 trees from TreeBase five times each and measured the standard deviation in normalized RF scores. The mean deviation was 0.01, confirming that P hyla ’s embeddings and resulting distance matrices are effectively deterministic with respect to sequence order. Training signal comparison To assess whether the choice of supervision signal influences performance, we compared two variants of P hyla trained using (i) normalized Hamming distances computed from multiple sequence alignments (MSAs) and (ii) pairwise patristic distances extracted from trees reconstructed with FastTree on the same MSAs. Both variants achieved nearly identical performance on TreeBase and TreeFam benchmarks, with differences below 0.01 in normalized Robinson–Foulds distance ( Table 7 ). View this table: View inline View popup Download powerpoint Table 7: Performance comparison when training with Hamming versus tree-based supervision signals. These results indicate that P hyla does not simply replicate a specific distance metric but learns generalizable representations that capture consistent topological structure across distance definitions. In practice, Hamming distances serve as an efficient proxy for topological supervision without materially affecting model behavior or accuracy. A.1.3 ProteinGym benchmark The 83 ProteinGym datasets were chosen based on the memory constraint of a single 80GB H100 GPU. We stratified performance on the ProteinGym functional prediction benchmark across various levels of overlap between pre-training and evaluation datasets. We quantified overlap by running the Basic Local Alignment Search Tool (BLAST) algorithm between each representative sequence of the 83 ProteinGym datasets and each model’s pre-training dataset ( Altschul et al. (1990) ). Overlap was calculated as the average percent similarity of output hits. We did not include the total number of hits when calculating the overlap metric in order to not further penalize models with larger pre-training datasets. When comparing functional prediction performance between P hyla and ESM2 on all 83 ProteinGym datasets, ESM2 significantly outperforms P hyla by 0.14. However, on low-overlap regimes with less than 40% similarity to the model’s pre-training dataset, P hyla outperforms ESM2 by 0.03 as shown in Table 8 ( Pearson (2013) . Performance degrades on low-overlap regimes for all models, but P hyla ’s performance degrades less. In addition, P hyla occupies a lower overlap regime than ESM2, which is likely due to the smaller pre-training set used for P hyla . View this table: View inline View popup Download powerpoint Table 8: Functional Prediction Across Various Overlap Settings. Model performance on predicting functional effects in ProteinGym stratified into low-overlap and high-overlap settings based on alignment overlap. View this table: View inline View popup Download powerpoint Table 9: Clustering evaluation metrics (mean ± std) for P hyla variants across taxonomic levels. Standard deviation and mean across 5 random taxonomic group samples from GTDB. A.2 Tree of Life analysis To reconstruct the tree of life, we use a dataset of 3,083 organisms, each represented by the concatenated multiple sequence alignment (MSA) of 16 conserved ribosomal proteins Hug (2016). For input to P hyla , we concatenate the raw amino acid sequences of all 16 ribosomal proteins per organism, yielding sequence lengths of approximately 6 million tokens. We process these sequences using P hyla on a high-memory CPU machine (800 GB RAM), requiring approximately 16 hours of compute time for a full forward pass. We then compute pairwise distances between organism-level embeddings and apply the neighbor-joining algorithm to construct the resulting phylogenetic tree. A.3 Tuberculosis analysis Tuberculosis (TB) is one of the leading causes of death globally due to infectious disease World Health Organization (2024) . A major challenge in controlling TB is its capacity to rapidly evolve drug resistance. Genomic surveillance has become a critical tool in addressing this issue: by tracking the evolutionary dynamics of TB, we can detect emerging resistance before it becomes widespread and adapt treatment strategies accordingly Thorpe et al. (2024) . We use P hyla to construct the first whole-genome phylogenetic tree of Mycobacteri um tuberculo sis isolates. Specifically, we analyze 151 complete TB genomes (around 4 Mb each) Marin et al. (2025) . To generate organism-level representations, we divide each genome into non-overlapping 500 bp segments (shared across all 151 genomes), embed each chunk using P hyla , and then average the resulting embeddings across the genome. This approach is well-suited to TB, which is a highly clonal organism with limited variation across isolates—making direct genome chunking and alignment across samples both feasible and meaningful Freschi et al. (2021) . We compute pairwise distances between the organism-level embeddings and reconstruct the phylogenetic tree using the neighbor-joining algorithm ( Figure 5 ). Download figure Open in new tab Figure 5. P hyla -generated tree of whole genome Tuberculosis (TB) isolates. By comparing chunks of the genome of TB across 151 TB isolates, P hyla constructed the first whole genome tree of TB. Labeled are the main lineages of TB (lineage2, lineage 3, and lineage 4). P hyla accurately reconstructs the major global lineages of Mycobacterium tuberculosis , recovering coherent clades corresponding to Lineages 1–6 and the recently described Lineage 8 Freschi et al. (2021) . The topology is broadly consistent with established TB phylogenies, with early-branching Lineage 1 and distinct clusters for the derived East Asian (Lineage 2) and Euro-American (Lineage 4) groups. Deviations are observed in the relative positioning of Lineages 3 and 4, which appear slightly closer than expected. Given that P hyla infers these relationships directly from sequence embeddings rather than explicit substitution models, the recovery of lineage-level structure without supervision underscores that the learned representation captures genuine evolutionary signal beyond surface sequence similarity. A.4 Ablations We retested our ablations, P hyla -MLM trained with only the MLM loss and P hyla -NoAttention trained without sparsified attention, on the extended taxonomic clustering dataset described in Section A.1.1. We found across all taxonomic levels, except class, P hyla had the best performance across all metrics assessed. P hyla also has significantly better tree reconstruction on TreeBase and TreeFam than all ablations ( Table 10 ). View this table: View inline View popup Download powerpoint Table 10: P-values from paired t-tests comparing P hyla with P hyla ablations on normalized Robinson-Foulds scores for TreeBase and TreeFam. Lower p-values indicate stronger statistical significance. A.5 Evolution Reasoning Result Please see Section A.1.1. A.6 Recent Work Evolutionary reasoning versus evolutionary modeling Previous studies distinguish between fitting a generative model to observed sequence data and reasoning about the underlying fitness landscape that produced those sequences Weinstein et al. (2022) ; Ding et al. (2019) . From these works, we know generative sequence models aim to match the marginal distribution of extant proteins (evolutionary modeling), whereas evolutionary reasoning seeks to recover the selective pressures and functional constraints driving those distributions. AI for Phylogenetic Tree Construction Recent years have seen a surge of AI-driven approaches for evolutionary-biology problems. For instance, PhyloVAE and ARTree Xie et al. (2025) ; Xie & Zhang (2023) generate plausible tree topologies from collections of existing phylogenies. GeoPhy and Phyloformer Mimori & Hamada (2023) ; Nesterenko et al. (2025) take a multiple sequence alignment (MSA) as input and infer both tree topology and branch lengths by maximizing the likelihood under a fixed substitution model. Other methods—such as DEPP and DeePhy Jiang et al. (2022) ; Mahapatra & Mukherjee (2025 )—are designed to place unaligned query sequences into a reference phylogenetic tree or into existing triplets of sequences. In contrast, P hyla focuses on a task that combines these capabilities: starting from unaligned sequences alone, it simultaneously infers a complete tree topology without requiring any prior alignment. A.7 Evaluation on Masked Token Prediction In addition to evaluating the ability of P hyla and benchmark models to perform evolutionary reasoning, we also assess performance on a standard PLM task of masked-token prediction. P hyla trained only with masked-language modeling attains 30% top-1 accuracy with reduced evolutionary reasoning performance; training with tree loss decreases accuracy to 11% but improves evolutionary reasoning performance (See P hyla -MLM performance in 2 for evolutionary reasoning performance). Conventional PLMs (ESM-2 650M, ProGen2) achieve 45–55%. These results confirm a trade-off: pertoken objectives favor single-sequence reconstruction, whereas the tree loss preserves cross-sequence signals essential for evolutionary reasoning. A.8 Societal Impacts and Safety Concerns Our method’s ability to generalize beyond its training distribution can lead to more accurate identification of disease-causing variants in previously unseen protein families, potentially accelerating both basic research and the development of personalized therapeutics. However, because this is the first model that infers a phylogenetic tree directly from raw sequence data, there is a risk that users may overestimate its reliability and substitute it for established, alignment-based pipelines. Such overre-liance could produce misleading evolutionary hypotheses or clinical interpretations if the model’s assumptions and limitations are not carefully considered. To mitigate these dangers, we stress that our approach is intended as a complement to—rather than a replacement for—traditional phylogenetic methods, and that any high-stakes decisions should always include orthogonal validation. 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 yektefai{at}broadinstitute.org ashen7{at}stanford.edu lavikjain{at}college.harvard.edu maha_farhat{at}hms.harvard.edu marinka{at}hms.harvard.edu Revisions based on feedback from reviewers have been added. https://github.com/mims-harvard/Phyla References ↵ Gustaf Ahdritz , Nazim Bouatta , Sachin Kadyan , Lukas Jarosch , Daniel Berenberg , Ian Fisk , Andrew M. Watkins , Stephen Ra , Richard Bonneau , and Mohammed AlQuraishi . Openproteinset: Training data for structural biology at scale , 2023 . URL https://arxiv.org/abs/2308.05326 . ↵ 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 . OpenUrl CrossRef PubMed ↵ Stephen F Altschul , Warren Gish , Webb Miller , Eugene W Myers , and David J Lipman . Basic local alignment search tool . Journal of molecular biology , 215 ( 3 ): 403 – 410 , 1990 . OpenUrl CrossRef PubMed Web of Science ↵ Yusuke Amano , Rishabh Sachdeva , Daniel Gittins , Karthik Anantharaman , Shuwei Lei , Laura E. Valentin-Alvarado , Samuel Diamond , Hiroshi Beppu , Teruki Iwatsuki , Ayako Mochizuki , Keiko Miyakawa , Eri Ishii , Hiroshi Murakami , Adam L. Jaffe , Cindy Castelle , Adi Lavy , Yohei Suzuki , and Jillian F. Banfield . 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 . OpenUrl CrossRef PubMed ↵ 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 . OpenUrl CrossRef PubMed 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 . OpenUrl CrossRef PubMed ↵ Maximilian Beck , Korbinian Pöppel , Markus Spanring , Andreas Auer , Oleksandra Prudnikova , Michael Kopp , Günter Klambauer , Johannes Brandstetter , and Sepp Hochreiter . xlstm: Extended long short-term memory , 2024 . URL https://arxiv.org/abs/2405.04517 . ↵ 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 . OpenUrl CrossRef ↵ Garyk Brixi , Matthew G. Durrant , Jerome Ku , Michael Poli , Greg Brockman , Daniel Chang , Gabriel A. Gonzalez , Samuel H. King , David B. Li , Aditi T. Merchant , Mohsen Naghipourfar , Eric Nguyen , Chiara Ricci-Tam , David W. Romero , Gwanggyu Sun , Ali Taghibakshi , Anton Vorontsov , Brandon Yang , Myra Deng , Liv Gorton , Nam Nguyen , Nicholas K. Wang , Etowah Adams , Stephen A. Baccus , Steven Dillmann , Stefano Ermon , Daniel Guo , Rajesh Ilango , Ken Janik , Amy X. Lu , Reshma Mehta , Mohammad R.K. Mofrad , Madelena Y. Ng , Jaspreet Pannu , Christopher Ré , Jonathan C. Schmok , John St. John , Jeremy Sullivan , Kevin Zhu , Greg Zynda , Daniel Balsam , Patrick Collison , Anthony B. Costa , Tina Hernandez-Boussard , Eric Ho , Ming-Yu Liu , Thomas McGrath , Kimberly Powell , Dave P. Burke , Hani Goodarzi , Patrick D. Hsu , and Brian L. Hie . 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 . OpenUrl Abstract / FREE Full Text ↵ Violette Da Cunha , Morgan Gaia , Daniele Gadelle , Arshan Nasir , and Patrick Forterre . Lokiarchaea are close relatives of euryarchaeota, not bridging the gap between prokaryotes and eukaryotes . PLoS Genet ., 13 ( 6 ): e1006810 , June 2017 . OpenUrl CrossRef PubMed ↵ Xian Ding , Zijun Zou , and Charles L. Brooks 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 . OpenUrl CrossRef PubMed ↵ Ahmed Elnaggar , Michael Heinzinger , Christian Dallago , Ghalia Rihawi , Yu Wang , Llion Jones , Tom Gibbs , Tamas Feher , Christoph Angerer , Martin Steinegger , Debsindhu Bhowmik , and Burkhard Rost . 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 . ↵ ESM Team . Esm cambrian: Revealing the mysteries of proteins with unsupervised learning , 2024 . URL https://evolutionaryscale.ai/blog/esm-cambrian . J. Cheng 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 . OpenUrl CrossRef PubMed ↵ 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 . OpenUrl CrossRef PubMed ↵ Jonathan Frazer , Pascal Notin , Mafalda Dias , Aidan Gomez , Joseph K Min , Kelly P. Brock , Yarin Gal , and Debora S. Marks . Disease variant prediction with deep generative models of evolutionary data . Nature , 2021 . ↵ Lorenzo Freschi , Ronald Vargas , Amna Husain , 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 . OpenUrl CrossRef ↵ Albert Gu , Karan Goel , and Christopher Ré. Efficiently modeling long sequences with structured state spaces , 2022 . URL https://arxiv.org/abs/2111.00396 . ↵ Thomas Hayes , Roshan Rao , Halil Akin , Nicholas J. Sofroniew , Deniz Oktay , Zeming Lin , Robert Verkuil , Vincent Q. Tran , Jonathan Deaton , Marius Wiggert , Rohil Badkundri , Irhum Shafkat , Jun Gong , Alexander Derry , Raul S. Molina , Neil Thomas , Yousuf Khan , Chetan Mishra , Carolyn Kim , Liam J. Bartie , Matthew Nemeth , Patrick D. Hsu , Tom Sercu , Salvatore Candido , and Alexander Rives . 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.6005832022.01.003 . OpenUrl Abstract / FREE Full Text ↵ Brian L. Hie , Kevin K. Yang , and Peter S. Kim . 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 . OpenUrl CrossRef ↵ Shaobin Hou , Kira S Makarova , Jimmy H W Saw , Pavel Senin , Benjamin V Ly , Zhemin Zhou , Yan Ren , Jianmei Wang , Michael Y Galperin , Marina V Omelchenko , Yuri I Wolf , Natalya Yutin , Eugene V Koonin , Matthew B Stott , Bruce W Mountain , Michelle A Crowe , Angela V Smirnova , Peter F Dunfield , Lu Feng , Lei Wang , and Maqsudul Alam . 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 . nmicrobiol201648. OpenUrl CrossRef PubMed ↵ 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/ OpenUrl CrossRef PubMed ↵ Laura A Hug , Brett J Baker , Karthik Anantharaman , Christopher T Brown , Alexander J Probst , Cindy J Castelle , Cristina N Butterfield , Alex W Hernsdorf , Yuki Amano , Kotaro Ise , Yohey Suzuki , Natasha Dudek , David A Relman , Kari M Finstad , Ronald Amundson , Brian C Thomas , and Jillian F Banfield . A new view of the tree of life . Nat. Microbiol ., 1 : 16048 , April 2016 . OpenUrl CrossRef PubMed ↵ Francois Serra Jaime Huerta-Cepas and Peer Bork . Ete 3: Reconstruction, analysis and visualization of phylogenomic data . Mol Biol Evol , 2016 . doi: 10.1093/molbev/msw046 . OpenUrl CrossRef PubMed ↵ Yueyu Jiang , Metin Balaban , Qiyun Zhu , and Siavash Mirarab . Depp: Deep learning enables extending species trees using single genes . Systematic Biology , 72 ( 1 ): 17 – 34 , 04 2022 . ISSN 1063-5157 . doi: 10.1093/sysbio/syac031 . URL https://doi.org/10.1093/sysbio/syac031.10.1093/nar/gkf436 OpenUrl CrossRef ↵ Kazutaka Katoh , Kazuharu Misawa , Kei-ichi Kuma , and Takashi Miyata . Mafft: a novel method for rapid multiple sequence alignment based on fast fourier transform . Nucleic Acids Research , 30 ( 14 ): 3059 – 3066 , 07 2002 . ISSN 0305-1048 . doi: 10.1093/nar/gkf436 . OpenUrl CrossRef PubMed Web of Science ↵ Anthony Levasseur , Vicky Merhej , Emeline Baptiste , Vikas Sharma , Pierre Pontarotti , and Didier Raoult . The rhizome of lokiarchaeota illustrates the mosaicity of archaeal genomes . Genome Biol. Evol ., 9 ( 10 ): 2635 – 2639 , October 2017 . OpenUrl CrossRef PubMed ↵ Heng Li , Avril Coghlan , Jue Ruan , Lachlan James Coin , Jean-Karim Hériché , Lara Osmotherly , Ruiqiang Li , Tao Liu , Zhang Zhang , Lars Bolund , Gane Ka-Shu Wong , Weimou Zheng , Paramvir Dehal , Jun Wang , and Richard Durbin . Treefam: a curated database of phylogenetic trees of animal gene families . Nucleic Acids Research , 34 ( suppl1 ) : D572 -- D580 , 01 2006 . ISSN 0305-1048 . doi:. URL https://doi.org/10.1093/nar/gkj118 . OpenUrl CrossRef PubMed Web of Science ↵ Zeming Lin , Halil Akin , Roshan Rao , Brian Hie , Zhongkai Zhu , Wenting Lu , Nikita Smetanin , Allan dos Santos Costa , Maryam Fazel-Zarandi , Tom Sercu , Sal Candido , et al. Language models of protein sequences at the scale of evolution enable accurate structure prediction . bioRxiv , 2022 . ↵ Ilya Loshchilov and Frank Hutter . Decoupled weight decay regularization , 2019 . URL https://arxiv.org/abs/1711.05101 . ↵ 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 . doi: 10.1038/s41587-022-01618-2 . OpenUrl CrossRef PubMed ↵ Aritra Mahapatra and Jayanta Mukherjee . Deephy: A deep learning model to reconstruct phylogenetic tree from unaligned nucleotide sequences . bioRxiv , 2025 . doi: 10.1101/2025.03.09.642239 . URL https://www.biorxiv.org/content/early/2025/03/13/2025.03.09.642239 . OpenUrl Abstract / FREE Full Text ↵ Maximillian G Marin , Natalia Quinones-Olvera , Christoph Wippel , Mahboobeh Behruznia , Brendan M Jeffrey , Michael Harris , Brendon C Mann , Alex Rosenthal , Karen R Jacobson , Robin M Warren , Heng Li , Conor J Meehan , and Maha R Farhat . Pitfalls of bacterial pan-genome analysis approaches: a case study of m. tuberculosis and two less clonal bacterial species . Bioinformatics , pp. btaf219, 05 2025 . ISSN 1367-4811 . doi: 10.1093/bioinformatics/btaf219 . URL https://doi.org/10.1093/bioinformatics/btaf2192021.07.09.450648 . OpenUrl CrossRef ↵ Joshua Meier , Roshan Rao , Robert Verkuil , Jason Liu , Tom Sercu , and Alexander Rives . Language models enable zero-shot prediction of the effects of mutations on protein function . bioRxiv , 2021 . doi: 10.1101/2021.07.09.450648 . URL https://www.biorxiv.org/content/early/2021/07/10/ OpenUrl Abstract / FREE Full Text ↵ Takahiro Mimori and Michiaki Hamada . Geophy: Differentiable phylogenetic inference via geometric gradients of tree topologies , 2023 . URL https://arxiv.org/abs/2307.03675 . ↵ Duncan F. Muir , Garrison P. R. Asper , Pascal Notin , Jacob A. Posner , Debora S. Marks , Michael J. Keiser , and Margaux M. Pinney . Evolutionary-scale enzymology enables exploration of a rugged catalytic landscape . Science , 388 ( 6752 ): eadu1058 , 2025 . doi: 10.1126/science.adu1058 . URL https://www.science.org/doi/abs/10.1126/science.adu1058 OpenUrl CrossRef PubMed ↵ Luca Nesterenko , Luc Blassel , Philippe Veber , Bastien Boussau , and Laurent Jacob . Phyloformer: Fast, accurate, and versatile phylogenetic reconstruction with deep neural networks . Molecular Biology and Evolution , 42 ( 4 ): msaf051 , 03 2025 . ISSN 1537-1719 . doi: 10.1093/molbev/msaf051 . URL https://doi.org/10.1093/molbev/msaf051 OpenUrl CrossRef PubMed ↵ Eric Nguyen , Michael Poli , Matthew G. Durrant , Armin W. Thomas , Brian Kang , Jeremy Sullivan , Madelena Y. Ng , Ashley Lewis , Aman Patel , Aaron Lou , Stefano Ermon , Stephen A. Baccus , Tina Hernandez-Boussard , Christopher Ré , Patrick D. Hsu , and Brian L. Hie . Sequence modeling and design from molecular to genome scale with evo . bioRxiv , 2024 . doi: 10.1101/2024.02.27.582234 . URL https://www.biorxiv.org/content/early/2024/03/06/2024.02.27.582234 . OpenUrl Abstract / FREE Full Text ↵ Lam-Tung Nguyen , Heiko A. Schmidt , Arndt von Haeseler , and Bui Quang Minh . Iq-tree: A fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies . Molecular Biology and Evolution , 32 ( 1 ): 268 – 274 , 11 2014 . ISSN 0737-4038 . doi: 10.1093/molbev/msu300 . URL https://doi.org/10.1093/molbev/msu300 . OpenUrl CrossRef PubMed ↵ Erik Nijkamp , Jeffrey Ruffolo , Eli N. Weinstein , Nikhil Naik , and Ali Madani . Progen2: Exploring the boundaries of protein language models , 2022 . URL https://arxiv.org/abs/2206.13517 . ↵ 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 . ↵ Pascal Notin , Lood Van Niekerk , Aaron W Kollasch , Daniel Ritter , Yarin Gal , and Debora S. Marks . Trancepteve: Combining family-specific and family-agnostic models of protein sequences for improved fitness prediction . bioRxiv , 2022 . doi: 10.1101/2022.12.07.519495 . URL https://www.biorxiv.org/content/early/2022/12/10/2022.12.07.519495 . OpenUrl Abstract / FREE Full Text ↵ Pascal Notin , Aaron W. Kollasch , Daniel Ritter , Lood van Niekerk , Steffanie Paul , Hansen Spinner , Nathan Rollins , Ada Shaw , Ruben Weitzman , Jonathan Frazer , Mafalda Dias , Dinko Franceschi , Rose Orenbuch , Yarin Gal , and Debora S. Marks . Proteingym: Large-scale benchmarks for protein design and fitness prediction . bioRxiv , 2023a . doi: 10.1101/2023.12.07.570727 . URL https://www.biorxiv.org/content/early/2023/12/08/2023.12.07.570727.2023.12.06.570473 . OpenUrl Abstract / FREE Full Text ↵ Pascal Notin , Ruben Weitzman , Debora S. Marks , and Yarin Gal . Proteinnpt: Improving protein property prediction and design with non-parametric transformers . bioRxiv , 2023b . doi: 10.1101/2023.12.06.570473 . URL https://www.biorxiv.org/content/early/2023/12/07///doi.org/10.1093/bioinformatics/btad786 OpenUrl Abstract / FREE Full Text ↵ Lorenzo Pantolini , Gabriel Studer , Joana Pereira , Janani Durairaj , Gerardo Tauriello , and Torsten Schwede . Embedding-based alignment: combining protein language models with dynamic programming alignment to detect structural similarities in the twilight-zone . Bioinformatics , 40 ( 1 ): btad786 , 01 2024 . ISSN 1367-4811 . doi: 10.1093/bioinformatics/btad786 . URL https://doi.org/10.1093/bioinformatics/btad786 . OpenUrl CrossRef PubMed ↵ Donovan H Parks , Maria Chuvochina , Christian Rinke , Aaron J Mussig , Pierre-Alain Chaumeil , and Philip Hugenholtz . 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 , 09 2021 . ISSN 0305-1048 . doi: 10.1093/nar/gkab776 . URL https://doi.org/10.1093/nar/gkab776 . OpenUrl CrossRef PubMed ↵ William R. Pearson . An introduction to sequence similarity (“homology”) searching . Current Protocols in Bioinformatics , Chapter 3:3.1.1–3.1.8, 2013 . doi: 10.1002/0471250953.bi0301s42 . OpenUrl CrossRef PubMed Chan L. Dominus M. J. Ruan J. Vos R. A. Piel , W. H. and V. Tannen . Treebase v. 2: A database of phylogenetic knowledge . e-BioSphere , 2009 . ↵ Andreas Krause , Emma Brunskill , Kyunghyun Cho , Barbara Engelhardt , Sivan Sabato , and Jonathan Scarlett Michael Poli , Stefano Massaroli , Eric Nguyen , Daniel Y Fu , Tri Dao , Stephen Baccus , Yoshua Bengio , Stefano Ermon , and Christopher Re . Hyena hierarchy: Towards larger convolutional language models . In Andreas Krause , Emma Brunskill , Kyunghyun Cho , Barbara Engelhardt , Sivan Sabato , and Jonathan Scarlett (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 . ↵ Michael Poli , Jue Wang , Stefano Massaroli , Jeffrey Quesnelle , Ryan Carlow , Eric Nguyen , and Armin Thomas . StripedHyena: Moving Beyond Transformers with Hybrid Signal Processing Models , 12 2023b . URL https://github.com/togethercomputer/stripedhyena . ↵ Morgan N. Price , Paramvir S. Dehal , and Adam P. Arkin . Fasttree 2 – approximately maximum-likelihood trees for large alignments . PLOS ONE , 5 ( 3 ): 1 – 10 , 03 2010 . doi: 10.1371/journal.pone.0009490 . URL https://doi.org/10.1371/journal.pone.0009490 . OpenUrl CrossRef PubMed ↵ Owen Queen , Yepeng Huang , Robert Calef , Valentina Giunchiglia , Tianlong Chen , George Dasoulas , LeAnn Tai , Yasha Ektefaie , Ayush Noori , Joseph Brown , et al. Procyon: A multimodal foundation model for protein phenotypes . bioRxiv , pp. 2024 – 12 , 2024 . ↵ Roshan Rao , Joshua Meier , Tom Sercu , Sergey Ovchinnikov , and Alexander Rives . Transformer protein language models are unsupervised structure learners . bioRxiv , 2020 . doi: 10.1101/2020.12.15.422761 . URL https://www.biorxiv.org/content/early/2020/12/15/2020.12.15.422761 . OpenUrl Abstract / FREE Full Text ↵ Marina Meila and Tong Zhang Roshan M Rao , Jason Liu , Robert Verkuil , Joshua Meier , John Canny , Pieter Abbeel , Tom Sercu , and Alexander Rives . Msa transformer . In Marina Meila and Tong Zhang (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 . ↵ Liliang Ren , Yang Liu , Yadong Lu , yelong shen , Chen Liang , and Weizhu Chen . 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 . ↵ Ingraham J.B. Marks D.S. Riesselman , A.J. Deep generative models of genetic variation capture the effects of mutations . Nature Method , 2018 . doi: 10.1038/s41592-018-0138-4 . URL https://www.nature.com/articles/s41592-018-0138-4 . OpenUrl CrossRef PubMed ↵ Alexander Rives , Joshua Meier , Tom Sercu , Siddharth Goyal , Zeming Lin , Jason Liu , Demi Guo , Myle Ott , C. Lawrence Zitnick , Jerry Ma , and Rob Fergus . 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 . doi: 10.1073/pnas.2016239118 . URL https://www.pnas.org/doi/abs/10.1073/pnas.2016239118 OpenUrl Abstract / FREE Full Text ↵ D.F. Robinson and L.R. Foulds . Comparison of phylogenetic trees . Mathematical Biosciences , 53 ( 1 ): 131 – 147 , 1981 . ISSN 0025-5564 . doi: 10.1016/0025-5564(81)90043-2 . URL https://www.sciencedirect.com/science/article/pii/0025556481900432 . OpenUrl CrossRef PubMed Web of Science ↵ S. Roch . A short proof that phylogenetic tree reconstruction by maximum likelihood is hard , 2005 . URL https://arxiv.org/abs/math/0504378 . ↵ Yair Schiff , Chia-Hsiang Kao , Aaron Gokaslan , Tri Dao , Albert Gu , and Volodymyr Kuleshov . Caduceus: Bi-directional equivariant long-range dna sequence modeling , 2024 . URL https://arxiv.org/abs/2403.03234 . ↵ Fabian Sievers , Andreas Wilm , David Dineen , Toby J Gibson , Kevin Karplus , Weizhong Li , Rodrigo Lopez , Hamish McWilliam , Michael Remmert , Johannes Söding , Julie D Thompson , and Desmond G Higgins . Fast, scalable generation of high-quality protein multiple sequence alignments using clustal omega . Molecular Systems Biology , 7 ( 1 ): 539 , 2011 . doi: 10.1038/msb.2011.75 . URL https://www.embopress.org/doi/abs/10.1038/msb.2011.75 . OpenUrl CrossRef PubMed Web of Science ↵ Jason Thorpe , Wipaporn Sawaengdee , Danielle Ward , et al. Multi-platform whole genome sequencing for tuberculosis clinical and surveillance applications . Scientific Reports , 14 : 5201 , 2024 . doi: 10.1038/s41598-024-55865-1 . URL https://doi.org/10.1038/s41598-024-55865-1 . OpenUrl CrossRef PubMed ↵ Ashish Vaswani , Noam Shazeer , Niki Parmar , Jakob Uszkoreit , Llion Jones , Aidan N. Gomez , “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 . LUSHENG WANG and TAO JIANG . On the complexity of multiple sequence alignment . Journal of Computational Biology , 1 ( 4 ): 337 – 348 , 1994 . doi: 10.1089/cmb.1994.1.337 . URL https://doi.org/10.1089/cmb.1994.1.337 . PMID: 87904751 . https://proceedings.neurips.cc/paper_ OpenUrl CrossRef PubMed ↵ S. Koyejo , S. Mohamed , A. Agarwal , D. Belgrave , K. Cho , and A. Oh Eli Weinstein , Alan Amin , Jonathan Frazer , and Debora Marks . Non-identifiability and the blessings of misspecification in models of molecular fitness . In S. Koyejo , S. Mohamed , A. Agarwal , D. Belgrave , K. Cho , and A. Oh (eds.), Advances in Neural Information Processing Systems , volume 35 , pp. 5484 – 5497 . Curran Associates, Inc ., 2022 . URL files/paper/2022/file/247e592848391fe01f153f179c595090-Paper-Conference.pdf. OpenUrl ↵ Jacob West-Roberts , Joshua Kravitz , Nishant Jha , Andre Cornman , and Yunha Hwang . Diverse genomic embedding benchmark for functional evaluation across the tree of life . bioRxiv , 2024 . 2024.07.10.602933. doi: 10.1101/2024.07.10.602933 . URL https://www.biorxiv.org/content/early/2024/07/16/ OpenUrl Abstract / FREE Full Text ↵ 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. ↵ Tianyu Xie and Cheng Zhang . Artree: A deep autoregressive model for phylogenetic inference . In Advances in Neural Information Processing Systems , volume 36 , 2023 . Spotlight . ↵ Tianyu Xie , Harry Richman , Jiansi Gao , Frederick A. Matsen , and Cheng Zhang . Phylovae: Unsupervised learning of phylogenetic trees via variational autoencoders . In Proceedings of the International Conference on Learning Representations (ICLR) , Jan 2025 . Accepted as Poster. ↵ Maxim Zvyagin , Alexander Brace , Kyle Hippe , Yuntian Deng , Bin Zhang , Cindy Orozco Bohorquez , Austin Clyde , Bharat Kale , Danilo Perez-Rivera , Heng Ma , Carla M. Mann , Michael Irvin , J. Gregory Pauloski , Logan Ward , Valerie Hayot , Murali Emani , Sam Foreman , Zhen Xie , Diangen Lin , Maulik Shukla , Weili Nie , Josh Romero , Christian Dallago , Arash Vahdat , Chaowei Xiao , Thomas Gibbs , Ian Foster , James J. Davis , Michael E. Papka , Thomas Brettin , Rick Stevens , Anima Anandkumar , Venkatram Vishwanath , and Arvind Ramanathan . Genslms: Genome-scale language models reveal sars-cov-2 evolutionary dynamics . bioRxiv , 2022 . doi: 10.1101/2022.10.10.511571 . URL https://www.biorxiv.org/content/early/2022/10/11/2022.10.10.511571 . OpenUrl Abstract / FREE Full Text View the discussion thread. Back to top Previous Next Posted October 24, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models Yasha Ektefaie , Andrew Shen , Lavik Jain , Maha Farhat , Marinka Zitnik bioRxiv 2025.01.17.633626; doi: https://doi.org/10.1101/2025.01.17.633626 Share This Article: Copy Citation Tools Evolutionary Reasoning Does Not Arise in Standard Usage of Protein Language Models Yasha Ektefaie , Andrew Shen , Lavik Jain , Maha Farhat , Marinka Zitnik bioRxiv 2025.01.17.633626; doi: https://doi.org/10.1101/2025.01.17.633626 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Bioinformatics Subject Areas All Articles Animal Behavior and Cognition (7624) Biochemistry (17650) Bioengineering (13871) Bioinformatics (41882) Biophysics (21424) Cancer Biology (18566) Cell Biology (25461) Clinical Trials (138) Developmental Biology (13365) Ecology (19867) Epidemiology (2067) Evolutionary Biology (24290) Genetics (15590) Genomics (22476) Immunology (17713) Microbiology (40331) Molecular Biology (17148) Neuroscience (88477) Paleontology (666) Pathology (2828) Pharmacology and Toxicology (4816) Physiology (7635) Plant Biology (15114) Scientific Communication and Education (2044) Synthetic Biology (4286) Systems Biology (9815) Zoology (2268)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00