Semismooth Newton Algorithm for Efficient Projections onto ℓ1, ∞-norm Ball

Dejun Chu, Changshui Zhang, Shiliang Sun, Qing TaoICML 2020

The Projection Bottleneck in Group Sparsity

In machine learning and statistics, models are often designed to be "sparse"—meaning they rely on only a small subset of available features to make predictions. While the classic $\ell_1$-norm (used in Lasso) selects individual features, the $\ell_{1,\infty}$-norm is utilized for group sparsity. This forces the model to select or discard entire groups of features simultaneously, a property that is incredibly useful in areas like multitask learning where related tasks should share the same active features.

To train these models using standard Projected Gradient Algorithms (PGA), the system must repeatedly "project" the model's weights back onto an $\ell_{1,\infty}$-norm ball. Unfortunately, unlike the $\ell_1$-norm, the $\ell_{1,\infty}$-norm projection lacks a simple closed-form solution. Existing methods—such as sorting-based algorithms or basic root-finding bisection methods—are computationally expensive. Even recent Newton-based methods slow down significantly as the data size grows because they require solving complex sub-problems at every single iteration. This projection step becomes a massive bottleneck, severely slowing down the training of large-scale group-sparse models.

A Linear-Time Semismooth Newton Approach

To tackle this bottleneck, researchers have introduced a highly efficient, semismooth Newton algorithm. The approach reformulates the $\ell_{1,\infty}$ projection as a system of semismooth equations derived from the problem's Karush-Kuhn-Tucker (KKT) optimality conditions.

The standout innovation lies in how the algorithm handles the generalized Jacobian matrix required for the Newton steps:

  • Avoiding Matrix Inversion: Normally, Newton's method requires computing the inverse of a Jacobian matrix, which is prohibitively slow for large datasets.
  • Structural Exploitation: The authors noticed the Jacobian in this specific problem has a highly predictable, sparse, and symmetric structure.
  • Linear-Time LU Factorization: Instead of inverting the matrix, they prove it can be factored into Lower and Upper (LU) triangular matrices uniquely and directly. This allows them to compute the Newton direction in linear time $\mathcal{O}(dm)$ using simple forward and backward substitution.

Furthermore, they derive an equivalent variant of their algorithm that bypasses the need to accurately solve $\ell_1$-norm sub-problems at each step—a major flaw in prior Newton-based approaches—replacing it with a cheap one-step update. Because the underlying dual function is piecewise linear and convex, the authors mathematically prove their algorithm will find the exact root (and thus the exact projection) in a finite number of steps, jumping over breakpoints in the function landscape efficiently.

Experimental Results and Scalability

The proposed Semismooth Newton Algorithm (SNA) was tested against state-of-the-art solvers, including the Newton Root-Finding Method (NRFM) and Sorting-Based Methods (SBM), using both massive synthetic datasets and real-world benchmarks.

CPU Time vs. Dimensions for SNA, NRMF, and SBM

On randomly generated matrices scaling up to $10,000 \times 10,000$ dimensions (100 million non-zero elements), SNA demonstrated superior scalability. As the number of tasks ($m$) or dimensions ($d$) increased, competing methods like NRFM lost their efficiency advantage, while SNA scaled linearly and remained highly stable.

Performance comparison showing up to 12.4x speedup for the proposed SNA

Quantitatively, SNA achieved massive speedups of 2.3x to 12.4x over NRFM, and ran orders of magnitude faster than traditional SBM. Despite this blazing speed, SNA maintained constraint violation errors in the realm of $10^{-11}$ to $10^{-12}$, matching or exceeding the precision of slower methods.

Real-World Impact and Future Directions

To test practical impact, the algorithm was plugged into a Projected Gradient Algorithm to train a Multitask Lasso (MTLC) model on the "School" dataset—a standard benchmark containing test scores of 15,362 students across 139 schools (tasks), described by 27 features. SNA sped up the projection phase by 5.6x to 8.7x compared to the baseline sorting method.

While the speedup multiplier of SNA is most dramatic on highly dimensional data (the School dataset's relatively low dimensionality resulted in a slightly less pronounced, though still significant, speedup compared to synthetic matrices), the results are highly encouraging. The sheer speed and finite-step convergence of this semismooth Newton method make it a highly promising foundation for tackling other notoriously challenging, large-scale machine learning problems that rely on complex norm constraints.

Summary updated

BibTeX
@inproceedings{chu2020semismooth,
  author = {Dejun Chu and Changshui Zhang and Shiliang Sun and Qing Tao},
  title = {{Semismooth Newton Algorithm for Efficient Projections onto ℓ1, ∞-norm Ball}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure