NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

dfr: Dual Feature Reduction for SGL

Fabio FeserOpenalex Unknown 2024 · OpenAlex

Abstract

Implementation of the Dual Feature Reduction (DFR) approach for the Sparse Group Lasso (SGL) and the Adaptive Sparse Group Lasso (aSGL) (Feser and Evangelou (2024) doi:10.48550/arXiv.2405.17094). The DFR approach is a feature reduction approach that applies strong screening to reduce the feature space before optimisation, leading to speed-up improvements for fitting SGL (Simon et al. (2013) doi:10.1080/10618600.2012.681250) and aSGL (Mendez-Civieta et al. (2020) doi:10.1007/s11634-020-00413-8 and Poignard (2020) doi:10.1007/s10463-018-0692-7) models. DFR is implemented using the Adaptive Three Operator Splitting (ATOS) (Pedregosa and Gidel (2018) doi:10.48550/arXiv.1804.02339) algorithm, with linear and logistic SGL models supported, both of which can be fit using k-fold cross-validation. Dense and sparse input matrices are supported.

Introduction: The Challenge of High-Dimensional Grouped Data

In modern statistical analysis, researchers frequently encounter high-dimensional datasets where predictors exhibit a natural grouping structure. For instance, in genomics, genes often function within specific biological pathways. The Sparse Group Lasso (SGL) is a powerful regularization technique designed for these scenarios. It promotes "bi-level sparsity" by simultaneously performing group selection (zeroing out entire groups) and within-group variable selection.

Despite its utility, fitting SGL models is computationally intensive as the number of features ($p$) and observations ($n$) scales. Traditional optimization algorithms must iterate over the entire feature space, which is inefficient when the final model is expected to be highly sparse. The dfr package addresses this bottleneck by implementing a screening framework that identifies and discards irrelevant features early in the optimization process.

Methods: Dual Feature Reduction and ATOS

The core innovation of the dfr package is the Dual Feature Reduction (DFR) approach. DFR serves as a high-performance pre-processing filter that prunes the feature space before the main optimization begins.

Two-Layer Screening

The DFR mechanism utilizes a two-step screening process based on the dual norm (specifically the $\epsilon$-norm) and Karush-Kuhn-Tucker (KKT) conditions. It first identifies entire groups unlikely to be active at a specific regularization level ($\lambda$). Subsequently, it performs a second pass to screen individual variables within the remaining candidate groups. This hierarchical approach ensures that the optimization engine focuses only on a minimal subset of potentially active predictors.

Core input parameters for the dfr package fitting functions.

Optimization via ATOS

Following feature reduction, the package employs the Adaptive Three Operator Splitting (ATOS) algorithm. ATOS is uniquely suited for SGL because it efficiently handles the combination of a smooth loss function (such as least squares for linear regression or log-likelihood for logistic regression) and multiple non-smooth penalty terms (the $\ell_1$ and $\ell_2$ norms).

Key Features and Results

The dfr package provides a robust implementation for both linear and logistic regression. It also supports the Adaptive SGL (aSGL), which uses data-driven weights to mitigate the estimation bias common in standard Lasso penalties.

Comprehensive Metadata and Diagnostics

One of the standout features of the package is the depth of information returned by its fitting functions. Beyond the estimated coefficients (beta), the package provides detailed metadata regarding the screening process. This includes the "screen set" (variables kept after screening) and explicit tracking of KKT violations, which serves as a diagnostic tool to ensure the screening heuristics did not inadvertently discard relevant features.

Comprehensive output structure including screening metadata and KKT violation tracking.

Efficiency and Pathwise Optimization

By leveraging "warm starts"—using the solution from one $\lambda$ value as the starting point for the next—dfr efficiently computes the entire regularization path. This pathwise optimization, combined with DFR screening, results in significant speed-ups compared to standard SGL implementations.

Conclusion

The dfr package offers a high-performance solution for fitting sparse group models in high-dimensional settings. While the performance of SGL and aSGL remains sensitive to hyperparameter selection (e.g., the balance parameter $\alpha$), the inclusion of automated $k$-fold cross-validation tools (dfr_sgl.cv) helps streamline the model selection process. Future developments may expand the screening framework to include "safe" rules with theoretical guarantees or support for additional loss functions like Cox proportional hazards.

Summary updated

BibTeX
@inproceedings{feser2024dfr,
  author = {Fabio Feser},
  title = {{dfr: Dual Feature Reduction for SGL}},
  booktitle = {Openalex Unknown},
  year = {2024},
  doi = {10.32614/cran.package.dfr},
}
Figure