<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>evolutionary distance estimation from sequence data &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/evolutionary-distance-estimation-from-sequence-data/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Fri, 16 Oct 2026 07:10:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>evolutionary distance estimation from sequence data &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>Tropical Attention Rewrites the Geometry of Evolutionary Tree Inference</title>
		<link>https://scienmag.com/tropical-attention-rewrites-the-geometry-of-evolutionary-tree-inference/</link>
		
		<dc:creator><![CDATA[Gavin Prescott]]></dc:creator>
		<pubDate>Fri, 16 Oct 2026 07:10:42 +0000</pubDate>
				<category><![CDATA[Biology]]></category>
		<category><![CDATA[Science News]]></category>
		<category><![CDATA[accuracy improvement in evolutionary reconstruction]]></category>
		<category><![CDATA[algebraic geometry]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[distance-based methods for species tree estimation]]></category>
		<category><![CDATA[evolutionary distance estimation from sequence data]]></category>
		<category><![CDATA[inference]]></category>
		<category><![CDATA[max-plus algebra]]></category>
		<category><![CDATA[maximum addition in neural networks]]></category>
		<category><![CDATA[neural network architecture for phylogenetics]]></category>
		<category><![CDATA[neural networks]]></category>
		<category><![CDATA[novel approaches to reconstructing evolutionary history]]></category>
		<category><![CDATA[NP-hard problems in phylogenetics]]></category>
		<category><![CDATA[phylogenetic]]></category>
		<category><![CDATA[phylogenetics]]></category>
		<category><![CDATA[transformer models for genomic data]]></category>
		<category><![CDATA[transformers]]></category>
		<category><![CDATA[tree]]></category>
		<category><![CDATA[tree inference]]></category>
		<category><![CDATA[tropical]]></category>
		<category><![CDATA[tropical algebra in computational biology]]></category>
		<category><![CDATA[tropical attention mechanisms]]></category>
		<category><![CDATA[tropical geometry]]></category>
		<category><![CDATA[Tropical geometry in evolutionary tree inference]]></category>
		<category><![CDATA[tropical mathematics in machine learning]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=282942</guid>

					<description><![CDATA[A max-plus neural architecture aligns deep learning with the polyhedral structure of phylogenetic tree space, cutting distance-matrix error by more than 80 percent against transformer baselines on real genomic alignments.]]></description>
										<content:encoded><![CDATA[<p>Every species on Earth carries within its DNA a record of its evolutionary past, and reconstructing that history from raw sequence data is one of the oldest and hardest problems in computational biology. Now a team of mathematicians and computer scientists has proposed a strikingly different way to solve it: by rebuilding the core of a neural network out of an exotic algebra in which addition means taking a maximum. The new architecture, described in Frontiers in Systems Biology, replaces the smooth, probability-weighted attention at the heart of modern transformers with a piecewise-linear machinery borrowed from tropical geometry, and it delivers dramatic accuracy gains on real genomic data.</p>
<p>The work, led by Chris Teska, Kurt Pasque and Ruriko Yoshida of the Naval Postgraduate School together with Baran Hashemi of the Max Planck Institute for Mathematics in the Sciences, targets a specific bottleneck in evolutionary tree reconstruction. Standard distance-based methods, such as Neighbor Joining and Balanced Minimum Evolution, first estimate all pairwise evolutionary distances between species from a multiple sequence alignment, then fit a tree to that distance matrix. The second step is notoriously difficult: finding the optimal tree under the Balanced Minimum Evolution criterion is NP-hard, and the number of possible tree topologies grows super-exponentially with the number of species. Even for modest datasets, exhaustive search is hopeless.</p>
<p>Recent neural approaches have tried to shortcut this search. Phyloformer and its successor Phyloformer 2 use transformer models that ingest sequence alignments and output distance matrices or distributions over trees, shifting the computational burden from inference time to training time. But these models operate in ordinary Euclidean space, and that, the authors argue, is precisely the problem. The set of distance matrices that actually correspond to valid phylogenetic trees is not a smooth Euclidean region. It is a polyhedral cone structure, carved out by combinatorial constraints such as the four-point condition, which states that for any four species, the largest of three sums of pairwise distances must be achieved at least twice. Euclidean regression and softmax attention, which blur comparisons into diffuse probability distributions, are poorly matched to that geometry.</p>
<p>The key insight comes from a branch of mathematics called tropical algebra, in which ordinary addition is replaced by taking a maximum and ordinary multiplication is replaced by addition. Under this max-plus arithmetic, polynomials become piecewise-linear functions and geometric objects become polyhedral complexes rather than smooth manifolds. In a landmark result, Speyer and Sturmfels showed in 2004 that the space of phylogenetic trees with a fixed number of leaves is isomorphic to the tropical Grassmannian, an algebraic variety defined entirely by max-plus relations. In other words, the geometry of evolutionary trees is, at its mathematical core, tropical. Tree metrics are characterized by maximum operations, not linear combinations.</p>
<p>The new model, called the Tropical Axial Transformer, builds this algebra directly into the attention mechanism. Instead of computing similarity between query and key vectors with a Euclidean dot product followed by softmax normalization, the model maps inputs into tropical projective space through a learnable valuation map, forms queries, keys and values via tropical matrix multiplication, and scores query-key agreement using the Hilbert projective metric, also known as the tropical metric. Attention is then aggregated by tropical matrix multiplication, which effectively selects the value that aligns best with the query rather than averaging all values with exponentially reweighted weights. The result is a piecewise-linear, scale-invariant computation whose structure mirrors the dynamic programming and combinatorial optimization that underlie tree reconstruction.</p>
<p>The architecture itself follows the Phyloformer blueprint: sequence alignments are one-hot encoded and embedded, with each token representing an unordered pair of species at a particular alignment position. Six axial attention blocks with four heads each then alternate attention along two axes, one across sequence positions and one across species pairs, allowing the model to integrate mutation evidence along alignments while computing the pairwise relationships that the tree constraints actually govern. A convolutional projection and a softplus activation produce non-negative distance predictions for every pair of leaves.</p>
<p>Training is equally geometry-aware. Rather than relying on a single regression loss, the objective combines an L1 term for coordinate accuracy, a tropical symmetric distance loss that penalizes distortions relative to the tropical projective torus, and an ultrametric violation penalty that pushes predictions toward the space of rooted trees with equal root-to-leaf distances. The ultrametric penalty activates only after twenty epochs of training, once the model has learned a reasonable representation of pairwise relationships. An ablation study confirmed that the L1 term is essential for raw accuracy, the tropical loss acts as a geometry-aware regularizer, and the full objective provides the best balance across distance and branch-length-sensitive metrics.</p>
<p>The empirical results are striking. On eleven real-world datasets, labeled DS1 through DS11 and spanning ribosomal RNA, mitochondrial DNA and nuclear protein-coding genes from 27 to 71 species, the tropical model achieved the lowest mean absolute error to its FastME-reconstructed tree metric on every single dataset, with error reductions averaging 81.5 percent relative to Phyloformer and 98.4 percent relative to Phyloformer 2. Because the true trees for these empirical alignments are unknown, the result does not directly measure reconstruction accuracy, but it demonstrates something arguably more important: the tropical model produces distance matrices that are far more internally consistent with valid tree structure, even when the input data lies well outside the training distribution.</p>
<p>On simulated data generated under the same birth-death process as the training set, the tropical model landed between the two baselines, with Phyloformer 2 showing superior topological accuracy and Phyloformer performing better on branch-length-aware metrics. But when tested on data from a different simulation regime, the PhyML benchmark generated under a General Time Reversible model with gamma-distributed rates, the tropical model matched Phyloformer 2 topologically while outperforming both competitors on branch-length-sensitive measures. The authors interpret this as evidence that the model learns genuine tree-metric structure rather than merely fitting the quirks of its training simulator, a form of distributional robustness that classical methods have always held over neural ones.</p>
<p>The work is part of a broader movement in neural algorithmic reasoning, in which the inductive bias of a network is deliberately aligned with the mathematical structure of the problem it is meant to solve. The same tropical attention mechanism was introduced by Hashemi and colleagues at NeurIPS 2025 for combinatorial algorithms, where softmax attention was shown to fail under out-of-distribution shifts because the gaps between top logits shrink and attention becomes diffuse. Phylogenetic inference, with its polyhedral tree space and extremal four-point constraints, turns out to be a natural fit for the same machinery. The authors acknowledge a practical limitation: the current implementation relies on PyTorch broadcast operations that create large intermediate tensors and inflate GPU memory during training, though specialized tropical matrix multiplication routines could alleviate this. If those engineering hurdles fall, the message of the paper is clear. When the geometry of a problem is fundamentally non-Euclidean, the smartest thing a neural network can do is stop pretending otherwise.</p>
<p><strong>Subject of Research:</strong> Mathematics</p>
<p><strong>Article Title:</strong> Phylogenetic tree inference with tropical axial attention</p>
<p><strong>Article References:</strong> Teska, C., Pasque, K., Yoshida, R., &amp; Hashemi, B. (2026). Phylogenetic tree inference with tropical axial attention. <em>Frontiers in Systems Biology, 6</em>, Article 1886918. <a href="https://doi.org/10.3389/fsysb.2026.1886918" rel="noopener noreferrer">https://doi.org/10.3389/fsysb.2026.1886918</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.3389/fsysb.2026.1886918" rel="noopener noreferrer">10.3389/fsysb.2026.1886918</a></p>
<p><strong>Keywords:</strong> tropical geometry, phylogenetics, deep learning, transformers, tree inference, max-plus algebra, neural networks, algebraic geometry, Phylogenetic, tree, inference, tropical</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">282942</post-id>	</item>
	</channel>
</rss>
