Skip to main content
QUICK REVIEW

[Paper Review] A Differentiable Alternative to the Lasso Penalty

Hamed Haselimashhadi, Veronica Vinciotti|arXiv (Cornell University)|Sep 16, 2016
Statistical Methods and InferenceMathematics21 references4 citations
TL;DR

This paper introduces dlasso, a differentiable alternative to the lasso penalty that maintains sparsity while enabling smooth optimization. By using the error function to approximate the absolute value, dlasso ensures twice differentiability at zero—critical for efficient computation in non-linear models and accurate degrees of freedom estimation—while achieving performance comparable to lasso and elastic net across simulations and real data.

ABSTRACT

Regularized regression has become very popular nowadays, particularly on high-dimensional problems where the addition of a penalty term to the log-likelihood allows inference where traditional methods fail. A number of penalties have been proposed in the literature, such as lasso, SCAD, ridge and elastic net to name a few. Despite their advantages and remarkable performance in rather extreme settings, where $p \gg n$, all these penalties, with the exception of ridge, are non-differentiable at zero. This can be a limitation in certain cases, such as computational efficiency of parameter estimation in non-linear models or derivation of estimators of the degrees of freedom for model selection criteria. With this paper, we provide the scientific community with a differentiable penalty, which can be used in any situation, but particularly where differentiability plays a key role. We show some desirable features of this function and prove theoretical properties of the resulting estimators within a regularized regression context. A simulation study and the analysis of a real dataset show overall a good performance under different scenarios. The method is implemented in the R package DLASSO freely available from CRAN.

Motivation & Objective

  • Address the limitation of non-differentiable penalties like lasso in high-dimensional regression, particularly for non-linear models and model selection criteria.
  • Develop a penalty function that is differentiable at zero while preserving desirable properties such as sparsity and variable selection.
  • Provide a flexible alternative to lasso and ridge that can approximate both l1 and l2 penalties through a single tuning parameter.
  • Enable efficient parameter estimation and accurate degrees of freedom estimation in regularized regression via smooth optimization.
  • Demonstrate the method's robustness and competitiveness through simulation studies and real-world data analysis.

Proposed method

  • Propose a new penalty function: $ p(x,s) = x \cdot \text{erf}\left(\frac{x}{s}\right) $, where $ \text{erf} $ is the error function and $ s > 0 $ is a tuning parameter.
  • Ensure the penalty is twice differentiable everywhere, including at zero, by construction using the error function.
  • Use the asymptotic property $ \lim_{s \to 0} p(x,s) = |x| $ to allow the penalty to converge to the lasso as $ s \to 0 $, and to ridge as $ s \to \infty $.
  • Implement an efficient optimization algorithm leveraging the differentiability of the penalty for fast convergence in regularized regression.
  • Integrate the method into an R package, DLASSO, available on CRAN, supporting both tuned and fixed $ s $ values.
  • Compare the dlasso method with lasso, ridge, SCAD, elastic net, and OLS using cross-validation and BIC for tuning.

Experimental results

Research questions

  • RQ1Can a differentiable penalty function be constructed that approximates the lasso penalty while maintaining sparsity and variable selection?
  • RQ2How does the performance of the differentiable dlasso penalty compare to traditional non-differentiable penalties like lasso and SCAD in high-dimensional settings?
  • RQ3To what extent does the differentiability of the penalty improve computational efficiency in non-linear models or degrees of freedom estimation?
  • RQ4Does the dlasso method maintain competitive prediction and estimation accuracy across diverse simulation scenarios and real-world data?
  • RQ5Can the dlasso penalty effectively interpolate between lasso and ridge behavior through tuning of the parameter $ s $?

Key findings

  • The dlasso penalty is twice differentiable everywhere, including at zero, enabling smoother optimization and more accurate degrees of freedom estimation.
  • The dlasso method achieves prediction and estimation error performance comparable to lasso and elastic net across all simulated scenarios.
  • In the prostate cancer dataset, dlasso with $ s = 0.001 $ selected the same five predictors as lasso and elastic net, with better BIC than OLS and ridge.
  • The dlasso with $ s = 1 $ produced results similar to ridge, and with $ s = 100 $, it approximated OLS, confirming its flexibility in penalty behavior.
  • The simulation study showed that dlasso outperformed ridge and SCAD in terms of mean squared error, and matched or exceeded lasso and elastic net.
  • The log-approximation method (Equation 5) was found unstable in optimization and excluded from later simulations, highlighting the robustness of the dlasso approach.

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.