TL;DR
This paper introduces the first practical SAT-based approach to compute the exact twin-width of graphs. This new method allows researchers to determine the twin-width of many graphs for which it was previously unknown, opening doors for further theoretical and practical applications in graph theory and computer science.
What Problem Does This Paper Address?
The paper tackles the challenge of computing the "twin-width" of a graph, a relatively new graph invariant. Twin-width is significant because graphs with bounded twin-width allow for fixed-parameter tractable algorithms for problems expressible in first-order logic, including many NP-hard problems. However, computing a certificate for this bounded twin-width (which is necessary for these algorithms to work) has been an open and difficult problem, with no known practical algorithms. The authors aim to bridge this gap by developing an efficient method to compute the exact twin-width and its associated certificate.
Methods
The core contribution of this paper is the development of two SAT (Satisfiability) encodings for computing the twin-width of a graph. These encodings leverage a characterization of twin-width based on "elimination sequences," which are related to elimination orderings used in other graph width measures like treewidth.
The "relative encoding" uses variables to represent the relative ordering of vertices in an elimination sequence and the structure of a "contraction tree." It enforces transitivity for the ordering and ensures each vertex has a unique parent in the tree. The encoding then captures the edges of intermediate graphs in the elimination sequence.
The "absolute encoding" attempts to reduce the number of variables and clauses by directly encoding the absolute position of each vertex in the elimination ordering. While more succinct, it introduces complexity in encoding relationships and suffers from symmetries.
The authors also propose a preprocessing step based on modular decomposition to break down larger graphs into smaller, prime components, which can significantly speed up the computation. Additionally, they introduce methods for computing lower and upper bounds on twin-width to further limit the search space for the SAT solver.
Datasets
The paper evaluates its approach on several types of graphs:
- Random Graphs: Erdős-Rényi graphs G(n, p) with varying sizes (n=10, 15, 20) and edge probabilities (p).
- Named Graphs: A collection of well-known graphs from combinatorial literature (e.g., Brinkmann, Chvátal, Clebsch, Paley graphs). Many of these graphs were found to be prime, meaning preprocessing had no effect.
- Smallest Graphs for Twin-Width Numbers: The authors generated prime graphs to identify the smallest graphs exhibiting specific twin-widths (d=1, 2, 3, 4, 5, 6).
No new benchmark datasets were introduced; instead, the authors used existing named graphs and generated random graphs and specific small graphs for twin-width number identification.
Key Insights and Ideas
- SAT Solvers as a Tool for Graph Invariants: The paper demonstrates the power of using SAT solvers, a well-established tool in computer science, to tackle complex combinatorial problems like computing graph invariants.
- Twin-Width Characterization via Elimination Sequences: The novel characterization of twin-width through elimination sequences is crucial for developing the SAT encodings.
- Relative Encoding's Superiority: Despite being more verbose, the "relative encoding" significantly outperforms the "absolute encoding" in practice, especially on symmetric graphs like Paley graphs. This highlights the importance of exploiting graph symmetries, even implicitly.
- Twin-Width Numbers are Challenging: Computing the smallest graphs for a given twin-width (twin-width numbers) is a difficult task, and this work provides the first few such numbers and tight bounds.
- Paley Graphs and Twin-Width: The Paley graph family exhibits a surprisingly high twin-width relative to its size, and the paper suggests a general formula for their twin-width, tww(Paley-n) = (n-1)/2.
Key Results
- The paper presents the first practical SAT-based approach for computing the exact twin-width of graphs.
- They successfully computed the exact twin-width for numerous named graphs where it was previously unknown. For example, they found the twin-width of Paley-73 to be 36.
- The "relative encoding" was able to find the twin-width of Paley-73 in under three hours, while the "absolute encoding" struggled even for smaller graphs.
- The first few twin-width numbers were identified: 4, 5, 8, 9, with the fifth being 11 or 12, and the sixth at most 13.
- They found that smaller grid graphs (up to 8x6) have a twin-width of 3, which is surprisingly low given their known unbounded treewidth and clique-width.
Limitations and Future Work
- Absolute Encoding Performance: The absolute encoding, while more succinct, suffers from performance issues due to symmetries and the complexity of encoding edge relationships.
- Scalability: While the relative encoding is effective, it struggles with general graphs larger than 40 vertices.
- General Twin-Width Bounds: The paper's results for specific graph classes (like Paley graphs) suggest potential general bounds, but further theoretical work is needed to prove them.
- Dynamic Programming Algorithms: The authors suggest that their twin-width computations can be used to implement and test dynamic programming algorithms for problems like k-Independent Set and k-Dominating Set, which are single exponential in twin-width.
- Intractability Proofs: The work could be a stepping stone for constructing gadgets to prove the theoretical intractability of twin-width computation, a problem that remains open.
Summary updated