Proceedings

Taming Treewidth DP with Modulators: A General Booster for Graph Heuristics

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 6299-6307.

https://doi.org/10.24963/ijcai.2026/701

Abstract

Treewidth is a fundamental graph invariant that quantifies how tree-like

a given graph is. It is extensively used with dynamic programming to

design fixed-parameter tractable algorithms for many NP-hard graph

combinatorial optimization problems. However, despite broad theoretical

applicability, treewidth dynamic programming (TDP) does not scale in

practice beyond graphs with very small treewidth. Rather than applying

TDP as a standalone technique, we demonstrate that TDP can serve as a

broadly applicable enhancer for a wide range of graph combinatorial

optimization algorithms. Our framework leverages the concept of

treewidth modulators, which refer to vertex sets whose removal

significantly reduces the treewidth. We further propose an empirically

efficient procedure for generating such treewidth modulators. To enhance

an algorithm ?, we use ? to heuristically make decisions on the

modulators vertices, after which the remaining decisions outside the

treewidth modulators become scalable for TDP.

To demonstrate the general applicability of our proposed framework. We

experimented with three classic graph combinatorial optimization models:

Maximum Independent Set, Minimum Vertex Cover, and Max Cut. We apply TDP

to enhance algorithms across diverse paradigms, including evolutionary

search, greedy heuristics, and graph-neural-network-based heuristics.

For all combinations of optimization models and base algorithms, TDP

significantly improves performance over the original methods. In many

settings, TDP-enhanced greedy heuristics are competitive with, and

