Pith. sign in

CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebra

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

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.

fields

cs.LG 1

years

2025 1

verdicts

CONDITIONAL 1

representative citing papers

Compute-Optimal LLMs Provably Generalize Better With Scale

cs.LG · 2025-04-21 · conditional · novelty 7.0

A fully empirical Freedman-type concentration bound shows the token-level generalization gap of compute-optimal LLMs shrinks with scale, provided measured loss variance and quantization error decrease.

citing papers explorer

Showing 1 of 1 citing paper.

  • Compute-Optimal LLMs Provably Generalize Better With Scale cs.LG · 2025-04-21 · conditional · none · ref 53 · internal anchor

    A fully empirical Freedman-type concentration bound shows the token-level generalization gap of compute-optimal LLMs shrinks with scale, provided measured loss variance and quantization error decrease.