English

Adaptive Matrix Sparsification and Applications to Empirical Risk Minimization

Data Structures and Algorithms 2025-12-02 v1 Optimization and Control

Abstract

Consider the empirical risk minimization (ERM) problem, which is stated as follows. Let K1,,KmK_1, \dots, K_m be compact convex sets with KiRniK_i \subseteq \mathbb{R}^{n_i} for i[m]i \in [m], n=i=1mnin = \sum_{i=1}^m n_i, and niCKn_i\le C_K for some absolute constant CKC_K. Also, consider a matrix ARn×dA \in \mathbb{R}^{n \times d} and vectors bRdb \in \mathbb{R}^d and cRnc \in \mathbb{R}^n. Then the ERM problem asks to find minxK1××KmAx=bcx. \min_{\substack{x \in K_1 \times \dots \times K_m\\ A^\top x = b}} c^\top x. We give an algorithm to solve this to high accuracy in time O~(nd+d6n)O~(nd+d11)\widetilde{O}(nd + d^6\sqrt{n}) \le \widetilde{O} (nd + d^{11}), which is nearly-linear time in the input size when AA is dense and nd10n \ge d^{10}. Our result is achieved by implementing an O~(n)\widetilde{O}(\sqrt{n})-iteration interior point method (IPM) efficiently using dynamic data structures. In this direction, our key technical advance is a new algorithm for maintaining leverage score overestimates of matrices undergoing row updates. Formally, given a matrix ARn×dA \in \mathbb{R}^{n \times d} undergoing TT batches of row updates of total size nn we give an algorithm which can maintain leverage score overestimates of the rows of AA summing to O~(d)\widetilde{O}(d) in total time O~(nd+Td6)\widetilde{O}(nd + Td^6). This data structure is used to sample a spectral sparsifier within a robust IPM framework to establish the main result.

Keywords

Cite

@article{arxiv.2512.02003,
  title  = {Adaptive Matrix Sparsification and Applications to Empirical Risk Minimization},
  author = {Yang P. Liu and Richard Peng and Colin Tang and Albert Weng and Junzhao Yang},
  journal= {arXiv preprint arXiv:2512.02003},
  year   = {2025}
}
R2 v1 2026-07-01T08:04:18.519Z