Two-Stage Adaptive Subsampling for Massive Datasets

This direction is split into other directions: two-stage adaptive sampling. Its last version stays readable and citable here.

Version 1 of 184 papers90 conceptsfrozen 2026-10-04

When datasets grow to millions or billions of observations, even standard statistical methods like logistic regression or Cox proportional hazards models become computationally prohibitive. The $O(Nd^2)$ cost of iterative optimization creates a bottleneck where memory and processing time, rather than statistical theory, limit our ability to learn from data.

The traditional solution is subsampling—selecting a smaller, manageable portion of the data to analyze. However, uniform random sampling is often statistically inefficient. It treats every data point as equally informative, even though in most models, a small fraction of the data (like rare events or points near a decision boundary) carries the bulk of the information.

Researchers have converged on a powerful alternative: Two-Stage Adaptive Subsampling. This framework breaks the circular dependency of "needing the model to find the best data, but needing the data to build the model."

The Circularity Problem

To sample "optimally," you need to know which points will most reduce the variance of your estimator. In Generalized Linear Models (GLMs), these optimal probabilities typically depend on the true model parameters $\beta$. But $\beta$ is exactly what we are trying to estimate.

If we sample uniformly, we waste computational budget on "quiet" data points that don't shift the needle. If we try to sample optimally, we can't because we don't know $\beta$.

The Two-Stage Solution

The core mechanism across this research area, championed by researchers like HaiYing Wang, Mingyao Ai, and Jun Yu, is a two-step adaptive procedure:

  1. The Pilot Phase: Take a very small, uniform "pilot" sample from the full dataset. Use this to calculate a preliminary, "blurry" estimate of the parameters.
  2. The Production Phase: Use the pilot estimate to calculate optimal inclusion probabilities for the rest of the data. A larger, targeted subsample is then drawn based on these probabilities to produce the final, high-precision estimate.

In Optimal Subsampling Algorithms for Big Data Generalized Linear Models, Mingyao Ai and colleagues show that this approach allows the final estimator to approximate the Maximum Likelihood Estimator (MLE) of the full dataset with high accuracy but at a fraction of the cost.

What Makes a Data Point "Optimal"?

The definition of "informative" varies depending on the goal, leading to different flavors of adaptive sampling:

Handling Rare Events and Noise

The two-stage framework is particularly effective for "imbalanced" data. In survival analysis, where the event of interest (like a machine failure) is rare, Nir Keret demonstrates in Optimal Cox Regression Subsampling Procedure with Rare Events that keeping all rare events and optimally subsampling the common "censored" observations maintains statistical power while slashing processing time.

However, aggressive importance sampling can be sensitive to outliers. To counter this, Tieliang Gong introduced Robust Gradient-Based Markov Subsampling in Robust Gradient-Based Markov Subsampling. Instead of just picking high-gradient points (which might be noise), this method uses a Metropolis-Hastings approach to select a stable, representative subset.

Beyond Simple Regressions

While much of the foundational work focuses on GLMs, the two-stage adaptive logic is being applied to increasingly complex domains:

Why It Works: The Intuition

The reason two-stage sampling works is that information is not distributed uniformly across a dataset. In a massive dataset, most points are redundant. The pilot phase acts as a "scout," identifying the regions of the data space that are most critical for the specific model being fit. By concentrating the computational effort on these high-information points, we can achieve the statistical precision of "Big Data" with the computational footprint of "Small Data."

Papers in this version

Showing 60 of 84 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_two_stage_adaptive_subsampling_for_massi_ba74ae07,
  title = {Two-Stage Adaptive Subsampling for Massive Datasets},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/two-stage-adaptive-subsampling-for-massive-datasets/rdr_ba74ae076a4046a4aacbf25c244c32a7},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-02},
}

This exact version (version 1, frozen text):

@misc{lacuna_two_stage_adaptive_subsampling_for_massi_ba74ae07_v1,
  title = {Two-Stage Adaptive Subsampling for Massive Datasets},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/two-stage-adaptive-subsampling-for-massive-datasets/rdr_ba74ae076a4046a4aacbf25c244c32a7/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-02},
}