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

A Polynomial-time Algorithm for Online Sparse Linear Regression with Improved Regret Bound under Weaker Conditions

Junfan Li, Shizhong Liao, Zenglin Xu, Liqiang Nie · DOI

Introduction

In the landscape of high-dimensional machine learning, the Online Sparse Linear Regression (OSLR) problem presents a significant challenge: how can an agent make accurate predictions when only a fraction of data attributes are observable at any given time? This scenario is prevalent in domains where data acquisition is costly or restricted, such as medical diagnostics involving expensive tests or privacy-preserving data analysis where only non-sensitive attributes are accessible.

The objective in OSLR is to minimize "regret"—the cumulative difference between the algorithm's loss and that of the best $k$-sparse linear model in hindsight. While theoretically vital, OSLR is NP-hard in its general form. Previous polynomial-time solutions often relied on the Restricted Isometry Property (RIP), a stringent condition that is frequently violated in real-world datasets. This paper introduces DS-OSLRC, a novel algorithm that achieves tighter regret bounds under the more relaxed and realistic Compatibility Condition.

Methodology: The DS-OSLRC Framework

The DS-OSLRC algorithm integrates the Dantzig Selector—a staple of sparse signal recovery—into an online learning framework. To overcome the limitations of partial observability, the authors implement several key strategies:

1. History-Dependent Sampling

Unlike traditional methods that might sample attributes uniformly, DS-OSLRC utilizes an algorithm-dependent sampling scheme. It leverages the weight estimate from the previous round ($\hat{w}_{s-1}$) to construct a sampling distribution. This allows the algorithm to prioritize features that have demonstrated importance while maintaining a degree of randomness to ensure sufficient exploration of the feature space.

2. Exploration vs. Exploitation

The algorithm operates in distinct phases to balance model refinement with predictive accuracy:

  • Exploration Rounds: The algorithm employs the Dantzig Selector to refine its estimate of the true underlying model parameters.
  • Exploitation Epochs: Once a reliable set of features is identified, the algorithm uses a Batching Online Newton Step (BONS) to make rapid, accurate predictions based on the current best features.

3. Adaptive Parameter Tuning and Initialization

A common hurdle for the Dantzig Selector is the requirement of a threshold parameter ($\gamma_s$) that typically depends on unknown data characteristics. DS-OSLRC addresses this via a "guess-then-verify" induction method, allowing for on-the-fly parameter tuning. Furthermore, the algorithm uses a specific initialization for covariance matrices when transitioning between epochs, preventing regret spikes that often occur when changing the set of observed features.

Theoretical Insights

The primary theoretical contribution of this work is the shift from the Restricted Isometry Property (RIP) to the Compatibility Condition. The Compatibility Condition is a much broader property in high-dimensional statistics, making the algorithm's guarantees applicable to a wider range of practical scenarios where data features may be correlated.

The authors also provide a novel Regret Decomposition. By splitting the total regret into estimation error (stemming from the model recovery phase) and optimization error (stemming from the online prediction phase), they can apply specialized tools like the Online Newton Step to optimize each component independently.

Performance and Complexity

The mathematical analysis of DS-OSLRC yields several significant improvements over existing literature:

  • Tighter Regret Bounds: The algorithm significantly reduces the dependence on the total dimension $d$ and the smallest non-zero weight of the true model compared to previous state-of-the-art methods. It effectively turns massive constants into manageable values.
  • High-Probability Guarantees: While many online algorithms only offer "expected" regret bounds (average performance), DS-OSLRC provides high-probability bounds, ensuring robust performance across almost every individual run.
  • Computational Efficiency: The algorithm maintains polynomial-time complexity. Although it involves solving linear programs (LPs) during exploration, the average time complexity per iteration is dominated by faster $O(k^2)$ operations as the model matures.

Limitations and Future Directions

Despite its theoretical strengths, the reliance on linear programming may pose a bottleneck for extremely high-dimensional, real-time applications. Additionally, a small gap of $O(\sqrt{d})$ remains between the algorithm's upper bound and the theoretical lower bound for estimation error. Future research may focus on developing first-order methods that bypass LP solvers entirely while maintaining the strong regret guarantees established in this work.

Summary updated

BibTeX
@inproceedings{li2025polynomial,
  author = {Junfan Li and Shizhong Liao and Zenglin Xu and Liqiang Nie},
  title = {{A Polynomial-time Algorithm for Online Sparse Linear Regression with Improved Regret Bound under Weaker Conditions}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
  url = {https://openreview.net/forum?id=DcH9PqzsbF},
}
Figure