Research

Paper

TESTING March 09, 2026

Amortized Phylodynamic Inference with Neural Bayes Estimators and Recursive Neural Networks

Authors

Alexander E. Zarebski, Thomas Williams, Louis du Plessis

Abstract

Phylodynamics is used to estimate epidemic dynamics from phylogenetic trees or genomic sequences of pathogens, but the likelihood calculations needed can be challenging for complex models. We present a neural Bayes estimator (NBE) for key epidemic quantities: the reproduction number, prevalence, and cumulative infections through time. By performing quantile regression over tree space, the NBE allows us to estimate posterior medians and credible intervals directly from a reconstructed tree. Our approach uses a recursive neural network as a tree embedding network with a prediction network conditioned on time and quantile level to generate the estimates. In simulation studies, the NBE achieves good predictive performance, with conservative uncertainty estimates. Compared with a BEAST2 fixed-tree analysis, the NBE gives less biased estimates of time-varying reproduction numbers in our test setting. Under a misspecified sampling model, the NBE performance degrades (as expected) but remains reasonable, and fine-tuning a pre-trained model yields estimates comparable to those from a model trained from scratch, at substantially lower computational cost.

Metadata

arXiv ID: 2603.08345
Provider: ARXIV
Primary Category: stat.ME
Published: 2026-03-09
Fetched: 2026-03-10 05:43

Related papers

Raw Data (Debug)
{
  "raw_xml": "<entry>\n    <id>http://arxiv.org/abs/2603.08345v1</id>\n    <title>Amortized Phylodynamic Inference with Neural Bayes Estimators and Recursive Neural Networks</title>\n    <updated>2026-03-09T13:07:01Z</updated>\n    <link href='https://arxiv.org/abs/2603.08345v1' rel='alternate' type='text/html'/>\n    <link href='https://arxiv.org/pdf/2603.08345v1' rel='related' title='pdf' type='application/pdf'/>\n    <summary>Phylodynamics is used to estimate epidemic dynamics from phylogenetic trees or genomic sequences of pathogens, but the likelihood calculations needed can be challenging for complex models. We present a neural Bayes estimator (NBE) for key epidemic quantities: the reproduction number, prevalence, and cumulative infections through time. By performing quantile regression over tree space, the NBE allows us to estimate posterior medians and credible intervals directly from a reconstructed tree. Our approach uses a recursive neural network as a tree embedding network with a prediction network conditioned on time and quantile level to generate the estimates. In simulation studies, the NBE achieves good predictive performance, with conservative uncertainty estimates. Compared with a BEAST2 fixed-tree analysis, the NBE gives less biased estimates of time-varying reproduction numbers in our test setting. Under a misspecified sampling model, the NBE performance degrades (as expected) but remains reasonable, and fine-tuning a pre-trained model yields estimates comparable to those from a model trained from scratch, at substantially lower computational cost.</summary>\n    <category scheme='http://arxiv.org/schemas/atom' term='stat.ME'/>\n    <category scheme='http://arxiv.org/schemas/atom' term='q-bio.QM'/>\n    <published>2026-03-09T13:07:01Z</published>\n    <arxiv:primary_category term='stat.ME'/>\n    <author>\n      <name>Alexander E. Zarebski</name>\n    </author>\n    <author>\n      <name>Thomas Williams</name>\n    </author>\n    <author>\n      <name>Louis du Plessis</name>\n    </author>\n  </entry>"
}