Abstract
In linear algebra and statistics, the Woodbury matrix identity and the matrix determinant lemma are fundamental tools for updating matrix inverses and determinants under low-rank perturbations. However, these identities traditionally require the invertibility of internal matrices, a condition that fails in Gaussian Process (GP) regression when employing uninformative priors. This paper introduces a "singular" extension of these identities using generalized inverses and pseudo-determinants. We demonstrate that the precision matrix in these contexts is equivalent to a Bott-Duffin inverse and provide a computationally efficient framework for likelihood evaluation in rank-deficient scenarios.
Introduction
The Woodbury matrix identity is a cornerstone of computational statistics, allowing researchers to compute the inverse of a matrix after a low-rank update without the prohibitive cost of a full matrix inversion. Despite its utility, the classic formula possesses a significant "blind spot": it breaks down when the matrices involved are singular.
This limitation is particularly acute in Gaussian Process (GP) regression. When researchers utilize linear mixed models with improper uniform priors—assuming zero prior knowledge about fixed effects—the precision of the prior knowledge becomes zero, resulting in a singular matrix. Historically, this has been addressed through ad-hoc limits or specific projections. This research provides a unified, mathematically rigorous framework to bridge this gap using the theory of generalized inverses.
Methodology: Beyond Standard Inverses
To address the breakdown of classic identities, the authors move beyond the standard matrix inverse to the realm of generalized inverses. The framework utilizes three primary constructs:
- Moore-Penrose Pseudo-inverses ($A^\dagger$): Used to generalize the inverse for non-square or singular matrices.
- Bott-Duffin Inverses: A constrained inverse used to define the precision matrix on a specific subspace. The paper reveals that the precision matrix of a GP with a linear trend is exactly the Bott-Duffin inverse of its covariance matrix.
- Outer Inverses: The authors prove that their proposed "Singular Woodbury" matrix is a generalized {2}-inverse of the original matrix.
Furthermore, the paper derives new identities for pseudo-determinants—the product of a matrix's non-zero eigenvalues. Because the matrices in singular GP cases are rank-deficient, their standard determinants are zero, rendering them useless for likelihood calculations. The proposed pseudo-determinant identities allow for the evaluation of likelihood functions even in these singular limits by focusing on the subspace orthogonal to the trend ($X^\perp$).
Computational Performance and Validation
The theoretical findings were validated using both synthetic and real-world datasets. The authors utilized the MIT-BIH Arrhythmia Database to generate large-scale Toeplitz covariance matrices and employed synthetic basis functions to simulate varying ratios of basis functions to data points.
The $p/n$ Threshold
A key insight from the numerical analysis is the existence of a performance crossover point. The efficiency of computing a log-determinant depends on the ratio of the number of basis functions ($p$) to the number of data points ($n$). The authors compared three algorithms (LD1, LD2, and LD3) and found that if the design matrix $X$ is orthonormalized in advance, the new singular identities (LD2 and LD3) are significantly faster than legacy approaches when the number of basis functions is large relative to the data.
To facilitate the adoption of these methods, the researchers released detkit, a high-performance Python package that implements these singular identities for the wider scientific community.
Conclusion
This work provides a rigorous extension of classic matrix identities to the singular case, offering both theoretical clarity and computational benefits for Gaussian Process regression. By redefining precision through the Bott-Duffin inverse and providing identities for pseudo-determinants, the authors enable more robust statistical modeling in the presence of uninformative priors. While the computational advantages are most pronounced in specific $p/n$ regimes, the unified framework represents a significant step forward in handling rank-deficiency in linear algebra and spatial statistics. Future work may extend these identities to complex models involving Drazin inverses or broader applications in high-dimensional data analysis.
Summary updated