LITE: A Lightweight Lazy Sampler for Efficient SGD

Amir Hossein Daghestani, Mikael JohanssonNeurIPS 2026

TL;DR

In deep learning, training on every data point equally is wasteful, yet trying to cleverly pick the "most informative" examples usually costs more compute than it saves—or worse, destabilizes training when those estimates go stale. LITE solves this with a "lazy" importance sampler that updates cheap difficulty scores only occasionally, smooths out transient noise, and uses a mathematical safety valve to prevent over-focusing on outliers. It delivers faster, more accurate training—especially when compute budgets are tight or data is messy and imbalanced—without bogging down your GPU.

What Problem Does This Paper Address?

Imagine studying for an exam by flipping through flashcards completely at random. You’ll waste hours reviewing easy cards you already know while neglecting the hard ones. In Stochastic Gradient Descent (SGD), standard uniform minibatch sampling has the exact same flaw: not all examples contribute equally to learning.

Importance Sampling (IS) fixes this in theory: if you sample data points proportional to the size of their gradients (how much they tug on the model's weights) and reweight them to keep the math unbiased, you minimize gradient noise and speed up convergence.

In modern deep learning, however, exact per-sample gradients are way too expensive to compute at every step. Practical workarounds rely on cheap proxy scores (like looking only at the network's final layer) and update them lazily—say, once every few epochs. Here’s the catch: lazy proxies quickly become noisy and stale. Naively trusting stale scores causes the sampler to obsessively pick the same few noisy outliers, causing gradient variance to explode and erasing any wall-clock speedup. The authors ask: How can we exploit importance signals when they are reliable, while gracefully falling back to safe, uniform sampling when they aren't?

Methods

LITE (Lazy Importance Sampling for Training Efficiency) builds on standard unbiased importance reweighting and cheap last-layer gradient norm proxies, introducing two lightweight, closed-form mechanisms:

  1. Temporal Smoothing (EMA): Instead of trusting a newly refreshed proxy score blindly, LITE blends it with past scores using an Exponential Moving Average ($s_i \leftarrow \beta s_i + (1-\beta)\hat{s}_i$). This filters out transient flukes and captures persistent sample difficulty.
  2. Temperature-Controlled KL Projection: To prevent stale scores from creating overly spiky probability distributions, LITE formulates sampling as an optimization problem: stay close to the proxy distribution, subject to a minimum entropy floor. Via KKT conditions, this yields a clean power-law rule: sample proportional to $(s_i + \varepsilon)^{1/T}$.

Rather than forcing users to hand-tune the temperature $T \ge 1$, LITE sets $T$ adaptively at each refresh to guarantee a target Effective Sample Size (ESS)—ensuring the sampler never puts all its eggs in too few baskets.

Figure 1: Effect of temporal smoothing and entropy regularization on estimator stability (CIFAR-10, ResNet18, last-layer proxy). We report the log10 relative variance (lower is better) averaged over refresh windows. Low EMA smoothing is accurate when scores are fresh but becomes brittle under staleness; increasing temperature dampens this sensitivity. See Appendix C for details.

Datasets

The authors evaluate LITE across vision, text, and 3D benchmarks (no new datasets are introduced, though standard long-tailed protocols are applied):

  • Balanced Vision: CIFAR-10, CIFAR-100, and TinyImageNet (using ResNet-18).
  • Imbalanced Vision: Long-tailed variants (CIFAR-10-Imb., CIFAR-100-Imb., TinyImageNet-Imb.) with an imbalance factor of 50.
  • Text & 3D: IMDb sentiment analysis (fine-tuning DistilBERT) and ModelNet40 3D point cloud classification (using PointNet).

Key Insights and Ideas

  • Smoothing and temperature are complementary: Responsive EMA (low $\beta$) is wonderfully accurate when fresh, but explodes in variance just one epoch later. Raising the temperature $T$ acts as a shock absorber, exponentially dampening proxy errors via the $1/T$ exponent so you get responsiveness without fragility.
  • A clear rule for beating uniform sampling: The authors prove that LITE beats uniform sampling whenever the dataset's natural gradient diversity ("headroom") exceeds LITE's temperature-damped proxy error times a mild tempering mismatch factor.
  • The stability–plasticity trade-off in generalization: Through a uniform-stability proof (for fixed $T$), the authors show how $T \to \infty$ recovers standard $\mathcal{O}(1/N)$ generalization rates, whereas $T \downarrow 1$ inflates the generalization gap—mathematically capturing how aggressively drilling hard examples risks overfitting.

Key Results

Tested under strictly matched update budgets ($\gamma \in \{5\%, 10\%, 20\%\}$ of data per epoch) and end-to-end wall-clock timing:

  • Top Accuracy: On balanced vision benchmarks, LITE achieves the best mean test accuracy in 8 out of 9 settings. With just a 20% budget on CIFAR-10, it reaches 94.19% accuracy (within 0.49% of full-data training's 94.68%), beating adaptive baselines like RAIS and Online-IS.
  • True Wall-Clock Speedup: Because refreshes only require a periodic forward pass, scoring overhead on CIFAR-10 ($\gamma=0.2$, refreshing every 20 budgeted epochs) accounts for just 3.8% of total runtime, yielding an end-to-end $\sim 5\times$ speedup over full-data SGD.
  • Consistent Variance Reduction: Empirically, LITE lowers gradient variance compared to uniform sampling at 93.2% of audited checkpoints, with a median variance drop of 28.4%, shining brightest on imbalanced datasets and 3D point clouds.

Limitations and Future Work

  • Theoretical gaps: The variance bound is window-local rather than uniform across all of training, and the generalization bound assumes a fixed temperature $T$ rather than the adaptive ESS-based rule used in practice.
  • Informative proxies & I/O bottlenecks: Temperature protects against bad proxies, but still needs some informative signal to beat uniform sampling. Furthermore, periodic full-dataset passes could exceed 3.8% runtime on massive or I/O-bound datasets.
  • Sampling with replacement: Both the math and code sample with replacement; extending to sampling without replacement requires tracking complex dependent probabilities. Future directions include cached or lower-precision refreshes, adaptive refresh schedules, and scaling to generative models.

Summary updated

Abstract

Importance sampling provides an elegant variance-minimization principle for stochastic optimization: sampling examples proportional to their gradient norms yields a minimum-variance gradient estimator. However, in modern deep learning, importance sampling often fails to outperform uniform sampling once proxy-computation cost, stale scores, and fair update budgets are accounted for. We propose LITE, a lightweight lazy sampler for practical importance sampling. LITE maintains inexpensive proxy scores, updates them only periodically, smooths them across refreshes, and converts them into sampling probabilities through a temperature rule that limits over-concentration. When proxy scores are informative, LITE prioritizes high-impact examples; when noisy or stale scores would over-concentrate sampling, the sampling distribution moves back toward uniform. We analyze the resulting variance reduction in terms of proxy quality, temporal drift, and temperature, yielding a sufficient, window-local condition for when LITE improves over uniform sampling. Experiments under matched update budgets and end-to-end wall-clock accounting show that LITE is competitive with or better than uniform sampling across vision, text, and 3D benchmarks, with the clearest gains in scarce-budget and imbalanced regimes.
BibTeX
@inproceedings{daghestani2026lite,
  author = {Amir Hossein Daghestani and Mikael Johansson},
  title = {{LITE: A Lightweight Lazy Sampler for Efficient SGD}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=CVmeicsRSC},
}
Figure