Fox: Predicting rates of host-symbiont co-evolution events with association-aware attention

Motivation: Hosts and their symbionts share a history of associations in which lineages cospeciate, switch hosts, duplicate, or are lost. Quantifying the relative frequencies of these four events is a central goal of cophylogenetics, but existing tools typically require a fully resolved, correctly rooted host tree, often alongside a symbiont tree, propagating tree-inference errors into the reconciliation and scaling poorly to large systems. Results: We introduce Fox, a transformer neural network architecture that infers the relative frequencies of the four cophylogenetic events directly from a pair of host and symbiont multiple sequence alignments (MSAs) and their sequence mapping, with no tree-reconstruction or reconciliation step. Fox is trained under a simulation-based inference scheme: it learns event frequencies from alignments generated by a coevolutionary process, paying its computational cost once at training time and processing any new system in a single forward pass. On held-out data from its training simulator, Fox recovers event frequencies accurately and with near-zero bias. On additional synthetic data from an independent cophylogeny simulator, its error roughly doubled, but is still very low allowing to track the true frequencies. Most importantly, when compared to the Approximate Bayesian Computation (ABC)-based method AmoCoala on these data, it reduces mean absolute error by 45-76% for cospeciations, host switches and duplications and shows similar error for losses, while running more than three orders of magnitude faster. Applied to the empirical cockroach-Blattabacterium system, Fox recovers the expected cospeciation-dominated profile, showing that behaviour learned on simulated data transfers to real sequences. These results confirm that the coevolutionary signal usually extracted from trees can be read directly, accurately, and fast in the alignments themselves

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-10-30
DOI
https://doi.org/10.64898/2026.10.29.762770
Primary Topic
Genomics and Phylogenetic Studies
Type
preprint

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Fox: Predicting rates of host-symbiont co-evolution events with association-aware attention

Blerina Sinaimeri, Laurent Jacob, Catherine Matias, Gabriele Di Palma
bioRxiv (Cold Spring Harbor Laboratory)
Genomics and Phylogenetic Studies
preprint

Fox: Predicting rates of host-symbiont co-evolution events with association-aware attention

Blerina Sinaimeri, Laurent Jacob, Catherine Matias, Gabriele Di Palma
preprint en

Abstract

Motivation: Hosts and their symbionts share a history of associations in which lineages cospeciate, switch hosts, duplicate, or are lost. Quantifying the relative frequencies of these four events is a central goal of cophylogenetics, but existing tools typically require a fully resolved, correctly rooted host tree, often alongside a symbiont tree, propagating tree-inference errors into the reconciliation and scaling poorly to large systems. Results: We introduce Fox, a transformer neural network architecture that infers the relative frequencies of the four cophylogenetic events directly from a pair of host and symbiont multiple sequence alignments (MSAs) and their sequence mapping, with no tree-reconstruction or reconciliation step. Fox is trained under a simulation-based inference scheme: it learns event frequencies from alignments generated by a coevolutionary process, paying its computational cost once at training time and processing any new system in a single forward pass. On held-out data from its training simulator, Fox recovers event frequencies accurately and with near-zero bias. On additional synthetic data from an independent cophylogeny simulator, its error roughly doubled, but is still very low allowing to track the true frequencies. Most importantly, when compared to the Approximate Bayesian Computation (ABC)-based method AmoCoala on these data, it reduces mean absolute error by 45-76% for cospeciations, host switches and duplications and shows similar error for losses, while running more than three orders of magnitude faster. Applied to the empirical cockroach-Blattabacterium system, Fox recovers the expected cospeciation-dominated profile, showing that behaviour learned on simulated data transfers to real sequences. These results confirm that the coevolutionary signal usually extracted from trees can be read directly, accurately, and fast in the alignments themselves

bioRxiv (Cold Spring Harbor Laboratory)
Università Campus Bio-Medico (IT), Sorbonne Université (FR), Libera Università Internazionale degli Studi Sociali Guido Carli (IT)
Grand Équipement National De Calcul Intensif
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon