PhyloVAE: Unsupervised Learning of Phylogenetic Trees via Variational Autoencoders

Tianyu Xie, David Harry Richman, Jiansi Gao, IV FrederickA.Matsen, Cheng Zhang
2/12/2026

No official code found. Best implementation: tyuxie/PhyloVAE (5 stars, MIT, last commit 2025-02-13).

Abstract

Learning informative representations of phylogenetic tree structures is essential for analyzing evolutionary relationships. Classical distance-based methods have been widely used to project phylogenetic trees into Euclidean space, but they are often sensitive to the choice of distance metric and may lack sufficient resolution. In this paper, we introduce phylogenetic variational autoencoders (PhyloVAEs), an unsupervissed learning framework designed for representation learning and generative modeling of tree topologies. Leveraging an efficient encoding mechanism inspired by autoregressive tree topology generation, we develop a deep latent-variable generative model that facilitates fast, parallelized topology generation. PhyloVAE combines this generative model with a collaborative inference model based on learnable topological features, allowing for high-resolution representations of phylogenetic tree samples. Extensive experiments demonstrate PhyloVAE’s robust representation learning capabilities and fast generation of phylogenetic tree topologies.

View on arXivView PDF

Code Implementations(1)

tyuxie/PhyloVAECommunity100%
MIT

The official codebase for PhyloVAE (ICLR 2025)

50PythonJan 23, 20251 years agoMIT

Similar Papers

Cite this paper

@article{xie2026phylovae,
  title  = {PhyloVAE: Unsupervised Learning of Phylogenetic Trees via Variational Autoencoders},
  author = {Tianyu Xie and David Harry Richman and Jiansi Gao and IV FrederickA.Matsen and Cheng Zhang},
  year   = {2026},
  eprint = {2502.04730},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.04730},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04730.svg)](https://codeofpaper.com/paper/2502.04730)

Discussion