240 Approximation of the logarithm of the determinant of high-dimensional matrices applied to animal breeding and genetics computations.
Abstract Evaluating the (restricted) log-likelihood of statistical models is widely used when estimating variance components and doing hypothesis testing in animal breeding and genetics. However, due to memory usage and extremely long computational times, performing likelihood evaluations is infeasible for large datasets. A major computational bottleneck in evaluating the likelihood is calculating the logarithm of the determinant (log-determinant) of high-dimensional matrices. This study aimed to present a method to approximate the log-determinant of positive semi-definite matrices, making likelihood evaluations feasible for very large datasets. Our method uses repeated matrix-vector products, notions of complex calculus, and contour integrals. We tested the approximation on beef and dairy cattle, chicken, and pig datasets, including both single and multiple-trait models. The average relative difference between approximated and exact log-determinant values was around 10-3. The approximation was 2 to 500 times faster than the exact calculation. Differences in computing time between the exact and approximated log-determinant increased with dataset size. For the largest dataset, with included 9,408,140 dairy cattle, 34,506 genotyped individuals, and a coefficient matrix rank of 19,170,955 from the mixed model equations, the exact calculation took 19 days, and the approximation took one hour. As an application example, we calculated the restricted likelihood and estimated variance components with expectation-maximization (EM), average information (AI) REML, and two derivative-free (DF) methods using the approximation of the log-determinant for a single-trait model. The exact and approximated log-likelihood showed maximums at the same heritability value among the REML methods. Our proposed approach lifts the computing time and memory limitations for likelihood evaluations in large datasets. The method allows approximating the log-determinant of positive semi-definite matrices, opening the possibility of performing likelihood evaluations for virtually any animal breeding dataset.
Authors
- Andrés Legarra (ORCID: https://orcid.org/0000-0001-8893-7620)
- Matias Bermann (ORCID: https://orcid.org/0000-0002-5374-0710)
- I. Misztal (ORCID: https://orcid.org/0000-0002-0382-1897)
- Daniela A. L. Lourenco (ORCID: https://orcid.org/0000-0003-3140-1002)
- Ignácio Aguilar (ORCID: https://orcid.org/0000-0002-1038-4752)
- Alejandra Álvarez Múnera
Institutions
- University of Georgia (US)
- China-Britain Business Council (GB)
- Instituto Nacional de Investigación Agropecuaria (UY)
Publication Details
- Journal
- Journal of Animal Science
- Published
- 2025-10-01
- DOI
- https://doi.org/10.1093/jas/skaf300.027
- Primary Topic
- Advanced Scientific Research Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00