NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sparsity-Constraint Optimization via Splicing Iteration

Zezhi Wang, Jin Zhu, Junxian Zhu, Borui Tang, Hongmei Lin, Xueqin Wang · OpenReview

Abstract

Sparsity-constraint optimization is a fundamental challenge in signal processing, statistics, and machine learning. While existing fast algorithms offer solutions, they often require burdensome parameter tuning—such as step sizes or precise stopping criteria—that can be difficult to determine in practice. To address these limitations, we introduce Sparsity-Constraint Optimization via sPlicing itEration (SCOPE), an algorithm designed to optimize nonlinear objective functions under sparsity constraints. SCOPE operates by iteratively swapping variables in and out of the active set based on objective function values, achieving a linear convergence rate and guaranteed support recovery without the need for manual parameter tuning. Empirical results demonstrate that SCOPE provides a 10–1000x speedup over standard exact solvers and a 10x speedup over common convex relaxation methods, making it a powerful tool for high-dimensional feature selection.

Introduction

In modern data science, the goal is often to find the simplest model that accurately explains observed data. Mathematically, this is formulated as minimizing an objective function $f(\theta)$ subject to a sparsity constraint: $\|\theta\|_0 \le s$, where $s$ is the maximum number of non-zero variables. This $L_0$-constrained optimization is the "holy grail" of feature selection, yet it remains notoriously difficult because the $L_0$ norm is non-convex and discontinuous, rendering the problem NP-hard.

Historically, researchers have navigated this difficulty through three primary avenues:

  1. Convex Relaxation (e.g., Lasso): Replacing the $L_0$ norm with the $L_1$ norm. While computationally efficient, this requires tuning a regularization parameter ($\lambda$) and often fails to recover the exact support set.
  2. Greedy and Hard Thresholding Methods (e.g., IHT, GraHTP): These are fast iterative methods but are highly sensitive to hyperparameters like step size.
  3. Exact Solvers (Mixed-Integer Optimization): These guarantee accuracy but suffer from exponential computational complexity as the number of variables ($p$) increases.

SCOPE bridges these gaps by providing an algorithm that matches the speed of greedy methods and the accuracy of exact solvers, all while remaining "tuning-free."

The SCOPE Algorithm

The core innovation of SCOPE is the splicing iteration. Rather than relying on continuous gradient descent alone, SCOPE iteratively swaps "irrelevant" variables currently in the model with "relevant" variables currently outside of it.

The Splicing Mechanism

SCOPE identifies relevance through two distinct measures:

  • For variables in the current set: Relevance is determined by their magnitude.
  • For variables outside the set: Relevance is determined by the magnitude of the gradient of the objective function.

Unlike previous splicing approaches that might swap a fixed number of variables, SCOPE tests multiple swap sizes ($k$) and selects the one that yields the greatest decrease in the objective function. This objective-guided approach allows the algorithm to converge naturally without requiring a manually tuned step size or complex stopping criteria.

Implementation

To ensure high performance, the authors developed skscope, an open-source Python package with a C++ backend. This implementation allows users to solve complex sparse optimization problems with the ease of a high-level library while maintaining the execution speed of compiled code.

Theoretical Foundations

SCOPE is supported by rigorous theoretical guarantees that distinguish it from heuristic greedy methods:

  • Linear Convergence: The authors prove that SCOPE converges at a linear rate, even for non-convex objective functions. This theoretical efficiency explains the massive speedups observed in practice.
  • Support Recovery: Under conditions of Restricted Strong Convexity (RSC) and Restricted Strong Smoothness (RSS), SCOPE is guaranteed to perfectly identify the true set of non-zero variables.
  • Robustness: Many sparse algorithms depend on the Restricted Isometry Property (RIP), which is often too stringent for real-world datasets. SCOPE provides parallel theoretical results that do not rely on RIP-type conditions, showing that by slightly relaxing the sparsity level ($s$), the algorithm can still accurately identify the true support set.

Empirical Results

The performance of SCOPE was evaluated across three classic sparse optimization tasks: Compressed Sensing, Sparse Classification (logistic regression), and Sparse Ising Models (recovering Markov network structures for binary variables).

Key Findings

  • Computational Efficiency: SCOPE achieved a 10–1000x speedup over Gurobi, the industry-standard exact solver.
  • Comparison to Lasso: When compared to the popular cvxpy library using Lasso relaxation, SCOPE demonstrated a 10-fold speedup and typically required fewer samples to achieve perfect support recovery.
  • Structural Accuracy: In the Sparse Ising Model task, SCOPE recovered the underlying graph structure with perfect accuracy in scenarios where competing methods like GraSP or GraHTP either failed or required extensive hyperparameter tuning to succeed.

Conclusion and Future Work

SCOPE represents a significant advancement in sparse optimization, offering a robust, tuning-free alternative to traditional solvers. By leveraging objective-guided splicing, it provides a unique combination of theoretical rigor and practical speed.

While SCOPE requires a maximum splicing size ($k_{max}$), it is significantly more robust than methods requiring continuous parameter tuning. Future research may extend this splicing technique to other forms of structured sparsity, such as group sparsity or trend filtering, further expanding the versatility of the skscope framework.

Summary updated

BibTeX
@misc{wang2024sparsity,
  author = {Zezhi Wang and Jin Zhu and Junxian Zhu and Borui Tang and Hongmei Lin and Xueqin Wang},
  title = {{Sparsity-Constraint Optimization via Splicing Iteration}},
  year = {2024},
  eprint = {2406.12017},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.12017},
}
Figure