Finding Diverse Solutions Parameterized by Cliquewidth
Karolina Drabik, Tomás Masarík
Abstract
Finding a few solutions for a given problem that are diverse, as opposed to finding a single best solution to solve the problem, has recently become a notable topic in theoretical computer science. It is important to mention that finding a single solution is computationally hard in most interesting cases. To overcome this issue, we analyze the problems under a finer scope of parameterized complexity, which often allows for tractable algorithms. That, in turn, enables us to find a diverse set of solutions. Recently, Baste, Fellows, Jaffke, Masařík, Oliveira, Philip, and Rosamond showed that under a standard structural parameterization by treewidth, one can find a set of diverse solutions for many problems with only a very small additional cost [Artificial Intelligence 2022]. In this paper, we investigate a much stronger graph parameter, the cliquewidth, which can additionally describe some dense graph classes. Broadly speaking, it describes graphs that can be recursively constructed by a few operations defined on graphs whose vertices are divided into a bounded number of groups, while each such group behaves uniformly with respect to any operation. We show that for any vertex problem, if we are given a dynamic program solving that problem on cliquewidth decomposition, we can modify it to produce a few solutions that are as diverse as possible with as little overhead as in the above-mentioned treewidth paper. As a consequence, we prove that a diverse version of any MSO1 expressible problem can be solved in linear FPT time parameterized by the cliquewidth, the number of sought solutions, and the number of quantifiers in the formula, which was a natural missing piece in the complexity landscape of structural graph parameters and logic for the diverse problems. We prove our results, allowing for a more general natural collection of diversity functions compared to only two mostly studied diversity functions previously. That might be of independent interest as a larger pool of different diversity functions can highlight various aspects of different solutions to a problem.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Modelling Diversity of SolutionsLinnea Ingmar, Maria Garcia de la Banda, Peter J. Stuckey, Guido TackAAAI 2020 · 35 citations
- Finding Diverse Trees, Paths, and MoreTesshu Hanaka, Yasuaki Kobayashi, Kazuhiro Kurita, Yota OtachiAAAI 2021 · 31 citations
- A Framework to Design Approximation Algorithms for Finding Diverse Solutions in Combinatorial ProblemsTesshu Hanaka, Masashi Kiyomi, Yasuaki Kobayashi, Yusuke Kobayashi et al.AAAI 2023 · 23 citations
- Fast FPT-approximation of branchwidthFedor V. Fomin, Tuukka KorhonenSTOC 2022 · 12 citations
- A logic-based algorithmic meta-theorem for mim-widthBenjamin Bergougnoux, Jan Dreier, Lars JaffkeSODA 2023 · 9 citations
Related papers
- Approximate Evaluation of Quantitative Second Order QueriesJan Dreier, Robert Ganian, Thekla HammLICS 2025 · 1 citation
- Vertex deletion parameterized by elimination distance and even lessBart M. P. Jansen, Jari J. H. de Kroon, Michal WlodarczykSTOC 2021
- Pre-Assignment Problem for Unique Minimum Vertex Cover on Bounded Clique-Width GraphsShinwoo An, Yeonsu Chang, Kyungjin Cho, O-joung Kwon et al.AAAI 2025 · 3 citations
- A nearly-linear time algorithm for linear programs with small treewidth: a multiscale representation of robust central pathSally Dong, Yin Tat Lee, Guanghao YeSTOC 2021 · 18 citations
- Computing Diverse Shortest Paths Efficiently: A Theoretical and Experimental StudyTesshu Hanaka, Yasuaki Kobayashi, Kazuhiro Kurita, See Woo Lee et al.AAAI 2022 · 24 citations
