CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebra
Not on the map. Why?
Abstract (arXiv)
Many areas of machine learning and science involve large linear algebra problems, such as eigendecompositions, solving linear systems, computing matrix exponentials, and trace estimation. The matrices involved often have Kronecker, convolutional, block diagonal, sum, or product structure. In this paper, we propose a simple but general framework for large-scale linear algebra problems in machine learning, named CoLA (Compositional Linear Algebra). By combining a linear operator abstraction with compositional dispatch rules, CoLA automatically constructs memory and runtime efficient numerical algorithms. Moreover, CoLA provides memory efficient automatic differentiation, low precision computation, and GPU acceleration in both JAX and PyTorch, while also accommodating new objects, operations, and rules in downstream packages via multiple dispatch. CoLA can accelerate many algebraic operations, while making it easy to prototype matrix structures and algorithms, providing an appealing drop-in tool for virtually any computational effort that requires linear algebra. We showcase its efficacy across a broad range of applications, including partial differential equations, Gaussian processes, equivariant model construction, and unsupervised learning.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 24 of its 61 references that are in the map. First posted on arXiv 6 Sep 2023.
Builds on
24 of 61 references.
References · 24
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 603
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2021Neural Operator: Learning Maps Between Function Spacescited by 413
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 357
- 2021A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groupscited by 185
- 2015Kernel Interpolation for Scalable Structured Gaussian Processes (KISS-GP)cited by 175
- 2019Exact Gaussian Processes on a Million Data Pointscited by 118
12 more
- 2020Kernel Operations on the GPU, with Autodiff, without Memory Overflowscited by 101
- 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 73
- 2017A general framework for Vecchia approximations of Gaussian processescited by 66
- 2021Evolutional Deep Neural Networkcited by 48
- 2022S4ND: Modeling Images and Videos as Multidimensional Signals Using State Spacescited by 41
- 2018Product Kernel Interpolation for Scalable Gaussian Processescited by 31
- 2017Accelerated Stochastic Power Iterationcited by 22
- 2014A Stochastic PCA and SVD Algorithm with an Exponential Convergence Ratecited by 18
- 2023A Stable and Scalable Method for Solving Initial Value PDEs with Neural Networkscited by 15
- 2020Linear-time inference for Gaussian Processes on one dimensioncited by 11
- 2022Low-Precision Arithmetic for Fast Gaussian Processescited by 10
- 2021SKIing on Simplices: Kernel Interpolation on the Permutohedral Lattice for Scalable Gaussian Processescited by 9
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 3.
7 papers.
- 2025Hidden Breakthroughs in Language Model Trainingcited by 15
- 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matricescited by 11
- 2025Compute-Optimal LLMs Provably Generalize Better With Scalecited by 5
- 2023Perspectives on the State and Future of Deep Learning - 2023cited by 4
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Modelscited by 1
- 2024Diffusing Differentiable Representationscited by 1
- 2025Spectral Estimation with Free Decompressioncited by 0
- 2025Hidden Breakthroughs in Language Model Training18 Jun 2025
- 2025Spectral Estimation with Free Decompression13 Jun 2025
- 2025Compute-Optimal LLMs Provably Generalize Better With Scale21 Apr 2025
- 2024Diffusing Differentiable Representations9 Dec 2024
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Models31 Oct 2024
- 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matrices3 Oct 2024
- 2023Perspectives on the State and Future of Deep Learning - 20237 Dec 2023