NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimization Complexity Independent of Sample Size

This direction is split into other directions: sample-size independent complexity. Its last version stays readable and citable here.

Version 1 of 149 papers60 conceptsfrozen 2026-10-04

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.

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.

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.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_optimization_complexity_independent_of_s_a43d9a83,
  title = {Optimization Complexity Independent of Sample Size},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/optimization-complexity-independent-of-sample-size/rdr_a43d9a8353824074bd56ba2631efe811},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_optimization_complexity_independent_of_s_a43d9a83_v1,
  title = {Optimization Complexity Independent of Sample Size},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/optimization-complexity-independent-of-sample-size/rdr_a43d9a8353824074bd56ba2631efe811/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}