On the hardness of recognizing graphs of small mim-width and its variants

Max Dupré la Tour, Manuel Lafond, Ndiamé Ndiaye · DOI

Introduction

In structural graph theory, width parameters serve as a measure of a graph's complexity. Parameters like treewidth and cliquewidth have long been used to identify classes of graphs where otherwise NP-hard problems can be solved in polynomial time. Maximum Induced Matching width (mim-width) is a particularly powerful parameter; if a graph has a small, constant mim-width, a wide range of NP-hard problems—including Independent Set and Dominating Set—become tractable.

However, the utility of these algorithms depends on the ability to recognize whether a given graph has small mim-width and to construct a corresponding branch decomposition. While previous research established that distinguishing between very large widths is computationally difficult, the complexity of recognizing graphs with very small widths—the most practically relevant cases—remained an open question. This paper settles this mystery by proving that recognizing graphs with small mim-width and its variants is NP-hard.

Defining the Parameter Hierarchy

The paper investigates several variants of mim-width, including sim-width, omim-width, and Omim-width. These parameters are defined based on the size of specific types of matchings across cuts in a branch decomposition. A key contribution of this work is clarifying the relationship between these variants, establishing a strict hierarchy.

Figure 1: Comparison of different width parameters for a bipartite cut (A, B). The values illustrate the hierarchy: mim ≥ Omim ≥ omim ≥ sim.

As shown in Figure 1, for a given bipartite cut $(A, B)$, the same graph structure can yield different width values depending on the specific definition used. The authors establish that $mim \ge Omim \ge omim \ge sim$, providing a unified framework for understanding these structural measures.

Methodology: The Biology-Graph Theory Bridge

To prove these hardness results, the authors employ a complexity reduction from a problem in computational biology: Unrooted Quartet Consistency (UQC). UQC asks whether a set of constraints on how groups of four species (leaves) should be arranged in an evolutionary tree can be satisfied by a single phylogenetic tree.

Because width parameters are inherently tied to how a graph can be mapped onto a tree structure (a branch decomposition), UQC provides a more natural and elegant foundation for reduction than standard logic problems like 3-SAT. This approach allows the authors to avoid the "monstrously complex" gadgets typically required for such proofs.

Figure 2: A gadget construction used in the reduction from Unrooted Quartet Consistency, representing constraints on four elements.

The reduction utilizes specific gadgets, such as the one illustrated in Figure 2, to map quartet constraints into graph structures. By showing that solving the width recognition problem would allow one to solve UQC, the authors establish the NP-hardness of the former.

Key Results and Hardness at the Floor

The paper's primary findings demonstrate that the computational difficulty of these problems begins at the lowest possible values:

  • Theorem 1: Deciding if a graph has sim-width, omim-width, or Omim-width equal to 1 is NP-complete.
  • Theorem 2: Deciding if a graph has mim-width or linear mim-width $\le 2$ is NP-complete.

Furthermore, under the Exponential Time Hypothesis (ETH), the authors prove that these problems cannot be solved in $2^{o(n)}$ time, where $n$ is the number of vertices. This suggests that no algorithm significantly better than brute force exists for these tasks. Notably, these results hold even when the input is restricted to "perfect graphs" or graphs without long cycles, indicating that structural simplicity in other dimensions does not make width recognition easier.

Conclusion and Future Work

This work provides a definitive answer to the complexity of recognizing graphs with small structural width. While it proves hardness for most variants at width 1 or 2, the specific case of mim-width = 1 remains a challenging open problem. Additionally, the authors suggest that investigating the inapproximability of these parameters—determining whether we can efficiently find a width within a certain factor of the optimum—is a vital next step for the field.

Summary updated

BibTeX
@inproceedings{tour2026hardness,
  author = {Max Dupré la Tour and Manuel Lafond and Ndiamé Ndiaye},
  title = {{On the hardness of recognizing graphs of small mim-width and its variants}},
  booktitle = {ICALP},
  year = {2026},
  doi = {10.4230/lipics.icalp.2026.83},
}
Figure