Binary Kernel Logistic Regression: a sparsity-inducing formulation and a convergent decomposition training algorithm
Antonio Consolo, Andrea Manno, Edoardo Amaldi
TL;DR
This work tackles the sparsity challenge in Kernel Logistic Regression (KLR) by introducing a sparsity-inducing dual formulation that incorporates a primal slack variable $\rho$ and a sparsity penalty, yielding a bounded, convex dual with a direct link $\rho(\lambda)=\lambda$ to a dual hyperparameter. An SMO-type decomposition algorithm leveraging second-order information is developed to solve the dual efficiently, with global convergence guarantees under PSD kernels. Empirical results on 12 datasets show that the proposed Sparse KLR (S-KLR) achieves accuracy on par with SVM while using substantially fewer kernel terms, and outperforms Import Vector Machine (IVM) and $\ell_{1/2}$-KLR on sparsity-accuracy trade-offs; second-order WSS also reduces training time significantly. The approach preserves probabilistic class membership estimates and offers practical scalability through bounded duals and principled sparsity control, suggesting avenues for kernel caching, low-rank approximations, and multiclass extensions in future work.
Abstract
Kernel logistic regression (KLR) is a widely used supervised learning method for binary and multi-class classification, which provides estimates of the conditional probabilities of class membership for the data points. Unlike other kernel methods such as Support Vector Machines (SVMs), KLRs are generally not sparse. Previous attempts to deal with sparsity in KLR include a heuristic method referred to as the Import Vector Machine (IVM) and ad hoc regularizations such as the $\ell_{1/2}$-based one. Achieving a good trade-off between prediction accuracy and sparsity is still a challenging issue with a potential significant impact from the application point of view. In this work, we revisit binary KLR and propose an extension of the training formulation proposed by Keerthi et al., which is able to induce sparsity in the trained model, while maintaining good testing accuracy. To efficiently solve the dual of this formulation, we devise a decomposition algorithm of Sequential Minimal Optimization type which exploits second-order information, and for which we establish global convergence. Numerical experiments conducted on 12 datasets from the literature show that the proposed binary KLR approach achieves a competitive trade-off between accuracy and sparsity with respect to IVM, $\ell_{1/2}$-based regularization for KLR, and SVM while retaining the advantages of providing informative estimates of the class membership probabilities.
