In classical optimization, the cost of training a model typically grows with the number of data points $N$. For Gradient Descent, a single update requires a full pass over the dataset. Even for Stochastic Gradient Descent (SGD), while the per-iteration cost is constant, the number of iterations required to reach a specific accuracy often remains tied to the properties of the full dataset. As we move toward "billion-scale" datasets, this linear dependency on $N$ becomes a fundamental bottleneck.
A growing body of research focuses on sample-size independent optimization: algorithms where the computational complexity to reach a target error $\epsilon$ is entirely decoupled from the total number of observations. This shift allows models to scale to massive datasets where even a single full pass is computationally prohibitive.
Breaking the Link with Stochastic Estimators
The most direct way to achieve sample-size independence is to replace full-dataset operations with stochastic estimators whose variance and bias can be controlled regardless of $N$.
In the context of Distributionally Robust Optimization (DRO)—which seeks to minimize the worst-case loss over a set of possible distributions—traditional methods often require processing every sample to identify the "worst-case" subpopulation. Daniel Levy, John Duchi, and colleagues demonstrated in Large-Scale Methods for Distributionally Robust Optimization that by using Multi-Level Monte Carlo (MLMC) gradient estimators, one can achieve a convergence rate that depends only on the desired precision $\epsilon$, not on $N$.
The intuition here is that for a sufficiently large and homogeneous dataset, a well-chosen mini-batch contains enough information to estimate the "worst-case" direction. By bounding the bias of these mini-batch estimators, the algorithm can converge to a robust solution without ever looking at the entire dataset.
Variance Reduction without Full Passes
Variance reduction techniques like SVRG typically require a "snapshot" of the full gradient every few iterations to keep the stochastic updates on track. This snapshot step is $O(N)$, reintroducing the sample-size dependency.
To solve this, Lihua Lei and Michael I. Jordan introduced Stochastically Controlled Stochastic Gradient (SCSG) in Less than a Single Pass: Stochastically Controlled Stochastic Gradient. Instead of a full-gradient snapshot, SCSG uses a subsampled "anchor" gradient. They proved that if the dataset is large enough, the anchor doesn't need to include every point to effectively reduce variance. This allows the algorithm to reach a target accuracy in "less than a single pass," making the total complexity independent of $N$ for high-accuracy regimes.
This principle has been extended to more complex structures, such as compositional optimization (minimizing a function of an expectation). In Stochastically Controlled Stochastic Gradient for the Convex and Non-convex Composition problem, Liu Liu and Ji Liu showed that by applying stochastically controlled sampling to both the inner and outer functions, the query complexity remains constant relative to the dataset size.
Dual-Free Reformulations
Another barrier to scaling is the number of variables in the optimization problem itself. In many robust frameworks, the "dual" version of the problem introduces one variable for every data point (e.g., weights for each sample).
Recent work has moved toward dual-free or joint-variable formulations to bypass this. In Stochastic Constrained DRO with a Complexity Independent of Sample Size, Jiameng Lyu and Tianbao Yang treat the temperature parameter (which controls the robustness) as a single trainable variable rather than maintaining individual dual weights for $N$ samples. This reformulation, combined with stochastic compositional gradients, ensures that the per-iteration cost and the total number of iterations are both independent of $N$.
Similarly, in control theory and anomaly detection, researchers are moving away from sample-dependent constraints. Felix Brändle showed in A System Parametrization for Direct Data-Driven Analysis and Control with Error-in-Variables that by formulating performance analysis as a semidefinite program based on system dimensions rather than the number of observations, the computational effort remains constant even as more data is collected.
Structural Decoupling
Finally, some methods achieve independence by exploiting the geometric or structural properties of the data.
- Gaussian Processes: Traditional GPs scale at $O(N^3)$. Geoff Pleiss and John Patrick Cunningham demonstrated in Variational nearest neighbor Gaussian process that by restricting dependencies to a fixed number of neighbors, the per-iteration cost becomes constant relative to $N$.
- Clustering: In A Scalable Deterministic Global Optimization Algorithm for Clustering Problems, Kaixun Hua and Yankai Cao developed a solver that branches on cluster centers rather than individual points, allowing provably optimal clustering on hundreds of thousands of samples.
- Submodular Maximization: Algorithms for robust submodular maximization, such as those by Sebastian Pokutta and Mohit Singh in Efficient algorithms for robust submodular maximization under matroid constraints, achieve complexities independent of the matroid rank (the size of the selection set), focusing instead on the number of objective functions.
By shifting the focus from the number of samples to the required precision and the underlying dimensionality of the problem, these researchers have made it possible to apply sophisticated, robust, and provably optimal algorithms to datasets that were previously considered too large to process.