The Theoretical Empirical Sample Complexity Gap

179 concepts159 papers2 proposals

When designing machine learning models, optimization algorithms, or control systems, a fundamental question always arises: How much data do we need to guarantee success?

To answer this, theoreticians calculate sample complexity bounds—mathematical proofs establishing the maximum number of samples required to achieve a target accuracy with high confidence. Yet, practitioners frequently notice a strange paradox. If you strictly follow the mathematical proofs, you might believe you need millions of data points or high-degree polynomial sample sizes. In reality, the algorithm often converges perfectly with a fraction of that data.

This discrepancy is known as the theoretical-empirical sample complexity gap. It is not a sign of flawed engineering, but rather a reflection of the inherent tension between worst-case mathematical guarantees and the benign structures of the real world.

The Anatomy of Pessimism: Why Bounds Are Loose

To understand why theoretical bounds are so conservative, we must look at how they are constructed. To provide an absolute guarantee, a mathematical proof must hold true for all possible conditions within a defined problem class. This forces theoreticians to design bounds for the absolute worst-case scenario.

Worst-Case Assumptions vs. Structured Realities

Theoretical frameworks often assume that data can be highly complex or even adversarial. However, real-world data distributions possess inherent stability and low-dimensional structures that worst-case models completely miss.

For instance, in Learning-Theoretic Foundations of Algorithm Configuration for Combinatorial Partitioning Problems, Maria Florina Balcan et al. point out that existing theoretical lower bounds for tuning algorithms overestimate the required training instances because they fail to account for the inherent stability present in practical application domains.

Similarly, in generative modeling, standard sample complexity bounds often include daunting double-exponential factors. However, as shown in On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs), Jerry Yao-Chieh Hu et al. demonstrate that modern architectures like Latent Diffusion Transformers bypass this "curse of dimensionality" by focusing on low-dimensional latent structures, operating far more efficiently than traditional statistical theory predicts.

This pattern repeats in scientific computing. Learning the solution operators for partial differential equations (PDEs) would theoretically seem to require a polynomial explosion of samples as precision requirements tighten. Yet, in Elliptic PDE learning is provably data-efficient, Nicolas Boullé et al. prove that because Green's functions possess a hierarchical low-rank structure, one can achieve highly accurate approximations using only a poly-logarithmic number of samples. This exposes a massive gap between traditional complexity analysis and empirical data efficiency.

The Cost of Mathematical Certainty

To prove a bound, researchers frequently rely on general probabilistic tools like Markov's inequality or conservative concentration bounds to ensure absolute safety. While mathematically rigorous, these tools lack the nuance to adapt to specific system dynamics.

In Scenario-based Stochastic MPC for systems with uncertain dynamics, Francesco Micheli et al. note that sample complexity bounds for scenario-based optimization far exceed what is practically necessary for safety. This overestimation is a direct byproduct of using general probabilistic inequalities that fail to account for the specific constraints and trajectories of actual system dynamics.

A similar issue arises in reachability analysis; Data-Driven Reachability Analysis with Christoffel Functions highlights how statistical guarantees require vastly more data points than are empirically necessary to achieve target safety levels, demonstrating that polynomial-based set estimation is far more efficient in practice than current proofs can validate.

Domain Manifestations: Where Theory and Practice Diverge

The sample complexity gap spans optimization, reinforcement learning, and signal processing, manifesting differently depending on the algorithmic landscape.

Benign Optimization Landscapes

In non-convex optimization, theory often warns of catastrophic local minima or slow convergence rates. However, many iterative solvers exploit "benign" landscapes where the worst-case scenarios simply do not manifest.

Consider dictionary learning. In Subgradient Descent Learns Orthogonal Dictionaries, Yu Bai et al. show that a simple subgradient descent algorithm perfectly recovers orthogonal dictionaries from random initializations. While pessimistic theoretical analysis predicts high sample requirements, the actual optimization landscape is benign—every local minimum is a global solution—meaning the algorithm is far more data-efficient than traditional theory suggests.

We see a similar phenomenon in matrix completion. Alternating Least Squares (ALS) is an industry workhorse due to its empirical speed. In Noisy Matrix Completion Using Alternating Minimization, Ayan Acharya et al. establish theoretical guarantees for ALS under noise but note a significant discrepancy: the number of samples required by the proof is vastly higher than what is needed for successful empirical recovery, proving that iterative solvers are inherently more robust than our current mathematical tools can tightly capture.

Reinforcement Learning and Planning

In reinforcement learning (RL), exploration in non-linear or continuous spaces typically yields high-order polynomial sample complexity bounds.

In Provably Correct Optimization and Exploration with Non-linear Policies, Fei Feng et al. introduce an exploratory actor-critic framework but acknowledge that the resulting high-order polynomial bounds likely overestimate the practical sample requirements. Even when global convergence is proven under realistic conditions, such as in Closing the Gap: Achieving Global Convergence (Last Iterate) of Actor-Critic under Markovian Sampling with Neural Network Parametrization, the resulting bounds remain highly conservative compared to the rapid convergence seen in practice.

This conservatism extends to planning algorithms. In Planning in Markov Decision Processes with Gap-Dependent Sample Complexity, Anders Jonsson demonstrates that iterative planning algorithms can scale with the inverse of the accuracy parameter at a much lower power than predicted by theoretical upper bounds, showing that stochastic environments are often far more forgiving than worst-case proofs assume.

Bridging the Gap: Designing Tighter Frameworks

Recognizing that traditional bounds are overly pessimistic, researchers are developing new analytical frameworks to capture empirical efficiency accurately.

One major source of pessimism is the assumption of an "adversarial analyst" in adaptive data analysis—the idea that the environment or user will actively exploit a model's overfitting. In Natural Analysts in Adaptive Data Analysis, Tijana Zrnic et al. replace this assumption with "natural analysts" modeled with cognitive-like biases. They reveal that common iterative algorithms like gradient descent naturally resist overfitting, providing much stronger and more realistic generalization guarantees.

Another approach modifies the bounds themselves to reflect the data actually observed during training. In Sharp uniform convergence bounds through empirical centralization, Cyrus Cousins et al. introduce empirical centralization, a technique that centers function families around their empirical means. This produces bounds that are significantly tighter at small-to-medium sample sizes and less sensitive to outliers, helping to bridge the gap between abstract mathematical limits and practical training scenarios.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_sample_complexity_gap_theoretical_empiri_89ffb097,
  title = {sample complexity gap (theoretical-empirical sample complexity gap)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sample-complexity-gap-theoretical-empirical-sample-complexity-gap/rdr_89ffb097eec249f9a9dc474ba1926e35},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_sample_complexity_gap_theoretical_empiri_89ffb097_v1,
  title = {sample complexity gap (theoretical-empirical sample complexity gap)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sample-complexity-gap-theoretical-empirical-sample-complexity-gap/rdr_89ffb097eec249f9a9dc474ba1926e35/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake