Abstract
Active regression considers a linear regression problem where the learner receives a large number of data points but can only observe a small number of labels. Since online algorithms can deal with incremental training data and take advantage of low computational cost, we consider an online extension of the active regression problem: the learner receives data points one by one and immediately decides whether it should collect the corresponding labels. The goal is to efficiently maintain the regression of received data points with a small budget of label queries. We propose novel algorithms for this problem under $\ell_p$ loss where $p \in [1,2]$. To achieve a $(1+\epsilon)$-approximate solution, our proposed algorithms only require $\tilde{\mathcal{O}}(\epsilon^{-1} d \log(n\kappa))$ queries of labels, where $n$ is the number of data points and $\kappa$ is a quantity, called the condition number, of the data points. The numerical results verify our theoretical results and show that our methods have comparable performance with offline active regression algorithms.
Introduction
In classical linear regression, we typically assume access to a complete matrix of features $A$ and a corresponding vector of labels $b$. However, modern data science faces two significant bottlenecks: labels are often expensive to acquire, and data frequently arrives in high-volume streams that exceed memory capacity. While Active Learning addresses the cost of labels and Online Learning addresses the sequential nature of data, few frameworks have successfully integrated both for regression tasks.
This paper introduces the first algorithms for Online Active Regression. In this setting, data points arrive one by one, and the learner must decide immediately whether to query the label for the current point. The objective is to maintain a high-quality regression model for $\ell_p$ norms (where $p \in [1, 2]$) using a label budget that scales only logarithmically with the total number of data points. This range of $p$ is particularly relevant as $\ell_2$ (least squares) is the industry standard, while $\ell_1$ provides essential robustness against outliers.
Methodology: Online Lewis Weight Sampling
The core of the proposed approach is the utilization of Lewis weights, which serve as a measure of a data row's "importance" relative to the rest of the matrix. By sampling rows according to these weights, one can construct a small "sketch" or coreset of the dataset that preserves the properties of the original matrix for regression purposes.
Online Lewis Weights
Calculating Lewis weights traditionally requires seeing the entire dataset. The authors define and utilize online Lewis weights, where the importance of the $i$-th row is calculated based only on the rows observed up to that point. A critical theoretical insight is the monotonicity of these weights for $p \in [1, 2]$: the online weight is always an upper bound of the final offline weight. This ensures that the algorithm does not prematurely discard rows that will prove important as more data arrives.
Compression and Multi-Stage Sampling
To make this computationally feasible for streaming data, the authors propose a recursive compression technique. Using a tree-like structure of sampled submatrices, the algorithm approximates weights efficiently in both time and space. For the $p \in (1, 2]$ case, a multi-stage sampling process is employed:
- Initial Approximation: The algorithm first obtains a constant-factor approximation of the solution.
- Refinement: Additional samples are then used to refine this into a $(1+\epsilon)$-accurate solution.
Key Theoretical Results
The proposed algorithms achieve $(1+\epsilon)$-accuracy with a query complexity of $\tilde{\mathcal{O}}(\epsilon^{-1} d \log(n\kappa))$, where $d$ is the dimension and $\kappa$ is the condition number. This result is significant because the label budget is only a logarithmic factor worse than the best known offline algorithms, suggesting that the "penalty" for processing data sequentially is remarkably small. Furthermore, the algorithms are sublinear in space, allowing them to process massive datasets that cannot fit into standard RAM.
Experimental Evaluation
The researchers validated their approach using both synthetic and real-world datasets:
- Synthetic Data: High-dimensional Gaussian vectors ($n=10,000, d=100$) were used to test the algorithm's ability to identify "important" points in datasets with non-uniform Lewis weights.
- Real-world Data: The Gas Sensor Array Drift Dataset (UCI Machine Learning Repository) was utilized. This dataset contains over 13,000 chemical gas measurements with 128 features. In this context, labels represent concentration levels—data that is naturally expensive to obtain in real-world sensing environments.
In both scenarios, the Online Active approach significantly outperformed uniform sampling. For $\ell_1$ regression, the online algorithm performed nearly as well as offline active regression algorithms, despite the much stricter memory and timing constraints of the online setting.
Conclusion and Future Work
This work provides a robust framework for regression in label-constrained, streaming environments. However, two primary challenges remain for future research. First, the current proofs rely on the monotonicity of Lewis weights, a property that fails for $p > 2$ (including the $\ell_\infty$ norm). Second, while the compression algorithm is efficient, the computational overhead of calculating Lewis weights is higher than simple uniform sampling, which may be a factor in ultra-high-speed streaming applications. Future work will focus on reducing the dependence on the condition number $\kappa$ and extending these techniques to higher norms.
Summary updated