English

Numerical Linear Algebra in Linear Space

Data Structures and Algorithms 2025-07-04 v1

Abstract

We present a randomized linear-space solver for general linear systems Ax=b\mathbf{A} \mathbf{x} = \mathbf{b} with AZn×n\mathbf{A} \in \mathbb{Z}^{n \times n} and bZn\mathbf{b} \in \mathbb{Z}^n, without any assumption on the condition number of A\mathbf{A}. For matrices whose entries are bounded by poly(n)\mathrm{poly}(n), the solver returns a (1+ϵ)(1+\epsilon)-multiplicative entry-wise approximation to vector xQn\mathbf{x} \in \mathbb{Q}^{n} using O~(n2nnz(A))\widetilde{O}(n^2 \cdot \mathrm{nnz}(\mathbf{A})) bit operations and O(nlogn)O(n \log n) bits of working space (i.e., linear in the size of a vector), where nnz\mathrm{nnz} denotes the number of nonzero entries. Our solver works for right-hand vector b\mathbf{b} with entries up to nO(n)n^{O(n)}. To our knowledge, this is the first linear-space linear system solver over the rationals that runs in O~(n2nnz(A))\widetilde{O}(n^2 \cdot \mathrm{nnz}(\mathbf{A})) time. We also present several applications of our solver to numerical linear algebra problems, for which we provide algorithms with efficient polynomial running time and near-linear space. In particular, we present results for linear regression, linear programming, eigenvalues and eigenvectors, and singular value decomposition.

Keywords

Cite

@article{arxiv.2507.02433,
  title  = {Numerical Linear Algebra in Linear Space},
  author = {Yiping Liu and Hoai-An Nguyen and Junzhao Yang},
  journal= {arXiv preprint arXiv:2507.02433},
  year   = {2025}
}

Comments

52 pages, 0 figures

R2 v1 2026-07-01T03:44:34.204Z