Proceedings

Computing Twin-width with SAT and Branch & Bound

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 2013-2021.

https://doi.org/10.24963/ijcai.2023/224

Abstract

The graph width-measure twin-width recently attracted great attention because of its solving power and generality. Many prominent NP-hard problems are tractable on graphs of bounded twin-width if a certificate for the twin-width bound is provided as an input. Bounded twin-width subsumes other prominent structural restrictions such as bounded treewidth and bounded rank-width.

Computing such a certificate is NP-hard itself, already for twin-width 4, and the only known implemented algorithm for twin-width computation is based on a SAT encoding.

In this paper, we propose two new algorithmic approaches for computing twin-width that

significantly improve the state of the art.

Firstly, we develop a SAT encoding that is far more compact than the known encoding and consequently scales to larger graphs. Secondly, we propose a new Branch & Bound algorithm for twin-width that, on many graphs, is significantly faster than the SAT encoding. It utilizes a sophisticated caching system for partial solutions.

Both algorithmic approaches are based on new conceptual insights into twin-width computation,

including the reordering of contractions.

  1. [Ahn et al., 2022] Jungho Ahn, Kevin Hendrey, Donggyu Kim, and Sang-il Oum. Bounds for the twin-width of graphs. SIAM J. Discrete Math., 36(3):2352-2366, 2022.
  2. [Bailleux and Boufkhad, 2003] Olivier Bailleux and Yacine Boufkhad. Efficient CNF encoding of boolean cardinal- ity constraints. In Francesca Rossi, editor, Principles and Practice of Constraint Programming -CP 2003, 9th Inter- national Conference, CP 2003, Kinsale, Ireland, Septem- ber 29 -October 3, 2003, Proceedings, volume 2833 of Lecture Notes in Computer Science, pages 108-122. Springer Verlag, 2003.
  3. [Balabán and Hlinený, 2021] Jakub Balabán and Petr Hli- nený. Twin-width is linear in the poset width. In Petr A. Golovach and Meirav Zehavi, editors, 16th International Symposium on Parameterized and Exact Computation, IPEC 2021, September 8-10, 2021, Lisbon, Portugal, vol- ume 214 of LIPIcs, pages 6:1-6:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021.
  4. [Balabán et al., 2022] Jakub Balabán, Petr Hlinený, and Jan Jedelský. Twin-width and transductions of proper k- mixed-thin graphs. In Michael A. Bekos and Michael Kaufmann, editors, Graph-Theoretic Concepts in Com- puter Science -48th International Workshop, WG 2022, Tübingen, Germany, June 22-24, 2022, Revised Selected Papers, volume 13453 of Lecture Notes in Computer Sci- ence, pages 43-55. Springer, 2022.
  5. [Bergé et al., 2022] Pierre Bergé, Édouard Bonnet, and Hugues Déprés. Deciding twin-width at most 4 is NP- complete. In Mikolaj Bojanczyk, Emanuela Merelli, and David P. Woodruff, editors, 49th International Colloquium on Automata, Languages, and Programming, ICALP 2022, July 4-8, 2022, Paris, France, volume 229 of LIPIcs, pages 18:1-18:20. Schloss Dagstuhl -Leibniz-Zentrum für In- formatik, 2022.
  6. [Biere et al., 2020] Armin Biere, Katalin Fazekas, Mathias Fleury, and Maximillian Heisinger. CaDiCaL, Kissat, Paracooba, Plingeling and Treengeling entering the SAT Competition 2020. In Tomas Balyo, Nils Froleyks, Marijn Heule, Markus Iser, Matti Järvisalo, and Martin Suda, ed- itors, Proc. of SAT Competition 2020 -Solver and Bench- mark Descriptions, volume B-2020-1 of Department of Computer Science Report Series B, pages 51-53. Univer- sity of Helsinki, 2020.
  7. [Bonnet et al., 2020] Édouard Bonnet, Eun Jung Kim, Stéphan Thomassé, and Rémi Watrigant. Twin-width I: tractable FO model checking. In 61st IEEE Annual Sym- posium on Foundations of Computer Science, FOCS 2020, pages 601-612. IEEE, 2020. Full version appeared in the J. ACM 69(1): 3:1-3:46 (2022).
  8. [Bonnet et al., 2021a] Édouard Bonnet, Colin Geniet, Eun Jung Kim, Stéphan Thomassé, and Rémi Watrigant. Twin-width II: small classes. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms, SODA 2021, pages 1977-1996. SIAM, 2021.
  9. [Bonnet et al., 2021b] Édouard Bonnet, Colin Geniet, Eun Jung Kim, Stéphan Thomassé, and Rémi Watrigant. Twin-width III: max independent set, min dominating set, and coloring. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021, July 12-16, 2021, Glasgow, Scotland (Virtual Conference), volume 198 of LIPIcs, pages 35:1-35:20. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2021.
  10. [Bonnet et al., 2022a] Édouard Bonnet, Dibyayan Chakraborty, Eun Jung Kim, Noleen Köhler, Raul Lopes, and Stéphan Thomassé. Twin-width VIII: delin- eation and win-wins. In Holger Dell and Jesper Nederlof, editors, 17th International Symposium on Parameter- ized and Exact Computation, IPEC 2022, September 7-9, 2022, Potsdam, Germany, volume 249 of LIPIcs, pages 9:1-9:18. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  11. [Bonnet et al., 2022b] Édouard Bonnet, Dibyayan Chakraborty, Eun Jung Kim, Noleen Köhler, Raul Lopes, and Stéphan Thomassé. Twin-width VIII: delin- eation and win-wins. In Holger Dell and Jesper Nederlof, editors, 17th International Symposium on Parameter- ized and Exact Computation, IPEC 2022, September 7-9, 2022, Potsdam, Germany, volume 249 of LIPIcs, pages 9:1-9:18. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  12. [Bonnet et al., 2022c] Édouard Bonnet, Ugo Giocanti, Patrice Ossona de Mendez, Pierre Simon, Stéphan Thomassé, and Szymon Torunczyk. Twin-width IV: ordered graphs and matrices. In Stefano Leonardi and Anupam Gupta, editors, STOC '22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June 20 -24, 2022, pages 924-937. ACM, 2022.
  13. [Bonnet et al., 2022d] Édouard Bonnet, Ugo Giocanti, Patrice Ossona de Mendez, and Stéphan Thomassé. Twin-width V: linear minors, modular counting, and matrix multiplication. CoRR, abs/2209.12023, 2022.
  14. [Bonnet et al., 2022e] Édouard Bonnet, Eun Jung Kim, Amadeus Reinald, and Stéphan Thomassé. Twin-width VI: the lens of contraction sequences. In Joseph (Seffi) Naor and Niv Buchbinder, editors, Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 -12, 2022, pages 1036-1056. SIAM, 2022.
  15. [Bonnet et al., 2022f] Édouard Bonnet, Eun Jung Kim, Amadeus Reinald, Stéphan Thomassé, and Rémi Watri- gant. Twin-width and polynomial kernels. Algorithmica, 84(11):3300-3337, 2022.
  16. [Dreier et al., 2022] Jan Dreier, Jakub Gajarský, Yiting Jiang, Patrice Ossona de Mendez, and Jean-Florent Ray- mond. Twin-width and generalized coloring numbers. Dis- crete Math., 345(3):112746, 2022.
  17. [Gajarský et al., 2022] Jakub Gajarský, Michal Pilipczuk, and Szymon Torunczyk. Stable graphs of bounded twin- width. In Christel Baier and Dana Fisman, editors, LICS '22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, Haifa, Israel, August 2 -5, 2022, pages 39:1-39:12. ACM, 2022.
  18. [Ganian et al., 2022] Robert Ganian, Filip Pokrývka, Andre Schidler, Kirill Simonov, and Stefan Szeider. Weighted model counting with twin-width. In Kuldeep S. Meel and Ofer Strichman, editors, 25th International Confer- ence on Theory and Applications of Satisfiability Testing, SAT 2022, August 2-5, 2022, Haifa, Israel, volume 236 of LIPIcs, pages 15:1-15:17. Schloss Dagstuhl -Leibniz- Zentrum für Informatik, 2022.
  19. [Jacob and Pilipczuk, 2022] Hugo Jacob and Marcin Pilipczuk. Bounding twin-width for bounded-treewidth graphs, planar graphs, and bipartite graphs. In Michael A. Bekos and Michael Kaufmann, editors, Graph-Theoretic Concepts in Computer Science -48th International Workshop, WG 2022, Tübingen, Germany, June 22-24, 2022, Revised Selected Papers, volume 13453 of Lecture Notes in Computer Science, pages 287-299. Springer Verlag, 2022.
  20. [Martins et al., 2014] Ruben Martins, Saurabh Joshi, Vasco Manquinho, and Inês Lynce. Incremental cardinality con- straints for maxsat. In Barry O'Sullivan, editor, Principles and Practice of Constraint Programming, pages 531-548, Cham, 2014. Springer International Publishing.
  21. [McKay and Piperno, 2014] Brendan D. McKay and Adolfo Piperno. Practical graph isomorphism, {II}. J. Symbolic Comput., 60(0):94-112, 2014.
  22. [Pilipczuk et al., 2022] Michal Pilipczuk, Marek Sokolowski, and Anna Zych-Pawlewicz. Compact representation for matrices of bounded twin-width. In Petra Berenbrink and Benjamin Monmege, editors, 39th International Symposium on Theoretical Aspects of Computer Science, STACS 2022, March 15-18, 2022, Marseille, France (Virtual Conference), volume 219 of LIPIcs, pages 52:1-52:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022.
  23. [Schidler and Szeider, 2022] André Schidler and Stefan Szeider. A SAT approach to twin-width. In Cynthia A. Phillips and Bettina Speckmann, editors, Proceedings of ALENEX 2022, the 24nd SIAM Symposium on Algorithm Engineering and Experiments, pages 67-77. SIAM, 2022.
  24. [Sinz, 2005] Carsten Sinz. Towards an optimal cnf encoding of boolean cardinality constraints. In Peter van Beek, ed- itor, Principles and Practice of Constraint Programming -CP 2005, 11th International Conference, CP 2005, Sit- ges, Spain, October 1-5, 2005, Proceedings, volume 3709 of Lecture Notes in Computer Science, pages 827-831. Springer Verlag, 2005.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards