Computational-Statistical Tradeoffs from NP-hardnes

Guy Blanc, Caleb Koch, Carmen Strassle, Li-Yang Tan

TL;DR

This paper establishes a fundamental link between computational hardness (specifically NP-hardness) and the trade-offs between time and sample complexity in machine learning. The authors show that for certain learning problems, requiring more samples can lead to significantly faster algorithms, and this trade-off can be based on the widely accepted assumption that NP is not in P.

What Problem Does This Paper Address?

A central question in theoretical computer science and statistics is whether efficient algorithms can achieve the theoretical limits of statistical problems. In machine learning, this translates to understanding the relationship between the time an algorithm takes to learn and the number of data samples it needs. While many "computational-statistical tradeoffs" have been shown, they often rely on average-case assumptions, which are less robust than worst-case assumptions like NP-hardness. The challenge has been to prove these tradeoffs based on standard worst-case hardness assumptions, particularly NP-hardness. This paper tackles this by showing that NP-hardness, when combined with sample complexity considerations, can be used to establish these crucial learning tradeoffs, even for improper learners (algorithms that don't restrict the form of their output hypothesis).

Methods

The core of the paper's approach involves constructing specific "hard" concept classes. These classes are designed such that their learning complexity mirrors the time vs. nondeterminism complexity of NP-complete problems like SAT. The authors leverage a reduction from the problem of deciding SAT (with a limited number of nondeterministic bits) to the problem of learning these specially constructed concept classes. By carefully analyzing the sample complexity required for learning, they can then derive lower bounds on the time complexity. A key technical innovation is a reduction that sidesteps formal barriers (established by Applebaum, Barak, and Xiao) by specifically tailoring it to learners with a bounded number of samples.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • NP-hardness can imply learning tradeoffs: The paper demonstrates that NP-hardness, a standard worst-case complexity assumption, can indeed be the basis for computational-statistical tradeoffs in learning, which was a long-standing challenge.
  • Sample complexity is key to bridging the gap: The authors show that by considering how sample complexity affects learning time, one can overcome previous barriers to proving NP-hardness based learning lower bounds.
  • RP vs. NP equivalence to learning: A significant result is the characterization of the RP vs. NP question in terms of learning: RP = NP if and only if every NP-enumerable class can be learned efficiently with a number of samples proportional to its VC dimension. This recasts a fundamental complexity question into a learning theory problem.
  • Improper learning hardness: The lower bounds hold even against "improper learners," which are more powerful than "proper learners" (that are restricted to outputting hypotheses of a specific form). This makes the results stronger and more relevant to general learning algorithms.

Key Results

  • Sharp Tradeoffs: For any polynomial $p(n)$, the paper constructs a concept class with VC dimension 1 such that time-efficient learning requires $\Theta(p(n))$ samples, even though it's information-theoretically learnable with a constant number of samples. This demonstrates a significant gap between sample-efficient and time-efficient learning.
  • RP vs. NP Characterization: The paper proves the reverse implication of a known result: RP = NP if and only if every NP-enumerable class is learnable with $O(\text{VCdim}(C))$ samples in polynomial time.
  • Circumventing Barriers: The work provides the first NP-hardness results for improperly learning subclasses of polynomial-size circuits, overcoming formal barriers that previously prevented such results.

Limitations and Future Work

The authors acknowledge that their construction relies on specific types of reductions and that the formal barriers of [ABX08] are technical. Future work could explore whether these techniques can be applied to other concept classes with conjectured tradeoffs, such as decision lists. Additionally, understanding these tradeoffs in other learning settings beyond PAC learning, like uniform-distribution learning and online learning, is an ongoing area of research that this work contributes to. The paper also suggests extending these results to more general settings and exploring the implications for other complexity classes.

Summary updated

BibTeX
@inproceedings{blanc2025computational,
  author = {Guy Blanc and Caleb Koch and Carmen Strassle and Li-Yang Tan},
  title = {{Computational-Statistical Tradeoffs from NP-hardnes}},
  booktitle = {FOCS},
  year = {2025},
  url = {https://openreview.net/forum?id=iKxQ1mV9zh},
}
Figure