arXiv:2610.19162cs.CCOct 2026

Manuscript Offprint

arXiv:2610.19162

The Gap Between Average-Case and Worst-Case Complexity

Halley Goldberg, Jinqiao Hu, Zhenjian Lu, Jingyi Lyu, Igor C. Oliveira

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Understanding the average-case complexity of NP is a central goal in complexity theory and cryptography. A necessary milestone is to understand the corresponding average-case versus worst-case question for the polynomial hierarchy (PH). In a celebrated result, Hirahara [Hir21] proved that if every distributional problem in PH is easy on average, then every language in PH admits worst-case algorithms running in time 2O(n/log⁡n)2^{O(n/\log n)}. Remarkably, although the statement of Hirahara's theorem makes no reference to meta-complexity, all known proofs appear to use time-bounded Kolmogorov complexity and its associated meta-computational problems in an essential way.

We show that the reliance on techniques and perspectives from meta-complexity is not simply a coincidence. Building on previous work of Hirahara [Hir20] and on a recent result of Hu, Lu, and Oliveira [HLO26], we prove that relating the average-case and worst-case complexities of PH is in fact equivalent to a purely meta-computational implication: efficient algorithms for a standard gap version of MINpKT with PH oracle access imply efficient algorithms for a mild gap version. Crucially, in these promise problems the standard gap separates a YES instance with time bound t from a NO instance with time bound poly(t), whereas the mild gap keeps the YES threshold t and moves the NO threshold to t+poly(n)t + \text{poly}(n).

Together with prior work, this equivalence points to the study of gap reductions as a potentially promising route toward understanding the relation between average-case and worst-case complexity. We make progress by proving that the gap in running time can be eliminated in the average-case setting. Finally, we prove that in the worst-case setting any efficient reduction between the two computational problems must use nonrelativizing techniques.

*University of Warwick. E-mail: halley.goldberg@warwick.ac.uk

†^{\dagger}University of Warwick. E-mail: jinqiao.hu@warwick.ac.uk

‡^{\ddagger}University of Victoria. E-mail: zhenjianlu@uvic.ca

§^{§}University of Michigan. E-mail: jylyu@umich.edu

^{¶}University of Warwick. E-mail: igor.oliveira@warwick.ac.uk

Contents

1 Introduction 3
1.1 Overview 3
1.2 Results 4
1.3 Techniques 5
1.4 Related Work 10

2 Preliminaries 12
2.1 Computational Models 12
2.2 Time-Bounded Kolmogorov Complexity 13
2.3 Meta-Complexity 14
2.4 Useful Tools 15
2.5 Average-Case Complexity 17

3 Proof of the Equivalence Theorem 19
3.1 Characterizing Easiness of NP via Easiness of Mild-Gap-MINpKT PH^{PH} 19
3.1.1 The Easy Direction 20
3.1.2 The Hard Direction 20
3.2 Worst-Case Easiness of Gap-MINpKT PH^{PH} from Average-Case Easiness of PH 27
3.3 Average-Case Easiness of PH from Worst-Case Easiness of Gap-MINpKT PH^{PH} 27
3.3.1 Technical Tools 27
3.3.2 Proof of Lemma 3.13 33

4 The Deterministic Case 34

5 Equivalence of Gap and No-Gap Hardness in the Average-Case Setting 35
5.1 The Zero-Error Case 35
5.2 The Two-Sided-Error Case 36

6 A Relativization Barrier 38