Docsity

L1-Norm Regularization: A Comparison of L2 and L1 Regularization for Linear Models - Prof., Study notes of Computer Science

Partial preview of the text

Download L1-Norm Regularization: A Comparison of L2 and L1 Regularization for Linear Models - Prof. and more Study notes Computer Science in PDF only on Docsity!

L1-norm Regularization

CSE 291 4.2007^ Y. Albert Park

^ Overview Least Squares Problem

  Logistic Regression ProblemL2-Regularization

   L1-RegularizationProposed Algorithm basicsSummary

^ Least Squares Problem Motive : Wish to find vector x which best predicts

the given set of observationsusing a linear model. y from base data A,

x ... ... ... ... ...

12 ... 1564. 00 ... 77931416.^10.

6 BP^ D/day days obesity^ age smoke y = A x

^ Least Squares Problem Using a linear model y = Ax + v, where w ∈

Rthe vector of unknowns, andnoise andm^ is the vector of observations, A ∈ Rmxn , v ∈ xR ∈m is theRn^ is

 we wish to findfunction : || Ax – x ywhich minimizes the loss || 2

^ L2-Regularization Regularization term :

 For LSP, this becomes ^ Minimize  Regularization term restricts large value componentsis the regularization parameter

   Special case of Tikhonov regularizationCan be computed directly (Or can use iterative methods (method) O(ne.g. (^3) ) ) conjugate gradients

 For LRP, this becomes   MinimizeSmooth and convex, can be solved using gradientdescent, steepest descent, Newton, quasi-Newton,

truncated Newton, CG methods

λ x^222

Ax −y^2 + Fx 2

lavg( v,x )+ λx^22

^ L1-Regularization Regularization term :

    LSP :LRP :The regularization term penalizes all factors equallyThis makes the x SPARSE

 ^ Non-differentiable -> harder problem^ A sparseCan be viewed as a selection of relevant/importantfeatures^ x^ means reduced complexity

  Can transform into convex quadratic problem  and use standard convex optimization methods to solve,but these usually cannot handle large practical problems minimizesubject to

lavgAx( v−,yx )^2 ++ λFxx 122 +^ λ^ λ^ x^ x^11

−Axu i −≤yxi^2 ≤+uiFx, i^22 =^ + 1 λ,...,^ ∑i=^ n^1 nui

Effects of L1-Regularization

^ L1-Regularization Usage

 Signal Processing    basis pursuitcompressed sensingsignal recovery

 Statistics  ^ wavelet thresholdingLasso algorithmfused Lasso

 Others    decoding linear codesgeophysics problemsmaximum likelihood estimation

Efficiency of TNIPM

^ Summary L2-Regression suppresses over-fitting

  L2-Regression does not add too much complexityto existing problems -> easy to calculateL1-Regression creates sparse answers, and

 better approximations in relevant casesneed other ways of solving problem (usingL1-Regression problems are not differentiable ->

convex optimization techniques, iterativeapproaches, etc.)