Auto-Differentiating Linear Algebra
Not on the map. Why?
Abstract (arXiv)
Development systems for deep learning (DL), such as Theano, Torch, TensorFlow, or MXNet, are easy-to-use tools for creating complex neural network models. Since gradient computations are automatically baked in, and execution is mapped to high performance hardware, these models can be trained end-to-end on large amounts of data. However, it is currently not easy to implement many basic machine learning primitives in these systems (such as Gaussian processes, least squares estimation, principal components analysis, Kalman smoothing), mainly because they lack efficient support of linear algebra primitives as differentiable operators. We detail how a number of matrix decompositions (Cholesky, LQ, symmetric eigen) can be implemented as differentiable operators. We have implemented these primitives in MXNet, running on CPU and GPU in single and double precision. We sketch use cases of these new operators, learning Gaussian process and Bayesian linear regression models, where we demonstrate very substantial reductions in implementation complexity and running time compared to previous codes. Our MXNet extension allows end-to-end learning of hybrid models, which combine deep neural networks (DNNs) with Bayesian concepts, with applications in advanced Gaussian process models, scalable Bayesian optimization, and Bayesian active learning.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 24 Oct 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 0; 2026: 2.
7 papers.
- 2024Setting the Record Straight on Transformer Oversmoothingcited by 21
- 2024End-to-end Conditional Robust Optimizationcited by 17
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learningcited by 1
- 2024Gradients of Functions of Large Matricescited by 1
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Modelscited by 1
- 2026Cov2Pose: Leveraging Spatial Covariance for Direct Manifold-aware 6-DoF Object Pose Estimationcited by 1
- 2026Robust Automatic Differentiation of Square-Root Kalman Filters via Gramian Differentialscited by 0
- 2026Cov2Pose: Leveraging Spatial Covariance for Direct Manifold-aware 6-DoF Object Pose Estimation20 Mar 2026
- 2026Robust Automatic Differentiation of Square-Root Kalman Filters via Gramian Differentials13 Mar 2026
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Models31 Oct 2024
- 2024Gradients of Functions of Large Matrices27 May 2024
- 2024End-to-end Conditional Robust Optimization7 Mar 2024
- 2024Setting the Record Straight on Transformer Oversmoothing9 Jan 2024
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learning31 May 2023