Abstract
Efficient implementations for Sorted L-One Penalized Estimation (SLOPE): generalized linear models regularized with the sorted L1-norm (Bogdan et al. 2015). Supported models include ordinary least-squares regression, binomial regression, multinomial regression, and Poisson regression. Both dense and sparse predictor matrices are supported. In addition, the package features predictor screening rules that enable fast and efficient solutions to high-dimensional problems.
Introduction
In high-dimensional statistics, the challenge of selecting a sparse set of predictors from a vast pool is a recurring theme. While the Lasso (L1-penalization) has long served as the industry standard, it possesses inherent limitations, particularly in its uniform treatment of all coefficients. This can lead to difficulties when dealing with highly correlated predictors or when trying to maintain a rigorous control over the False Discovery Rate (FDR).
The SLOPE R package (version 2.0.0) provides a high-performance implementation of Sorted L-One Penalized Estimation, a regularization technique that generalizes the Lasso by penalizing coefficients according to their rank. By utilizing a sequence of penalties $\lambda_1 \ge \lambda_2 \ge \dots \ge \lambda_p$, SLOPE allows for more nuanced regularization, enabling both feature selection and supervised clustering in high-dimensional generalized linear models (GLMs).
Methods and Optimization
The package implements SLOPE for several key GLMs, including Gaussian (Ordinary Least Squares), Binomial, Multinomial, and Poisson regressions. To solve the underlying convex minimization problems, the package offers three primary solvers:
- Proximal Gradient Descent (PGD): A standard first-order method.
- FISTA: An accelerated proximal gradient method for improved convergence.
- Hybrid Solver: Based on the work of Beck and Teboulle (2009), this is the default and typically fastest method for Gaussian and Binomial models.
Key Technical Features
- Predictor Screening: To handle "big data" scenarios, the package includes screening rules that identify and discard irrelevant predictors before the main optimization begins.
- Sparse Matrix Support: Efficiency is maintained for both dense and sparse predictor matrices via integration with the
Matrixpackage. - Automatic Penalty Sequences: Users can define custom $\lambda$ sequences or utilize pre-defined ones such as Benjamini-Hochberg (BH) for FDR control, or OSCAR for supervised clustering.
Key Insights: Clustering and FDR Control
One of the most distinctive properties of SLOPE is its ability to perform supervised clustering. By setting groups of coefficients to be exactly equal, the method automatically groups predictors that have a similar impact on the response variable. Furthermore, when the penalty sequence is constant ($\lambda_1 = \lambda_2 = \dots = \lambda_p$), SLOPE reduces to the Lasso, making it a true generalization of L1-regularization.
For researchers focused on error control, SLOPE provides theoretical guarantees for controlling the False Discovery Rate in orthogonal designs when using the Benjamini-Hochberg sequence for $\lambda$. The core computational logic is implemented in C++ via Rcpp and RcppEigen, ensuring scalability for production-level research.
Results and Implementation
The package provides a robust API for model training and diagnostics. The cvSLOPE and trainSLOPE functions automate the tuning of critical parameters, such as the overall scale of the penalty ($\alpha$) and the shape of the penalty sequence ($q$).
As shown in the cross-validation output structure above, the package returns comprehensive results including the optimal parameters, raw training data, and a summary of metrics with confidence levels. For extracting specific model parameters, the coef.SLOPE function offers several arguments to control the output scale and intercept inclusion.
Limitations and Future Work
While powerful, the package has some current limitations. The high-performance Hybrid solver is not yet available for multinomial models and is currently disabled for Poisson models due to convergence sensitivities. Additionally, while SLOPE excels in FDR control for orthogonal designs, its performance in cases of extreme multicollinearity remains an active area of research. Future refinements may focus on improving proximal operators for count data and expanding solver compatibility across all GLM types.
Summary updated