[Paper Review] Starting Small -- Learning with Adaptive Sample Sizes
This paper proposes dynaSAGA, a novel adaptive sampling algorithm that dynamically increases the training sample size during optimization to accelerate convergence to statistical accuracy. By starting with small batches and gradually scaling up, it achieves statistical accuracy in only 2n iterations—significantly faster than the standard n log n steps required by conventional methods—leveraging the favorable convergence properties of variance-reduced stochastic optimization like SAGA.
For many machine learning problems, data is abundant and it may be prohibitive to make multiple passes through the full training set. In this context, we investigate strategies for dynamically increasing the effective sample size, when using iterative methods such as stochastic gradient descent. Our interest is motivated by the rise of variance-reduced methods, which achieve linear convergence rates that scale favorably for smaller sample sizes. Exploiting this feature, we show -- theoretically and empirically -- how to obtain significant speed-ups with a novel algorithm that reaches statistical accuracy on an $n$-sample in $2n$, instead of $n \log n$ steps.
Motivation & Objective
- To address the inefficiency of standard optimization methods that require n log n iterations to reach statistical accuracy on n-sample datasets.
- To explore the trade-off between computational and statistical accuracy in large-scale machine learning.
- To develop a strategy that dynamically controls effective sample size during optimization to improve convergence speed.
- To exploit the favorable convergence behavior of variance-reduced methods like SAGA for small sample sizes.
- To demonstrate that starting with small samples and increasing them incrementally yields faster convergence than fixed-size batch methods.
Proposed method
- The algorithm dynamically increases the effective sample size over time, starting from a small subset of the training data.
- It uses the SAGA algorithm as the underlying optimization engine, which exhibits a convergence rate of ρₙ = 1 − min(1/n, μ/L) for n samples.
- The sample size is increased in a controlled manner at specific intervals, matching the statistical accuracy of the current sample size with the optimization error.
- The method ensures that the optimization error ε(n) decays at a rate that matches the statistical error H(n), enabling early stopping when both are balanced.
- The algorithm is designed so that the total number of iterations across all sample sizes remains bounded, achieving convergence in 2n steps.
- Theoretical analysis shows that the suboptimality decays exponentially with a rate dependent on the current sample size, enabling fast convergence.
Experimental results
Research questions
- RQ1Can dynamically increasing the sample size during optimization lead to faster convergence to statistical accuracy than fixed-size batch methods?
- RQ2How does the convergence rate of SAGA depend on the sample size, and can this be exploited for adaptive sampling?
- RQ3What is the optimal strategy for increasing the sample size over time to balance statistical and computational errors?
- RQ4Can the algorithm achieve statistical accuracy in fewer than n log n iterations by starting small?
- RQ5What theoretical guarantees can be provided for the convergence of such an adaptive sampling strategy?
Key findings
- The proposed dynaSAGA algorithm achieves statistical accuracy in only 2n iterations, significantly faster than the standard n log n complexity.
- Theoretical analysis shows that the suboptimality of SAGA decays exponentially with rate ρₙ = 1 − min(1/n, μ/L), which is favorable for small n.
- Empirical results confirm that starting with small samples and gradually increasing them leads to faster convergence compared to fixed-batch methods.
- The method balances optimization error ε(n) and statistical error H(n) by increasing the sample size in sync with the algorithm’s progress.
- The algorithm maintains linear convergence rates even as the sample size grows, due to the favorable dependence of SAGA’s convergence on n.
- The approach is particularly effective for variance-reduced methods like SAGA, which exhibit strong convergence behavior on small samples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.