Skip to main content
QUICK REVIEW

[Paper Review] Variance Reduced Training with Stratified Sampling for Forecasting Models

Yucheng Lu, Youngsuk Park|arXiv (Cornell University)|Mar 2, 2021
Stock Market Forecasting MethodsDecision Sciences5 citations
TL;DR

This paper proposes SCott, a variance-reduced stochastic optimizer for time series forecasting that uses stratified sampling to group heterogeneous time series into homogeneous strata, reducing gradient estimation variance. By combining stratified sampling with control variates, SCott achieves faster convergence than SGD, Adam, and Adagrad in both iterations and wall-clock time, with theoretical convergence guarantees on smooth non-convex objectives.

ABSTRACT

In large-scale time series forecasting, one often encounters the situation where the temporal patterns of time series, while drifting over time, differ from one another in the same dataset. In this paper, we provably show under such heterogeneity, training a forecasting model with commonly used stochastic optimizers (e.g. SGD) potentially suffers large variance on gradient estimation, and thus incurs long-time training. We show that this issue can be efficiently alleviated via stratification, which allows the optimizer to sample from pre-grouped time series strata. For better trading-off gradient variance and computation complexity, we further propose SCott (Stochastic Stratified Control Variate Gradient Descent), a variance reduced SGD-style optimizer that utilizes stratified sampling via control variate. In theory, we provide the convergence guarantee of SCott on smooth non-convex objectives. Empirically, we evaluate SCott and other baseline optimizers on both synthetic and real-world time series forecasting problems, and demonstrate SCott converges faster with respect to both iterations and wall clock time.

Motivation & Objective

  • To address the problem of high gradient variance in stochastic optimization for heterogeneous time series forecasting.
  • To show that time series heterogeneity—due to concept drift or local effects—can severely slow down training with standard optimizers like SGD and Adam.
  • To develop a method that reduces gradient variance through stratification of time series into homogeneous groups without modifying model architecture.
  • To design an efficient optimizer that balances variance reduction and computational complexity via control variates and weighted sampling.
  • To provide theoretical convergence guarantees for the proposed method on smooth non-convex objectives.

Proposed method

  • Stratify time series into homogeneous groups based on temporal patterns or similarity in dynamics to reduce gradient variance.
  • Use weighted sampling over strata to balance variance reduction and computational cost.
  • Introduce SCott, an SGD-style optimizer that applies control variates within each stratum to further reduce gradient variance.
  • Leverage control variate techniques to correct stochastic gradients using prior estimates, improving stability.
  • Use a step size schedule proportional to $ B^{-1/3} $, where $ B $ is the batch size, to balance convergence and variance.
  • Apply telescoping sum techniques and martingale arguments to derive convergence bounds under smooth non-convex objectives.

Experimental results

Research questions

  • RQ1Can time series heterogeneity in large-scale forecasting lead to arbitrarily large gradient variance in standard optimizers like SGD and Adam?
  • RQ2Can stratification of time series into homogeneous strata reduce gradient variance in stochastic optimization?
  • RQ3Does combining stratified sampling with control variates yield a more efficient and stable optimizer than standard SGD or Adam?
  • RQ4What is the theoretical convergence rate of the proposed SCott optimizer on smooth non-convex objectives?
  • RQ5How does SCott compare to baseline optimizers in terms of convergence speed and wall-clock training time?

Key findings

  • SCott achieves a convergence rate of $ Oig((f(oldsymbol{0}) - ext{inf} f(oldsymbol{ heta}))L / (B^{1/3}T) + ext{sum of weighted variances} ig) $, with $ B $ as the batch size.
  • The total number of stochastic gradients computed is $ Oig( rac{ riangle L | ilde{oldsymbol{D}}|^{2/3}}{ ilde{oldsymbol{ heta}}^2} ig) $, where $ riangle = f(oldsymbol{0}) - ext{inf} f(oldsymbol{ heta}) $.
  • Empirical results show SCott converges faster than SGD, Adam, and Adagrad in both iterations and wall-clock time on synthetic and real-world forecasting tasks.
  • SCott maintains or improves generalization performance without requiring model architecture changes or multiple models.
  • The method reduces gradient variance significantly in heterogeneous time series, especially when concept drift or local effects are present.
  • Theoretical analysis confirms convergence under smooth non-convex objectives, with explicit bounds on expected gradient norm.

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.