Expectation-Maximization enables Phylogenetic Dating under a Categorical Rate Model
Abstract
Dating phylogenetic trees to obtain branch lengths in time unit is essential for many downstream applications but has remained challenging. Dating requires inferring substitution rates that can change across the tree. While we can assume to have information about a small subset of nodes from the fossil record or sampling times (for fast-evolving organisms), inferring the ages of the other nodes essentially requires extrapolation and interpolation. Assuming a clock model that defines a distribution over rates, we can formulate dating as a constrained maximum likelihood (ML) estimation problem. While ML dating methods exist, their accuracy degrades in the face of model misspecification where the assumed parametric statistical clock model vastly differs from the true distribution. Notably, existing methods tend to assume rigid, often unimodal rate distributions. A second challenge is that the likelihood function involves an integral over the continuous domain of the rates and often leads to difficult non-convex optimization problems. To tackle these two challenges, we propose a new method called Molecular Dating using Categorical-models (MD-Cat). MD-Cat uses a categorical model of rates inspired by non-parametric statistics and can approximate a large family of models by discretizing the rate distribution into k categories. Under this model, we can use the Expectation-Maximization (EM) algorithm to co-estimate rate categories and branch lengths time units. Our model has fewer assumptions about the true clock model than parametric models such as Gamma or LogNormal distribution. Our results on two simulated and real datasets of Angiosperms and HIV and a wide selection of rate distributions show that MD-Cat is often more accurate than the alternatives, especially on datasets with nonmodal or multimodal clock models. Code availabilityThe MD-Cat software is available at https://github.com/uym2/MD-Cat. Data availabilityData are available on Github https://github.com/uym2/MD-Cat-paper and Dryad https://doi.org/10.5061/dryad.pk0p2ngs0.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 0.54
- Field percentile
- top 42%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Log Transformation Improves Dating of Phylogenies
Uyen Mai, Siavash Mirarab·Molecular Biology and EvolutionPeer-reviewed·Sep 2, 2020
- Mixture Models for Dating with Confidence
Gustavo Darlim, Sebastian Höhna·bioRxiv·Sep 25, 2024
- Adaptive dating and fast proposals: revisiting the phylogenetic relaxed clock model
Jordan Douglas, Rong Zhang, Remco Bouckaert·PLoS Computational BiologyPeer-reviewed·Feb 2, 2021
- Bayesian Selection of Relaxed-clock Models:Distinguishing Between Independent and Autocorrelated Rates
Muthukumaran Panchaksaram, Lucas A. Freitas, Mario dos Reis·Systematic BiologyPeer-reviewed·Nov 18, 2024
- Probabilistic modelling improves relative dating from gene phylogenies
Moisès Bernabeu, Carmen Armero, Toni Gabaldón·Methods in Ecology and EvolutionPeer-reviewed·Aug 25, 2025
- A hierarchical clock-mixture model for Bayesian phylogenetic dating
Yuan Xu, Jordan Douglas, … Alexei J. Drummond·bioRxiv·Jul 21, 2026