Sparse Classification: a scalable discrete optimization perspective
Dimitris Bertsimas, Jean Pauphilet, Bart Van Parys
TL;DR
This paper reframes sparse classification as a binary convex optimization problem and introduces an exact, scalable cutting-plane algorithm to solve it, extending the approach to sparse logistic regression and sparse SVM. By leveraging a dual formulation and an enhanced outer-approximation scheme, the method achieves provably optimal sparse classifiers in high dimensions (up to tens of thousands of features) and exhibits favorable support-recovery behavior compared to Lasso, including sparser models with similar predictive power on real data. The authors establish an information-theoretic sufficient condition for recovery, showing that, under certain data-generating assumptions, a sample size threshold $n_0 < C(2+\sigma^2) k \log(p-k)$ suffices for reliable support recovery. Together, the empirical results and theory demonstrate that exact sparse classification can be both computationally tractable in practice and theoretically well-founded, offering a competitive and interpretable alternative to $\,\ell_1$-regularized methods in high-dimensional settings.
Abstract
We formulate the sparse classification problem of $n$ samples with $p$ features as a binary convex optimization problem and propose a cutting-plane algorithm to solve it exactly. For sparse logistic regression and sparse SVM, our algorithm finds optimal solutions for $n$ and $p$ in the $10,000$s within minutes. On synthetic data our algorithm achieves perfect support recovery in the large sample regime. Namely, there exists a $n_0$ such that the algorithm takes a long time to find the optimal solution and does not recover the correct support for $n<n_0$, while for $n\geqslant n_0$, the algorithm quickly detects all the true features, and does not return any false features. In contrast, while Lasso accurately detects all the true features, it persistently returns incorrect features, even as the number of observations increases. Consequently, on numerous real-world experiments, our outer-approximation algorithms returns sparser classifiers while achieving similar predictive accuracy as Lasso. To support our observations, we analyze conditions on the sample size needed to ensure full support recovery in classification. Under some assumptions on the data generating process, we prove that information-theoretic limitations impose $n_0 < C \left(2 + σ^2\right) k \log(p-k)$, for some constant $C>0$.
