A Tight Subexponential-Time Algorithm for Two-Page Book Embedding

Robert Ganian, Haiko Müller, Sebastian Ordyniak, Giacomo Paesani, Mateusz Rychlicki

Introduction

In graph drawing and computational geometry, the Two-Page Book Embedding (TPBE) problem is a fundamental challenge with applications ranging from VLSI design to bioinformatics. A book embedding involves placing all vertices of a graph on a single line, known as the "spine," and drawing edges as non-crossing curves within "pages" (half-planes) sharing that spine. While any graph can be embedded given enough pages, determining if a graph fits into just two pages is NP-hard.

A graph (left) and its corresponding two-page book embedding (right).

Mathematically, a graph is two-page embeddable if and only if it is subhamiltonian—that is, it can be augmented into a planar graph that contains a Hamiltonian cycle. Historically, algorithms for this problem were limited to $2^{O(n)}$ "brute force" approaches. Recent research from TU Wien and the University of Leeds has broken this barrier, providing a subexponential-time algorithm that is asymptotically optimal.

Algorithmic Breakthrough

The researchers developed a $2^{O(\sqrt{n})}$ algorithm for TPBE, effectively reaching the theoretical speed limit under the Exponential Time Hypothesis (ETH). Their approach utilizes the structural properties of planar graphs, specifically leveraging the fact that two-page embeddable graphs are a subset of planar graphs.

The core of the result lies in a novel fixed-parameter tractable (FPT) algorithm parameterized by the graph's treewidth ($tw$). By showing the problem is solvable in $2^{O(tw)} \cdot n$ time, and noting that planar graphs have a treewidth of $O(\sqrt{n})$, the subexponential bound follows naturally.

Methodology: Decompositions and Normal Forms

The algorithm's efficiency stems from three primary technical innovations:

  1. Sphere-Cut Decompositions: The authors use sphere-cut decompositions, a type of branch decomposition specifically designed for planar graphs. This allows for a structured dynamic programming (DP) approach.
  2. The Normal Form Lemma: A significant hurdle in DP for Hamiltonian cycles is the potential for the cycle to cross a decomposition boundary many times. The authors proved a "Normal Form" theorem, demonstrating that if a solution exists, there is one where the cycle crosses any boundary (or "noose") at most twice. This drastically reduces the state space of the DP.
  3. XOR Framework: To manage the complexity of the DP states, the authors introduced a framework using XOR operations to track connectivity across boundaries, simplifying the case analysis.
Decomposition and boundary crossing logic: (a) a planar graph, (b) its decomposition tree, and (c) the cycle crossing a boundary.

Key Results and Structural Parameters

Beyond the subexponential runtime, the paper provides several significant contributions:

  • Optimal Complexity: The $2^{O(\sqrt{n})}$ bound is tight; ETH suggests no $2^{o(\sqrt{n})}$ algorithm exists for this class of problems.
  • Practical FPT: The $2^{O(tw)} \cdot n$ algorithm replaces previous theoretical results based on Courcelle’s Theorem, which were not practically implementable.
  • Feedback Edge Number: The paper settles an open question by proving that computing minimum-page embeddings is FPT when parameterized by the feedback edge number $k$, with a runtime of $2^{O(\sqrt{k})} \cdot n^{O(1)}$.

Conclusion and Future Directions

This work represents a major leap in our understanding of book embeddings. However, the subexponential result is currently restricted to the two-page case. For $k > 2$ pages, the link to planarity and subhamiltonicity is lost, making the problem significantly harder. Whether single-exponential algorithms (in treewidth) exist for 3 or 4 pages remains a key open question in the field.

Summary updated

BibTeX
@inproceedings{ganian2024tight,
  author = {Robert Ganian and Haiko Müller and Sebastian Ordyniak and Giacomo Paesani and Mateusz Rychlicki},
  title = {{A Tight Subexponential-Time Algorithm for Two-Page Book Embedding}},
  booktitle = {ICALP},
  year = {2024},
  doi = {10.4230/lipics.icalp.2024.68},
}
Figure