GPU-friendly and Linearly Convergent First-order Methods for Certifying Optimal $k$-sparse GLMs

Jiachang Liu, Andrea Lodi, Soroosh ShafieearXiv 2026

TL;DR

This paper introduces a highly scalable, GPU-friendly first-order optimization framework to certify global optimality for sparse generalized linear models (GLMs). By reformulating perspective relaxations into a composite form and introducing a novel duality gap-based restart scheme, the authors achieve provable linear convergence and orders-of-magnitude speedups over state-of-the-art commercial solvers.

What Problem Does This Paper Address?

Sparsity is a highly desirable property in machine learning and statistics because it yields interpretable models and prevents overfitting. This is typically enforced via a cardinality constraint ($\|\beta\|_0 \le k$). However, finding the globally optimal solution to these exact $k$-sparse GLMs is an NP-hard problem.

While Branch-and-Bound (BnB) frameworks can guarantee global optimality by using "perspective relaxations" to compute tight lower bounds, solving these relaxations at every node of a massive search tree is a massive computational bottleneck. Traditional approaches rely on Interior Point Methods (IPMs), which scale poorly (cubic complexity) and cannot easily leverage modern GPU parallelism. Existing first-order alternatives avoid this cubic scaling but suffer from slow, sublinear convergence rates, making it painfully slow to obtain the tight, safe lower bounds needed to prune the BnB tree.

Methods

The authors tackle these challenges by redesigning the optimization pipeline from the ground up:

  1. Composite Reformulation: They recast the perspective relaxation as an unconstrained convex composite optimization problem, introducing a novel non-smooth regularizer implicitly defined by the perspective function.
  2. Geometric Analysis & Restart Scheme: They uncover a fundamental geometric symmetry: the primal problem satisfies a quadratic growth condition, while the dual problem satisfies a quadratic decay condition. Exploiting this, they propose a novel duality gap-based restart scheme. By monitoring the Fenchel duality gap and dynamically restarting accelerated proximal methods (like FISTA) when the gap shrinks by a fixed factor, they upgrade standard sublinear methods to achieve provable linear convergence rates.
  3. Log-Linear Subroutines: Instead of calling generic, expensive conic solvers, they derive specialized algorithms to evaluate the implicit regularizer and its proximal operator exactly in log-linear time. The proximal operator is elegantly solved by mapping it to a generalized isotonic regression problem via the Pool Adjacent Violators Algorithm (PAVA).
  4. GPU Acceleration: Because these custom subroutines bypass complex conic subproblems, the remaining computational bottleneck consists almost entirely of matrix-vector multiplications, which parallelize perfectly on GPUs.

Datasets

The framework was rigorously evaluated on both synthetic and real-world benchmarks:

  • Synthetic Datasets: Generated for both linear and logistic regression tasks, with feature dimensions ($p$) scaled up to 102,400.
  • Santander Customer Transaction Prediction: A real-world dataset used to evaluate linear regression performance ($n = 4,459$, $p = 4,735$).
  • DOROTHEA: A high-dimensional real-world drug discovery dataset used to evaluate logistic regression performance ($n = 2,300$, $p = 89,989$).

Key Insights and Ideas

  • Primal-Dual Curvature Symmetry: The authors prove that primal quadratic growth directly implies dual quadratic decay. This structural relationship means the duality gap acts as a sharp, computable proxy for the true distance to the optimal solution set.
Figure 1: Illustration of quadratic growth for the primal objective Φ(β) and quadratic decay for the dual objective Ψ(ζ).
  • Duality Gap as a Restart Trigger: While most traditional restart schemes rely purely on primal objective values, using the duality gap provides a rigorous certificate of both primal and dual convergence simultaneously—exactly what is required to compute safe lower bounds for BnB pruning.
  • Bypassing Conic Solvers: Showing that an implicit perspective regularizer can be evaluated exactly via sorting and simple index searches (log-linear time) completely changes the practicality of perspective relaxations, transforming them from a theoretical ideal into a computationally viable tool.

Key Results

  • Subroutine Speed: The custom log-linear algorithms achieve a three-orders-of-magnitude speedup for function evaluation and a two-orders-of-magnitude speedup for computing proximal operators compared to commercial solvers like Gurobi and MOSEK.
  • Root Relaxation Speed: For solving the initial root relaxation, the proposed method is over an order of magnitude faster than the fastest conic solver (MOSEK).
  • Branch-and-Bound Efficiency: When integrated into a full BnB tree, the method outperforms Gurobi and MOSEK by 1 to 2 orders of magnitude in total runtime. On large instances where baseline solvers timed out (7,200 seconds) or ran out of memory, this method consistently closed the optimality gap to 0%.
  • GPU Boost: Utilizing an NVIDIA A100 GPU reduced lower-bound computation time by an additional order of magnitude on high-dimensional datasets ($p \ge 8,000$).

Limitations and Future Work

  • Amortized GPU Overhead: On smaller problem instances, the overhead of transferring data between the CPU and GPU outweighs the parallelization benefits, making the GPU implementation slower than the CPU version for low dimensions.
  • Partial GPU Integration: The current BnB implementation is not entirely GPU-native; tasks like tree management and feasible-solution searches remain CPU-bound. Developing a fully GPU-native BnB framework is highlighted as an open direction to unlock even greater scalability.

Summary updated

BibTeX
@misc{liu2026gpu,
  author = {Jiachang Liu and Andrea Lodi and Soroosh Shafiee},
  title = {{GPU-friendly and Linearly Convergent First-order Methods for Certifying Optimal $k$-sparse GLMs}},
  year = {2026},
  eprint = {2603.01306},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.01306},
}
Figure