Abstract
Fitting Generalized Linear Models (GLMs) to massive datasets presents significant computational challenges, as standard iterative optimization methods scale poorly with sample size. This paper extends the Optimal Subsampling Method under the A-optimality Criterion (OSMAC) framework to the broader class of GLMs with canonical link functions. By deriving optimal subsampling probabilities under A- and L-optimality criteria, the authors provide a method to approximate Maximum Likelihood Estimators (MLE) with high precision using only a fraction of the data. The research establishes the consistency and asymptotic normality of these estimators and introduces an adaptive two-step algorithm to implement the method in practice.
Introduction
In the era of big data, the volume of information often outpaces the computational resources available for traditional statistical analysis. Generalized Linear Models (GLMs), such as Poisson or Negative Binomial regression, are workhorses of data science but become prohibitively expensive to compute when the number of observations ($n$) reaches the millions. Standard optimization techniques like the Newton-Raphson method require $O(p^2n)$ time per iteration, where $p$ is the number of features.
While subsampling—selecting a subset of the data to perform calculations—is a natural solution, uniform sampling often fails to capture the most informative data points. This paper addresses the need for "optimal" subsampling strategies that prioritize data points based on their contribution to the model's precision.
The OSMAC Framework for GLMs
The authors propose the OSMAC (Optimal Subsampling Method under A-optimality Criterion) framework. The core innovation lies in assigning each data point $i$ a specific sampling probability $\pi_i$ that reflects its "information" content.
Weighted Likelihood and Optimality
To ensure the resulting estimator is unbiased, the subsampled data is analyzed using an inverse-probability weighted log-likelihood function. The paper focuses on two primary strategies for determining $\pi_i$:
- $mV$ (A-optimality): This strategy aims to minimize the asymptotic Mean Squared Error (MSE) of the estimator. While highly accurate, calculating these probabilities requires $O(np^2)$ time, which can still be demanding for very large $p$.
- $mVc$ (L-optimality): A more computationally efficient alternative, $mVc$ minimizes the variance of the linear predictor. It requires only $O(np)$ time, offering a significant speedup for high-dimensional datasets while maintaining high accuracy.
The optimal probabilities are found to be proportional to the norm of the gradient of the log-likelihood. Intuitively, the algorithm prioritizes "surprising" data points—those where the current model's predictions deviate most from the observed data—or points with high leverage.
The Adaptive Two-Step Algorithm
A practical challenge in optimal subsampling is that the "optimal" probabilities $\pi_i$ depend on the true parameter $\beta$, which is exactly what the researcher is trying to estimate. To resolve this circularity, the authors develop a two-step adaptive approach:
- Pilot Phase: A small, uniform subsample is taken to obtain a preliminary estimate of $\beta$.
- Optimal Phase: This preliminary estimate is used to calculate the optimal $mV$ or $mVc$ probabilities for a larger, main subsample.
To ensure robustness, the authors introduce a truncation threshold ($\delta$). This prevents extremely small sampling probabilities from causing excessive variance in the final estimator, a common pitfall in importance sampling.
Theoretical and Empirical Results
The paper provides rigorous statistical guarantees, proving the consistency and asymptotic normality of the subsample estimator. Using Frobenius norm matrix concentration inequalities, the authors demonstrate that the required subsample size $r$ should generally scale with the number of features $p$. This provides a theoretical justification for the heuristic that more complex models require proportionally larger subsamples.
Simulation and Real-World Performance
The framework was tested against synthetic datasets (Poisson and Negative Binomial regressions) and the Million Song Dataset ($n = 205,032$). Key findings include:
- Superior Accuracy: Both $mV$ and $mVc$ strategies consistently outperformed uniform sampling and standard leverage-based sampling in terms of empirical MSE.
- Efficiency: The $mVc$ strategy emerged as a highly practical "sweet spot," providing accuracy comparable to $mV$ with significantly lower computational overhead.
- Scalability: On the Million Song Dataset, the optimal subsampling approach converged to the full-data MLE much faster than traditional methods, effectively handling the over-dispersion inherent in music play-count data.
Conclusion
This research provides a robust mathematical foundation for downsizing big data without sacrificing statistical integrity. By moving beyond uniform sampling to an information-theoretic approach, the OSMAC framework allows for the efficient fitting of GLMs on massive scales. Future work may extend these results to high-dimensional settings where $p$ grows with $n$, and further refine the selection of hyperparameters like the truncation threshold $\delta$.
Summary updated