Skip to main content
QUICK REVIEW

[Paper Review] Into the Square - On the Complexity of Quadratic-Time Solvable Problems

Michele Borassi, Pierluigi Crescenzi|arXiv (Cornell University)|Jul 18, 2014
Advanced Graph Theory ResearchComputer Science33 references23 citations
TL;DR

This paper investigates the fine-grained complexity of quadratic-time solvable problems, proving that transitivity checking and comparability graph recognition can be solved in truly subquadratic time using a modified transitive closure algorithm with time complexity $\mathcal{O}(mn^{(\omega+1)/4})$, where $m$ is the number of edges in the transitive closure and $\omega$ is the matrix multiplication exponent. It also establishes a Karp-style reduction framework showing that several other problems—such as computing betweenness centrality, minimum closeness centrality, and hyperbolicity—are as hard as $k$-Sat under the Strong Exponential Time Hypothesis (SETH).

ABSTRACT

This paper will analyze several quadratic-time solvable problems, and will classify them into two classes: problems that are solvable in truly subquadratic time (that is, in time $O(n^{2-ε})$ for some $ε>0$) and problems that are not, unless the well known Strong Exponential Time Hypothesis (SETH) is false. In particular, we will prove that some quadratic-time solvable problems are indeed easier than expected. We will provide an algorithm that computes the transitive closure of a directed graph in time $O(mn^{\frac{ω+1}{4}})$, where $m$ denotes the number of edges in the transitive closure and $ω$ is the exponent for matrix multiplication. As a side effect, we will prove that our algorithm runs in time $O(n^{\frac{5}{3}})$ if the transitive closure is sparse. The same time bounds hold if we want to check whether a graph is transitive, by replacing m with the number of edges in the graph itself. As far as we know, this is the fastest algorithm for sparse transitive digraph recognition. Finally, we will apply our algorithm to the comparability graph recognition problem (dating back to 1941), obtaining the first truly subquadratic algorithm. The second part of the paper deals with hardness results. Starting from an artificial quadratic-time solvable variation of the k-SAT problem, we will construct a graph of Karp reductions, proving that a truly subquadratic-time algorithm for any of the problems in the graph falsifies SETH. The analyzed problems are the following: computing the subset graph, finding dominating sets, computing the betweenness centrality of a vertex, computing the minimum closeness centrality, and computing the hyperbolicity of a pair of vertices. We will also be able to include in our framework three proofs already appeared in the literature, concerning the graph diameter computation, local alignment of strings and orthogonality of vectors.

Motivation & Objective

  • To classify quadratic-time solvable problems into those that admit truly subquadratic algorithms and those that do not, under the Strong Exponential Time Hypothesis (SETH).
  • To develop a faster algorithm for checking whether a sparse graph is transitive, improving upon known bounds for this fundamental graph problem.
  • To provide the first truly subquadratic algorithm for recognizing comparability graphs, a problem dating back to 1941 with no prior subquadratic solution.
  • To establish a framework of Karp reductions from a quadratic-time variant of $k$-Sat to multiple graph-theoretic problems, proving their hardness under SETH.
  • To unify and extend existing hardness results for problems such as 3-Sum, local string alignment, and orthogonal vector detection within a single complexity framework.

Proposed method

  • Propose a modified version of the classic transitive closure algorithm that runs in $\mathcal{O}(mn^{(\omega+1)/4})$ time, where $m$ is the number of edges in the transitive closure and $\omega$ is the matrix multiplication exponent.
  • Use the sparsity of the transitive closure to derive a bound of $\mathcal{O}(n^{5/3})$ for sparse graphs, achieving truly subquadratic performance.
  • Apply the new transitive closure algorithm to the comparability graph recognition problem, leveraging results from prior work to achieve the first known truly subquadratic algorithm.
  • Construct a Karp reduction graph starting from a quadratic-time variant of $k$-Sat, showing that a truly subquadratic algorithm for any problem in the chain would falsify SETH.
  • Prove reductions from the TwoCovering problem to bipartite dominating set problems and from BigTwoCovering to local string alignment, using binary string encoding with special separators to simulate set coverage.
  • Use case analysis on string alignment with wildcards to show that a common substring of length $5k$ exists if and only if two sets cover the universe, establishing equivalence between the problems.

Experimental results

Research questions

  • RQ1Can the transitivity check problem be solved in truly subquadratic time, and if so, what is the best possible time complexity?
  • RQ2Is there a truly subquadratic algorithm for recognizing comparability graphs, given their long history and fundamental role in graph theory?
  • RQ3Which quadratic-time solvable problems are as hard as $k$-Sat under the Strong Exponential Time Hypothesis (SETH)?
  • RQ4Can reductions from 3-Sum or similar problems be linked to SETH-based hardness in the context of graph centrality and hyperbolicity problems?
  • RQ5Are problems like transitive reduction, maximum flow, or maximum bipartite matching also hard under SETH, or do they admit faster algorithms?

Key findings

  • The transitivity check problem admits a truly subquadratic algorithm with time complexity $\mathcal{O}(mn^{(\omega+1)/4})$, where $\omega \approx 2.3727$, making it faster than $\mathcal{O}(n^2)$ for sparse graphs.
  • For sparse graphs with sparse transitive closure, the algorithm runs in $\mathcal{O}(n^{5/3})$ time, which is the fastest known bound for checking transitivity in such graphs.
  • The first truly subquadratic algorithm for recognizing comparability graphs is achieved by combining the new transitive closure algorithm with prior results from [28].
  • The paper proves that problems including betweenness centrality, minimum closeness centrality, and hyperbolicity are as hard as $k$-Sat under SETH, meaning no truly subquadratic algorithm exists unless SETH fails.
  • A Karp reduction framework is established, showing that $\textsc{TwoCovering} \leq_{ql} \textsc{Bipartite3DominatingSet}$ and $\textsc{BigTwoCovering} \leq_{ql} \textsc{LocalStringAlign}$, linking these problems to SETH-based hardness.
  • The paper unifies three existing hardness proofs—on split graph diameter, local string alignment, and orthogonal vector detection—within a single SETH-based reduction framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.