Abstract
We focus on solving the clustered lasso problem, a least squares problem with $\ell_1$-type penalties imposed on both coefficients and their pairwise differences to learn the group structure of regression parameters. We reformulate the clustered lasso regularizer as a weighted ordered-lasso regularizer, reducing computational cost from $O(n^2)$ to $O(n\log n)$. We propose an inexact semismooth Newton augmented Lagrangian (SSNAL) algorithm to solve the problem or its dual, depending on whether the sample size is larger than the feature dimension. A key component is the computation of the generalized Jacobian of the proximal mapping, for which we derive an efficient procedure. Comprehensive results on global and local linear convergence are established. Numerical experiments demonstrate that SSNAL substantially outperforms state-of-the-art first-order methods.
Introduction
In high-dimensional statistics, identifying group structures among features is critical for model interpretability and predictive accuracy. The clustered lasso is a regression model designed for this purpose, applying two distinct penalties:
- Sparsity Penalty ($\ell_1$-norm): Encourages individual coefficients to be zero.
- Clustering Penalty ($\ell_1$-norm on pairwise differences): Encourages groups of coefficients to take identical values, effectively performing automatic feature grouping.
Despite its statistical power, the clustered lasso has historically been limited by its computational complexity. The pairwise difference penalty involves $O(n^2)$ comparisons for $n$ features, making it prohibitive for large-scale datasets. This paper presents a framework that overcomes these limitations through mathematical reformulation and advanced second-order optimization.
The $O(n \log n)$ Reformulation
The core innovation of this work is the proof that the clustered lasso regularizer is mathematically equivalent to a weighted ordered-lasso regularizer. By recognizing that the sum of absolute pairwise differences is determined by the sorted order of the coefficients, the authors reduce the complexity of evaluating the penalty from $O(n^2)$ to $O(n \log n)$.
This reformulation allows the use of the Pool Adjacent Violators Algorithm (PAVA) to solve the proximal mapping—a fundamental step in many optimization algorithms. This marks the first time the clustered lasso's proximal mapping has been shown to be computable in $O(n \log n)$ time, providing a foundation for highly efficient solvers.
The SSNAL Algorithm
While first-order methods like the Alternating Direction Method of Multipliers (ADMM) or Accelerated Proximal Gradient (APG) are common, they often suffer from slow convergence when high precision is required. To address this, the authors propose a Semismooth Newton Augmented Lagrangian (SSNAL) algorithm.
SSNAL is a second-order method that leverages the "sparsity" of the generalized Hessian. Key features include:
- Generalized Jacobian Computation: The authors derived an efficient procedure to compute the generalized Jacobian of the proximal mapping based on the new ordered-lasso formulation.
- Dual and Primal Flexibility: The algorithm can be applied to either the primal or dual problem. For datasets where the number of features ($n$) greatly exceeds the number of samples ($m$), the dual formulation is used to maintain efficiency.
- Convergence Guarantees: The paper establishes both global convergence and local linear convergence for the SSNAL algorithm, providing theoretical reliability alongside empirical speed.
Numerical Experiments and Scalability
The effectiveness of the SSNAL algorithm was tested on 54 real-world datasets from the UCI Machine Learning Repository and various synthetic datasets.
Performance Highlights:
- Speed: SSNAL solved the entire suite of 54 UCI test cases in approximately five minutes. In direct comparisons, it was consistently 5 to 20 times faster than ADMM and APG, particularly as the required accuracy increased.
- Massive Scale: The algorithm successfully processed the
log1pdataset, which contains over 4.2 million features. Such a scale was previously considered unreachable for clustered lasso problems due to the $O(n^2)$ nature of the original penalty. - Structural Recovery: On synthetic data, the model perfectly recovered underlying group structures across different correlation settings, confirming that the computational speedups do not compromise the statistical integrity of the results.
Conclusion
By bridging the gap between high-dimensional statistical theory and efficient numerical optimization, this work makes the clustered lasso a viable tool for modern big-data applications. The transition from $O(n^2)$ to $O(n \log n)$ complexity, combined with the robust SSNAL second-order solver, provides a scalable path for discovering latent group structures in massive datasets. Future work may extend these Hessian-based techniques to non-convex penalties and further automate the tuning of regularization parameters.
Summary updated