Skip to main content
QUICK REVIEW

[Paper Review] Solving Empirical Risk Minimization in the Current Matrix Multiplication Time

Yin Tat Lee, Zhao Song|arXiv (Cornell University)|May 11, 2019
Stochastic Gradient Optimization TechniquesComputer Science75 references22 citations
TL;DR

This paper presents a novel interior-point method that solves empirical risk minimization (ERM) in time matching the current matrix multiplication exponent, $O^*(n^ ho \log(n/\delta))$ with $\rho \approx 2.38$, by introducing a robust deterministic central path and an efficient data structure for dense weight updates. The method achieves logarithmic dependence on accuracy and condition numbers, generalizing prior results on linear programming and least squares to broader convex ERM problems.

ABSTRACT

Many convex problems in machine learning and computer science share the same form: \begin{align*} \min_{x} \sum_{i} f_i( A_i x + b_i), \end{align*} where $f_i$ are convex functions on $\mathbb{R}^{n_i}$ with constant $n_i$, $A_i \in \mathbb{R}^{n_i imes d}$, $b_i \in \mathbb{R}^{n_i}$ and $\sum_i n_i = n$. This problem generalizes linear programming and includes many problems in empirical risk minimization. In this paper, we give an algorithm that runs in time \begin{align*} O^* ( ( n^ω + n^{2.5 - α/2} + n^{2+ 1/6} ) \log (n / δ) ) \end{align*} where $ω$ is the exponent of matrix multiplication, $α$ is the dual exponent of matrix multiplication, and $δ$ is the relative accuracy. Note that the runtime has only a log dependence on the condition numbers or other data dependent parameters and these are captured in $δ$. For the current bound $ω\sim 2.38$ [Vassilevska Williams'12, Le Gall'14] and $α\sim 0.31$ [Le Gall, Urrutia'18], our runtime $O^* ( n^ω \log (n / δ))$ matches the current best for solving a dense least squares regression problem, a special case of the problem we consider. Very recently, [Alman'18] proved that all the current known techniques can not give a better $ω$ below $2.168$ which is larger than our $2+1/6$. Our result generalizes the very recent result of solving linear programs in the current matrix multiplication time [Cohen, Lee, Song'19] to a more broad class of problems. Our algorithm proposes two concepts which are different from [Cohen, Lee, Song'19] : $\bullet$ We give a robust deterministic central path method, whereas the previous one is a stochastic central path which updates weights by a random sparse vector. $\bullet$ We propose an efficient data-structure to maintain the central path of interior point methods even when the weights update vector is dense.

Motivation & Objective

  • To close the gap in runtime bounds for general empirical risk minimization (ERM) problems, which lack a general high-accuracy algorithm despite fast solvers for specific cases.
  • To extend the recent result on solving linear programs in matrix multiplication time to a broader class of convex ERM problems with arbitrary convex constraints per variable.
  • To design a method that achieves logarithmic dependence on accuracy $\delta$ and condition numbers, avoiding polynomial dependence on smoothness or strong convexity parameters.
  • To develop a deterministic, robust central path method that handles dense weight updates efficiently, unlike prior stochastic approaches.
  • To maintain efficiency in interior-point methods when the Hessian or weight update vectors are dense, using a novel data structure for dynamic path maintenance.

Proposed method

  • Proposes a robust deterministic central path method, replacing the stochastic central path used in prior work, which updates weights via random sparse vectors.
  • Introduces a new data structure to efficiently maintain the central path in interior-point methods even when the weight update vector is dense, enabling fast Hessian updates.
  • Leverages the current best-known matrix multiplication exponent $\omega \approx 2.38$ and dual exponent $\alpha \approx 0.31$ to bound the runtime.
  • Uses a randomized sketching technique with $b$-dimensional random projections to approximate matrix-vector products, ensuring concentration bounds via Khintchine’s inequality.
  • Applies union bounds and concentration inequalities to show that $\|R^\top R h - h\|_\infty \leq \|h\|_2 \cdot \frac{\log(n/\delta)}{\sqrt{b}}$ with high probability.
  • Combines the central path framework with iterative refinement and path-following strategies to achieve $\delta$-accuracy in $O^*(n^\rho \log(n/\delta))$ time, where $\rho = \max(\omega, 2.5 - \alpha/2, 2 + 1/6)$.

Experimental results

Research questions

  • RQ1Can empirical risk minimization problems be solved in time matching the current matrix multiplication exponent, independent of condition numbers?
  • RQ2Can a deterministic central path method be designed that remains efficient under dense weight updates, unlike prior stochastic approaches?
  • RQ3Is it possible to maintain the central path in interior-point methods with only logarithmic dependence on accuracy and condition numbers?
  • RQ4Can the runtime of ERM solvers be made independent of smoothness or strong convexity parameters through advanced data structures?
  • RQ5What is the minimal runtime overhead for generalizing linear programming solvers to broader convex ERM problems?

Key findings

  • The algorithm runs in $O^*(n^\rho \log(n/\delta))$ time, where $\rho = \max(\omega, 2.5 - \alpha/2, 2 + 1/6)$, matching the best-known runtime for dense least squares regression.
  • For current matrix multiplication bounds ($\omega \approx 2.38$, $\alpha \approx 0.31$), the runtime simplifies to $O^*(n^{2.38} \log(n/\delta))$, achieving the current matrix multiplication time.
  • The method achieves logarithmic dependence on accuracy $\delta$ and condition numbers, which are captured in $\delta$, avoiding polynomial dependence on smoothness or strong convexity.
  • The proposed data structure enables efficient path maintenance under dense weight updates, a key bottleneck in prior interior-point methods.
  • The robust deterministic central path method improves stability and convergence guarantees over stochastic counterparts, which rely on random sparse updates.
  • The result generalizes the recent $O^*(n^\omega)$ algorithm for linear programming to a broad class of convex ERM problems with arbitrary constraint dimensions per variable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.