A Unifying Framework for Sparsity-Constrained Optimization

Matteo Lapucci, Tommaso Levato, Francesco Rinaldi, Marco Sciandrone

Abstract

Sparsity-constrained optimization is a fundamental challenge in machine learning and signal processing due to its combinatorial and non-convex nature. This paper introduces a unifying theoretical framework based on discrete neighborhood mappings and a new optimality condition termed $\mathcal{N}$-stationarity. We present the Sparse Neighborhood Search (SNS) algorithm, which alternates between continuous gradient-based exploration and discrete neighborhood jumps. Empirical results on sparse logistic regression tasks demonstrate that SNS consistently achieves superior solution quality and faster convergence compared to existing state-of-the-art methods like Penalty Decomposition and Greedy Sparse-Simplex.

Introduction

In fields ranging from portfolio optimization to high-dimensional signal processing, the goal is often to minimize a loss function while ensuring the solution is sparse—meaning it contains few non-zero elements. Mathematically, this is expressed using the $L_0$ "norm," which counts non-zero entries. However, $L_0$ constraints are inherently combinatorial; selecting the optimal subset of features from a large pool is a non-convex problem with an exponential search space.

Traditional optimization techniques, which rely on smooth gradients, struggle with the discrete jumps required to change a model's support set (the indices of non-zero variables). While various algorithms and optimality conditions have been proposed, the field has lacked a unified theoretical lens to connect these disparate approaches. This work bridges that gap by introducing a framework that unifies existing conditions through the concept of discrete neighborhoods.

The Unifying Framework

The proposed framework rests on two primary pillars:

  1. Discrete Neighborhood Mapping ($\mathcal{N}$): Rather than viewing the support set as a static constraint, the framework defines a "neighborhood" of alternative support sets. For instance, a neighborhood might include all sets reachable by swapping one active variable for an inactive one (a Hamming distance approach).
  2. $\mathcal{N}$-stationarity: This new optimality condition defines a point as stationary if no improvement can be made by moving locally within the continuous space or by jumping to any support set within its defined discrete neighborhood.

This approach allows researchers to view many existing optimality conditions (such as S-stationarity or basic feasibility) as specific instances of $\mathcal{N}$-stationarity applied to different neighborhood types.

The Sparse Neighborhood Search (SNS) Algorithm

To operationalize this theory, the authors developed the Sparse Neighborhood Search (SNS) algorithm. SNS functions by alternating between two distinct phases:

  • Continuous Exploration: Utilizing a Projected-Gradient Line Search (PGLS), the algorithm optimizes the values of the currently active variables.
  • Neighborhood Exploration: The algorithm systematically checks "nearby" support sets. If a different set of active variables is found to yield a better objective value, the algorithm "jumps" to that new support.

Crucially, SNS employs "inexact" minimizations that increase in accuracy over time, significantly reducing the computational overhead compared to methods that require exact sub-problem solutions at every step.

Experimental Evaluation

The framework was evaluated using Sparse Logistic Regression on six binary classification datasets from the UCI Machine Learning Repository, including Heart (Statlog), Breast Cancer Wisconsin, and Spambase. These datasets varied in scale from 25 to 123 features and 194 to 4,601 samples.

Key Findings

  • Solution Quality: In performance profiles across 18 test cases, SNS consistently found lower objective values than the Penalty Decomposition (PD) and Greedy Sparse-Simplex (GSS) methods.
  • The Power of Swapping: The experiments highlighted that a neighborhood radius of $\rho=1$ (adding/removing one variable) is often insufficient for complex landscapes. Increasing the radius to $\rho \geq 2$ enables "swaps," allowing the algorithm to escape local minima that trap simpler greedy methods.
  • Efficiency and Scalability: SNS proved faster than GSS because it can move to the next iteration as soon as a "sufficiently good" improvement is found in the neighborhood, rather than exhaustively searching every possible move. This advantage became more pronounced as the sparsity constraint was relaxed and the combinatorial complexity increased.

Conclusion

By unifying sparsity-constrained optimization under the banner of $\mathcal{N}$-stationarity, this work provides a robust theoretical foundation for future algorithmic development. The SNS algorithm demonstrates that balancing continuous gradient descent with discrete neighborhood jumps offers a powerful path forward for high-dimensional sparse modeling. Future work will explore the application of this framework to highly non-convex landscapes, such as those found in deep learning.

Summary updated

BibTeX
@article{lapucci2023unifying,
  author = {Matteo Lapucci and Tommaso Levato and Francesco Rinaldi and Marco Sciandrone},
  title = {{A Unifying Framework for Sparsity-Constrained Optimization}},
  journal = {J. Optim. Theory Appl.},
  year = {2023},
  doi = {10.1007/s10957-023-02306-0},
}
Figure