L1-penalized logistic regression minimizes empirical logistic loss plus . Its subgradient optimality conditions set each logistic score coordinate equal to , where off zero and at zero.
The scalar logistic loss is strictly convex because its second derivative is . If and are minimizers but , strict convexity of the loss as a function of the fitted vector and convexity of the L1 norm make the objective at their midpoint strictly smaller than the common minimum. This contradiction proves that
for every pair of solutions.
A binary logistic regression sets
and classifies by the sign of . Its unpenalized maximum-likelihood estimator minimizes the empirical logistic loss
The plotted data are complete separation data: there is a vector with every signed margin . For every finite , increasing strictly decreases each term of , and as . No finite parameter attains zero, so the unpenalized optimization has no solution.
Adding an penalty with , constraining , or using a finite stopping rule makes the problem attain a finite approximate solution. The penalized option is preferable because cross-validation can select the strength of regularization.
The hypothesis class and margin loss are
and
Thus this is a positive semidefinite quadratic-form classifier with logistic loss. Its empirical risk, viewed as a function of the matrix parameter, is
Differentiating under the sum shows that
Hence the displayed is exactly , and the algorithm is projected gradient descent on the positive semidefinite trace ball.
The scalar factor multiplying each lies in . Since
we have the uniform gradient bound
Let parametrize the empirical minimizer . Positive semidefiniteness gives
Thus the initial distance from to is at most , while the gradient bound is .
The averaged projected-gradient bound, in its slightly looser form
applies because is convex. Choose
Substitution gives