Vector encoding of phylogenetic trees by ordered leaf attachment
Populations and Evolution
2025-03-26 v2 Combinatorics
Abstract
As part of work to connect phylogenetics with machine learning, there has been considerable recent interest in vector encodings of phylogenetic trees. We present a simple new "ordered leaf attachment" (OLA) method for uniquely encoding a binary, rooted phylogenetic tree topology as an integer vector. OLA encoding and decoding take linear time in the number of leaf nodes, and the set of vectors corresponding to trees is a simply-described subset of integer sequences. The OLA encoding is unique compared to other existing encodings in having these properties. The integer vector encoding induces a distance on the set of trees, and we investigate this distance in relation to the NNI and SPR distances.
Keywords
Cite
@article{arxiv.2503.10169,
title = {Vector encoding of phylogenetic trees by ordered leaf attachment},
author = {Harry Richman and Cheng Zhang and Frederick A. Matsen},
journal= {arXiv preprint arXiv:2503.10169},
year = {2025}
}
Comments
24 pages, 16 figures, comments welcome!