sometimes clearly outperform, state-of-the-art commercial solvers.

  1. [Ahn et al., 2020] Sungsoo Ahn, Younggyo Seo, and Jinwoo Shin. Learning what to defer for maximum independent sets. In International conference on machine learning, pages 134-144. PMLR, 2020.
  2. [Angelini and Ricci-Tersenghi, 2022] Maria Chiara Angelini and Federico Ricci-Tersenghi. Modern graph neural net- works do worse than classical greedy algorithms in solving combinatorial optimization problems like maximum inde- pendent set. Nature Machine Intelligence, 5:29-31, 2022.
  3. [Bannach et al., 2017] Max Bannach, Sebastian Berndt, and Thorsten Ehlers. Jdrasil: A modular library for computing tree decompositions. In The Sea, 2017.
  4. [Baste et al., 2020] Julien Baste, Ignasi Sau, and Dimitrios M. Thilikos. Hitting minors on bounded treewidth graphs. i. general upper bounds. SIAM J. Discret. Math., 34:1623- 1648, 2020.
  5. [Bodlaender et al., 2023] Hans L. Bodlaender, Édouard Bon- net, Lars Jaffke, Dušan Knop, Paloma T. Lima, Martin Milanič, Sebastian Ordyniak, Sukanya Pandey, and Ondřej Suchý. Treewidth is np-complete on cubic graphs (and related results), 2023.
  6. [Bodlaender, 1988] Hans L. Bodlaender. Dynamic program- ming on graphs with bounded treewidth. In International Colloquium on Automata, Languages and Programming, 1988.
  7. [Boettcher, 2022] Stefan Boettcher. Inability of a graph neu- ral network heuristic to outperform greedy algorithms in solving combinatorial optimization problems. Nature Ma- chine Intelligence, 5:24-25, 2022.
  8. [Courcelle, 1990] Bruno Courcelle. The monadic second- order logic of graphs. i. recognizable sets of finite graphs. Inf. Comput., 85:12-75, 1990.
  9. [Cygan et al., 2011] Marek Cygan, Daniel Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. On the hardness of losing width. Theory of Computing Systems, 54:73-82, 2011.
  10. [Cygan et al., 2020] Marek Cygan, F. Fomin, Lukasz Kowa- lik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized algo- rithms. In Beyond the Worst-Case Analysis of Algorithms, 2020.
  11. [Downey et al., 2013] Rodney G Downey, Michael R Fel- lows, et al. Fundamentals of parameterized complexity, volume 4. Springer, 2013.
  12. [Erdos and Rényi, 1984] Paul L. Erdos and Alfréd Rényi. On the evolution of random graphs. Transactions of the Ameri- can Mathematical Society, 286:257-257, 1984.
  13. [Fomin et al., 2015] F. Fomin, Daniel Lokshtanov, Neeldhara Misra, M. S. Ramanujan, and Saket Saurabh. Solving d-sat via backdoors to small treewidth. In ACM-SIAM Symposium on Discrete Algorithms, 2015.
  14. [Glover et al., 2019] Fred W. Glover, Gary A. Kochenberger, and Yu Du. Quantum bridge analytics i: a tutorial on formulating and using qubo models. 4OR, 17:335 -371, 2019.
  15. Gurobi Optimization, LLC. Gurobi Optimizer Reference Manual, 2024.
  16. [Jablonský, 2015] Josef Jablonský. Benchmarks for current linear and mixed integer optimization solvers. Acta Univer- sitatis Agriculturae et Silviculturae Mendelianae Brunensis, 63:1923-1928, 2015.
  17. [Jansen et al., 2021] Bart M. P. Jansen, Jari J. H. de Kroon, and Michał Włodarczyk. Vertex deletion parameterized by elimination distance and even less. Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, 2021.
  18. [Karalias and Loukas, 2020] Nikolaos Karalias and Andreas Loukas. Erdos goes neural: an unsupervised learning frame- work for combinatorial optimization on graphs. ArXiv, abs/2006.10643, 2020.
  19. [Lampis, 2013] Michael Lampis. Parameterized approxima- tion schemes using graph widths. In International Collo- quium on Automata, Languages and Programming, 2013.
  20. [Lewis and Yannakakis, 1980] John M. Lewis and Mihalis Yannakakis. The node-deletion problem for hereditary properties is np-complete. J. Comput. Syst. Sci., 20:219- 230, 1980.
  21. [Maniu et al., 2019] Silviu Maniu, Pierre Senellart, and Suraj Jog. An experimental study of the treewidth of real-world graph data (extended version). In International Conference on Database Theory, 2019.
  22. [Marchand et al., 2021] Bertrand Marchand, Yannick Ponty, and Laurent Bulteau. Tree diet: reducing the treewidth to unlock fpt algorithms in rna bioinformatics. Algorithms for Molecular Biology : AMB, 17, 2021.
  23. [Mittelmann, 2002] Hans D Mittelmann. Benchmark for opti- mization software. http://plato. asu. edu/bench. html, 2002. Link
  24. [Mittelmann, 2010] Hans Mittelmann. Mixed integer linear programming benchmark (serial codes), 2010.
  25. [Mittelmann, 2017] Hans D Mittelmann. Latest benchmarks of optimization software. In INFORMS Annual Meeting. Houston, TX, 2017.
  26. [Robertson and Seymour, 1984] Neil Robertson and Paul D. Seymour. Graph minors. iii. planar tree-width. J. Comb. Theory B, 36:49-64, 1984.
  27. [Schuetz et al., 2021] Martin J. A. Schuetz, John Kyle Brubaker, and Helmut G. Katzgraber. Combinatorial op- timization with physics-inspired graph neural networks. Nature Machine Intelligence, 4:367 -377, 2021.
  28. [Sun and Yang, 2023] Zhiqing Sun and Yiming Yang. Di- fusco: Graph-based diffusion solvers for combinatorial optimization. ArXiv, abs/2302.08224, 2023.
  29. [Sun et al., 2022] Haoran Sun, Etash K. Guha, and Hanjun Dai. Annealed training for combinatorial optimization on graphs, 2022.
  30. [Williams et al., 2003] Ryan Williams, Carla Pedro Gomes, and Bart Selman. Backdoors to typical case complexity. In International Joint Conference on Artificial Intelligence, 2003. IJCAI
  31. [Wu et al., 2014] Ledell Yu Wu, Per Austrin, Toniann Pitassi, and David Liu. Inapproximability of treewidth and related problems. J. Artif. Intell. Res., 49:569-600, 2014.

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

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