Fine-grained complexity is a subfield of computational complexity theory that studies the time required to solve computational problems, especially those within the class P. While classical complexity theory distinguishes problems by whether they contain (most known through the P versus NP problem), fine-grained complexity seeks to distinguish problems solvable in O(n) time from those requiring Θ(n2) or Θ(n3) time, and to identify the precise polynomial exponent of fundamental problems. The theory of NP-completeness separates problems likely to require exponential time from those solvable in polynomial time, but it gives no way to distinguish between polynomial algorithms of different exponents. Fine-grained complexity addresses this by mimicking NP-completeness at a finer scale, using fine-grained reductions which show that a polynomial-factor speedup for one problem would yield a polynomial-factor speedup for another. Through a network of such reductions, the field identifies a small number of central problems whose best known algorithms are conjectured to be optimal; under these conjectures, the best known algorithms for many problems across seemingly unrelated areas must also be optimal. The four most-used hypotheses are the Strong Exponential Time Hypothesis (SETH), the Orthogonal Vectors hypothesis (OV), the 3-SUM hypothesis, and the All-Pairs Shortest Paths (APSP) hypothesis. Hundreds of problems across computational geometry, string algorithms, dynamic graph algorithms, and data structures have been shown hard under one or more of these.
Background Classical complexity theory works well for separating problems we can solve in polynomial time from those we (probably) cannot. Within polynomial time, though, the fine-grained differences are lost as, for example, a linear-time algorithm and a cubic-time algorithm are both "polynomial," but for an input of size one billion, that's the difference between a fraction of a second and decades of computation. The time hierarchy theorems establish that algorithms with more running time can solve strictly more problems: for every constant c, there exist problems solvable in O(nc) time but not in O(nc−ε) time for any ε > 0. But these theorems only show such problems exist; they don't identify which problems sit at which level. Nothing about them tells us whether edit distance, for instance, is one of the problems requiring Θ(n2) time or one that could in principle be done faster. No superlinear lower bound is known for any problem in NP in standard models of computation; even establishing that SAT requires more than linear time is open. Meanwhile, many fundamental problems have textbook algorithms whose running times haven't been substantially improved in decades. Longest common subsequence and edit distance have been stuck at O(n2) since the 1970s. Determining whether three of n points in the plane lie on a line is also stuck at O(n2). Computing the diameter of a sparse graph is stuck at roughly O(mn). Fine-grained complexity is, therefore, an attempt to give conditional answers. Instead of proving unconditionally that edit distance requires n2 time, one proves that any algorithm faster than n2−ε would refute SETH. The framework lets us organize hundreds of problems into a coherent picture and identify which ones rise and fall together.
History
Early work (1990s–2000s) The 3-SUM conjecture was introduced by Anka Gajentaan and Mark Overmars in 1995. They studied a class of computational geometry problems with O(n2) algorithms, conjectured that 3-SUM (the problem of deciding whether three numbers in a set sum to zero) needs Θ(n2) time, and showed that a faster algorithm for 3-SUM would yield faster algorithms for many geometric problems — including determining whether three of n points in the plane are collinear. The Exponential Time Hypothesis (ETH) and Strong Exponential Time Hypothesis (SETH) were introduced by Russell Impagliazzo and Ramamohan Paturi in 2001. ETH says 3-SAT requires 2Ω(n) time; SETH is a stronger statement, that for any ε > 0, some k-SAT cannot be solved in 2(1−ε)n time. The same year, Impagliazzo, Paturi, and Zane proved the Sparsification Lemma, a technical tool that lets one assume k-SAT formulas have at most a linear number of clauses, which will be useful for later fine-grained reductions. These hypotheses were originally about exponential-time algorithms, but in the next decade they became central to lower bounds for problems that already run in polynomial time.
Modern development (2010s) In 2004, Ryan Williams gave the reduction that connected SETH to fine-grained complexity. He showed that solving the Orthogonal Vectors problem in n2−ε time would refute SETH. This made OV a workhorse, as most SETH-based lower bounds reduce from OV rather than directly from k-SAT, because OV is much easier to reduce from. Vassilevska Williams in 2010 showed that several cubic-time problems are equivalent under fine-grained reductions: APSP, Negative Triangle, and (min,+)-matrix multiplication. A faster algorithm for any one would give a faster algorithm for all of them. This subcubic equivalence class became a foundational example in the field. The next decade saw a flood of results. Pătrașcu (2010) reduced 3-SUM to dynamic data structure problems. Roditty and Vassilevska Williams (2013) showed that approximating the diameter of a sparse graph to better than a factor of 3/2 in subquadratic time would refute SETH. Henzinger, Krinninger, Nanongkai, and Saranurak (2015) introduced the OMv conjecture as a unified source of hardness for dynamic problems. Tight SETH-based lower bounds were established for sequence problems including edit distance, longest common subsequence, Fréchet distance, and regular expression matching.
Recent advances (2020s) A newer direction studies the fine-grained complexity of average-case inputs of random instances rather than adversarial worst-case ones. Ball, Rosen, Sabin, and Vasudevan (2017) gave the first worst-case-to-average-case reductions in this setting, raising the possibility of cryptographic primitives based on fine-grained hardness. Boix-Adserà, Brennan, and Bresler (2019) extended this in their 2019 paper. Lower bounds for dynamic graph problems and connections to the cell-probe model of data structures continue to be active areas.
… excerpt ends here. Continue reading the full article.