Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-08T23:23:26.575Z Has data issue: false hasContentIssue false

SIAMESE NETWORKS FOR POINCARÉ EMBEDDINGS AND THE RECONSTRUCTION OF EVOLUTIONARY TREES

Published online by Cambridge University Press:  07 July 2025

CIRO CARVALLO
Affiliation:
Departamento de Matemática, Facultad de Ciencias Exactas y Naturales, Universidad de Buenos Aires, Ciudad Universitaria, Buenos Aires, Argentina; e-mail: ccarvallo@dm.uba.ar
HERNÁN BOCACCIO
Affiliation:
Departamento de Física, Facultad de Ciencias Exactas y Naturales, Universidad de Buenos Aires y CONICET – Universidad de Buenos Aires, Instituto de Física Interdisciplinaria y Aplicada (INFINA), Ciudad Universitaria, Buenos Aires, Argentina; e-mail: hbocaccio@gmail.com, gabo@df.uba.ar
GABRIEL B. MINDLIN
Affiliation:
Departamento de Física, Facultad de Ciencias Exactas y Naturales, Universidad de Buenos Aires y CONICET – Universidad de Buenos Aires, Instituto de Física Interdisciplinaria y Aplicada (INFINA), Ciudad Universitaria, Buenos Aires, Argentina; e-mail: hbocaccio@gmail.com, gabo@df.uba.ar
PABLO GROISMAN*
Affiliation:
Departamento de Matemática, Facultad de Ciencias Exactas y Naturales, Universidad de Buenos Aires y CONICET – Universidad de Buenos Aires , Instituto de Matemática Luis A. Santaló (IMAS), Ciudad Universitaria, Buenos Aires, Argentina
Rights & Permissions [Opens in a new window]

Abstract

We present a method for reconstructing evolutionary trees from high-dimensional data, with a specific application to bird song spectrograms. We address the challenge of inferring phylogenetic relationships from phenotypic traits, like vocalizations, without predefined acoustic properties. Our approach combines two main components: Poincaré embeddings for dimensionality reduction and distance computation, and the neighbour-joining algorithm for tree reconstruction. Unlike previous work, we employ Siamese networks to learn embeddings from only leaf node samples of the latent tree. We demonstrate our method’s effectiveness on both synthetic data and spectrograms from six species of finches.

Information

Type
Research Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Australian Mathematical Publishing Association Inc
Figure 0

Figure 1 Embedding of a tree with branching factor 2 into the Poincaré disk. Image is taken from [34].

Figure 1

Figure 2 Six images with implicit hierarchy.

Figure 2

Figure 3 Implicit hierarchical structure of the synthetic images.

Figure 3

Figure 4 Siamese network architecture. The distance between the outputs of each of the networks is computed in the Poincaré ball. The loss function imposes the embedding of different classes to be separated in the Poincaré ball while embeddings of elements of the same class are forced to be close in the Poincaré ball.

Figure 4

Table 1 Accuracy of the model applied to synthetic data.

Figure 5

Figure 5 Embeddings in the Poincaré disk. Top: runs 1, 2 and 7. Bottom: runs 8, 9 and 10.

Figure 6

Figure 6 Reconstructed trees with NJ. (a) Tree without root obtained in $90\%$ of the runs; (b) rooted tree (midpoint-rooting) obtained in $70\%$ of the runs.

Figure 7

Figure 7 Six sonograms of representatives of different bird species.

Figure 8

Table 2 Accuracy for the model applied to sonogram data.

Figure 9

Figure 8 Sonograms embedding.

Figure 10

Figure 9 Trees generated by NJ: (a) unrooted tree generated from sonograms for 70% of the runs; (b) unrooted tree generated from sonograms for 20% of the runs; (c) unrooted tree generated from sonograms for 10% of the runs.

Figure 11

Figure 10 (a) Phylogenetic tree of bird species. (b)–(d) Trees with roots using midpoint rooting and NJ. The tree in panel (b) was obtained in 60% of the runs. The tree in panel (c) was obtained in 30% of the runs. The tree in panel (d) was obtained in 10% of the runs.