Robust Gradient-Based Markov Subsampling

Tieliang Gong, Quanhan Xi, Chen Xu

Abstract

Subsampling is a critical technique for processing massive datasets, yet traditional importance sampling methods often struggle in noisy environments by over-prioritizing outliers with high gradients. We present Robust Gradient-Based Markov Subsampling (GMS), a novel approach that utilizes a Metropolis-Hastings procedure to select samples with smaller gradients. By favoring these "quieter" data points, GMS provides more stable and accurate linear regression estimates. Empirical evaluations on synthetic and real-world datasets demonstrate that GMS significantly outperforms standard methods, particularly in high-noise and low-subsampling-ratio regimes.

Introduction

In the era of big data, processing every single observation is often computationally prohibitive. Subsampling offers a standard solution: select a representative subset, perform the analysis, and approximate the results of the full dataset. However, most existing methods rely on importance sampling, where "important" points—those with high leverage or high gradients—are prioritized. While effective for clean data, this strategy fails in noisy environments where high-gradient points are frequently outliers. Chasing these influential but noisy points leads to unstable and biased estimators. This paper introduces a robust subsampling routine designed to mitigate these issues.

Methodology: Gradient-Based Markov Subsampling (GMS)

The proposed Gradient-Based Markov Subsampling (GMS) departs from independent sampling by employing a Markov Chain Monte Carlo (MCMC) approach—specifically a Metropolis-Hastings procedure—to construct the subset.

The algorithm proceeds in three stages:

  1. Pilot Estimation: A crude initial estimate ($\beta_0$) is calculated using a small random subset.
  2. Gradient Calculation: The gradient of the loss function is computed for candidate points.
  3. Markov Subsampling: Unlike standard methods that seek the largest gradients, GMS uses an acceptance probability that favors points with smaller gradients.

The acceptance probability for a candidate sample $z^*$ given the current sample $z_t$ is defined as: $$p = \min\left(1, \frac{\|g_t\|}{\|g^*\|}\right)$$ where $g$ represents the gradient. This "conservative" selection ensures the subset consists of points likely to correct the pilot estimate toward the true signal without being derailed by massive, noisy outliers.

Comparison of GMS and GS on full vs. subsampled data. GMS (blue) remains robust to outliers that pull the GS estimate (green) away from the Oracle (red).

The intuition is that in linear regression, where the empirical loss is convex, points with small gradients provide "safe" improvements. Conversely, massive gradients often signal noise that would pull the estimate too far in the wrong direction. The authors prove that the GMS estimator is statistically consistent, achieving the optimal minimax convergence rate $O(\sqrt{d \log(d) / n_{sub}})$.

Experimental Results

The authors evaluated GMS against synthetic simulations (using Normal, Uniform, and Student-t noise distributions) and real-world datasets, including Online News Popularity ($n \approx 40k$), Poker Hands ($n \approx 25k$), and Wave Energy Converters ($n \approx 288k$).

Key findings include:

  • Robustness to Heavy-Tailed Noise: In simulations with Student-t noise, GMS significantly outperformed Leverage (LEV), Influence-based, and Uniform (UNIF) sampling.
  • Performance at Small Ratios: GMS excels when the subsampling ratio is extremely low (e.g., 0.1%). On the "Online News Popularity" dataset, GMS achieved an Estimation Error (EE) of 11.4, compared to 18.1 for Uniform and 36.4 for Gradient Sampling (GS).
  • Stability: Across multiple experimental runs, GMS demonstrated much lower variance in error rates than other informative sampling methods, which often produced erratic estimates due to outlier sensitivity.
Estimation Error (EE) across different subsampling methods for various datasets. GMS consistently achieves lower error and higher stability.

Discussion and Future Work

While GMS is robust, its performance can be influenced by the quality of the initial pilot estimate ($\beta_0$), though the authors show it is not overly dependent. Additionally, MCMC procedures involve a "burn-in" period and sequential sampling, which can introduce computational overhead compared to i.i.d. sampling. Future research will focus on accelerating this burn-in process and extending the GMS framework to more complex models, such as Ridge/Lasso regression or non-linear architectures.

Summary updated

BibTeX
@inproceedings{gong2020robust,
  author = {Tieliang Gong and Quanhan Xi and Chen Xu},
  title = {{Robust Gradient-Based Markov Subsampling}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5817},
}
Figure