Skip to main content
QUICK REVIEW

[Paper Review] Why resampling outperforms reweighting for correcting sampling bias with stochastic descents

Jing An, Lexing Ying|arXiv (Cornell University)|May 3, 2021
Machine Learning and AlgorithmsComputer Science32 references1 citations
TL;DR

This paper explains why resampling outperforms reweighting in correcting sampling bias when using stochastic gradient descent, attributing the improvement to superior dynamical stability and stochastic asymptotic properties. It demonstrates through theoretical analysis and experiments across regression, classification, and off-policy prediction that resampling yields better generalization due to its favorable interaction with optimization dynamics.

ABSTRACT

A data set sampled from a certain population is biased if the subgroups of the population are sampled at proportions that are significantly different from their underlying proportions. Training machine learning models on biased data sets requires correction techniques to compensate for the bias. We consider two commonly-used techniques, resampling and reweighting, that rebalance the proportions of the subgroups to maintain the desired objective function. Though statistically equivalent, it has been observed that resampling outperforms reweighting when combined with stochastic gradient algorithms. By analyzing illustrative examples, we explain the reason behind this phenomenon using tools from dynamical stability and stochastic asymptotics. We also present experiments from regression, classification, and off-policy prediction to demonstrate that this is a general phenomenon. We argue that it is imperative to consider the objective function design and the optimization algorithm together while addressing the sampling bias.

Motivation & Objective

  • To understand why resampling consistently outperforms reweighting in practice despite their statistical equivalence in objective function design.
  • To analyze the underlying optimization dynamics that cause resampling to generalize better than reweighting under stochastic gradient descent.
  • To demonstrate that the performance gap is not model-specific but a general phenomenon across regression, classification, and off-policy prediction tasks.
  • To argue that objective function design and optimization algorithm choice must be jointly considered when addressing sampling bias.

Proposed method

  • The authors use tools from dynamical stability and stochastic asymptotics to analyze the behavior of stochastic gradient descent on biased data sets corrected via resampling versus reweighting.
  • They construct illustrative examples to contrast the optimization trajectories and convergence properties of resampling and reweighting.
  • The analysis focuses on how the choice of correction method affects the stability and variance of gradient updates during training.
  • Experiments are conducted across multiple learning tasks—regression, classification, and off-policy prediction—to validate theoretical findings.
  • The study compares generalization performance and convergence behavior under identical objective functions but different correction mechanisms.

Experimental results

Research questions

  • RQ1Why does resampling outperform reweighting in practice despite both methods being statistically equivalent in objective function formulation?
  • RQ2How do the dynamical stability properties of stochastic gradient descent differ when using resampling versus reweighting for bias correction?
  • RQ3To what extent does the optimization algorithm influence the generalization performance of bias-corrected models?
  • RQ4Is the performance gap between resampling and reweighting consistent across diverse machine learning tasks?

Key findings

  • Resampling leads to more stable optimization trajectories under stochastic gradient descent compared to reweighting, due to lower variance in gradient updates.
  • Reweighting introduces higher instability in the optimization path, which degrades generalization even when the objective function is identical.
  • The phenomenon is general and observed across regression, classification, and off-policy prediction tasks, indicating it is not task-specific.
  • The study demonstrates that the interaction between the optimization algorithm and correction method is critical, and reweighting's instability limits its practical effectiveness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.