Related Experiment Video
Updated: Jul 28, 2025

08:57
Using Phylogenetic Analysis to Investigate Eukaryotic Gene Origin
Published on: August 14, 2018
16.0K
Automatic Differentiation is no Panacea for Phylogenetic Gradient Computation
Mathieu Fourment1, Christiaan J Swanepoel2,3, Jared G Galloway4
1Australian Institute for Microbiology and Infection, University of Technology Sydney, Ultimo, NSW, Australia.
Genome Biology and Evolution
|June 2, 2023
Summary
Automatic differentiation is slower than specialized methods for phylogenetic likelihood gradients. A combined approach using both phylogenetic and machine learning libraries offers the best performance and flexibility.
Area of Science:
- Computational Statistics
- Machine Learning
- Phylogenetics
Background:
- Gradients of probabilistic model likelihoods are crucial for computational statistics and machine learning.
- Automatic differentiation (AD) in libraries like TensorFlow and PyTorch offers general gradient computation.
- The efficiency of AD for phylogenetics-specific tasks compared to specialized code is not well-established.
Purpose of the Study:
- To compare the performance of automatic differentiation with phylogenetics-specific gradient implementations.
- To evaluate gradient calculation speed and scalability in the context of phylogenetic likelihood functions.
- To assess the impact of gradient computation on variational inference procedures in phylogenetics.
Main Methods:
- Implemented and compared six different gradient calculation methods for phylogenetic likelihood functions.
- Evaluated implementations both in isolation and within a variational inference framework.
- Assessed performance based on computational speed and scalability with respect to tree size.
Main Results:
- Automatic differentiation scales approximately linearly with tree size.
- Specialized gradient calculations for tree likelihood and ratio transformations are significantly faster than AD.
- AD's general-purpose nature results in slower performance for these specific phylogenetic operations.
Conclusions:
- A hybrid approach, combining specialized phylogenetic libraries with general machine learning libraries, is recommended.
- This mixed strategy balances computational speed with the flexibility needed for complex phylogenetic modeling.
- Future advancements should leverage the strengths of both specialized and general-purpose tools.
Related Concept Videos
Evolutionary Relationships through Genome Comparisons
5.9K
Genome comparison is one of the excellent ways to interpret the evolutionary relationships between organisms. The basic principle of genome comparison is that if two species share a common feature, it is likely encoded by the DNA sequence conserved between both species. The advent of genome sequencing technologies in the late 20th century enabled scientists to understand the concept of conservation of domains between species and helped them to deduce evolutionary relationships across diverse...
5.9K
Gene Evolution - Fast or Slow?
7.2K
The genomes of eukaryotes are punctuated by long stretches of sequence which do not code for proteins or RNAs. Although some of these regions do contain crucial regulatory sequences, the vast majority of this DNA serves no known function. Typically, these regions of the genome are the ones in which the fastest change, in evolutionary terms, is observed, because there is typically little to no selection pressure acting on these regions to preserve their sequences.
In contrast, regions which code...
In contrast, regions which code...
7.2K
Phylogenetic Trees
45.7K
Phylogenetic trees come in many forms. It matters in which sequence the organisms are arranged from the bottom to the top of the tree, but the branches can rotate at their nodes without altering the information. The lines connecting individual nodes can be straight, angled, or even curved.
45.7K
Phylogeny
44.7K
Phylogeny is concerned with the evolutionary diversification of organisms or groups of organisms. A group of organisms with a name is called a taxon (singular). Taxa (plural) can span different levels of the evolutionary hierarchy. For instance, the group containing all birds is a taxon (comprising the class Aves), and the group of all species of daisies (the genus Bellis) is a taxon. Phylogenies can likewise include just one genus (i.e., depict species relationships) or span an entire kingdom.
44.7K
Gradient and Del Operator
2.7K
In mathematics and physics, the gradient and del operator are fundamental concepts used to describe the behavior of functions and fields in space. The gradient is a mathematical operator that gives both the magnitude and direction of the maximum spatial rate of change. Consider a person standing on a mountain. The slope of the mountain at any given point is not defined unless it is quantified in a particular direction. For this reason, a "directional derivative" is defined, which is a vector...
2.7K
Genetic Drift
40.1K
Natural selection—probably the most well-known evolutionary mechanism—increases the prevalence of traits that enhance survival and reproduction. However, evolution does not merely propagate favorable traits, nor does it always benefit populations.
40.1K

