Table of Contents
Fetching ...

UAIC_Twin_Width: An Exact yet Efficient Twin-Width Algorithm

Andrei Arhire, Matei Chiriac, Radu Timofte

TL;DR

Two algorithms for efficiently computing the twin-width of graphs with arbitrary structures are proposed, comprising one exact and one heuristic approach.

Abstract

Twin-width is a recently formulated graph and matrix invariant that intuitively quantifies how far a graph is from having the structural simplicity of a co-graph. Since its introduction in 2020, twin-width has received increasing attention and has driven research leading to notable advances in algorithmic fields, including graph theory and combinatorics. The 2023 edition of the Parameterized Algorithms and Computational Experiments (PACE) Challenge aimed to fulfill the need for a diverse and consistent public benchmark encompassing various graph structures, while also collecting state-of-the-art heuristic and exact approaches to the problem. In this paper, we propose two algorithms for efficiently computing the twin-width of graphs with arbitrary structures, comprising one exact and one heuristic approach. The proposed solutions performed strongly in the competition, with the exact algorithm achieving the best student result and ranking fourth overall. We release our source code publicly to enable practical applications of our work and support further research.

UAIC_Twin_Width: An Exact yet Efficient Twin-Width Algorithm

TL;DR

Two algorithms for efficiently computing the twin-width of graphs with arbitrary structures are proposed, comprising one exact and one heuristic approach.

Abstract

Twin-width is a recently formulated graph and matrix invariant that intuitively quantifies how far a graph is from having the structural simplicity of a co-graph. Since its introduction in 2020, twin-width has received increasing attention and has driven research leading to notable advances in algorithmic fields, including graph theory and combinatorics. The 2023 edition of the Parameterized Algorithms and Computational Experiments (PACE) Challenge aimed to fulfill the need for a diverse and consistent public benchmark encompassing various graph structures, while also collecting state-of-the-art heuristic and exact approaches to the problem. In this paper, we propose two algorithms for efficiently computing the twin-width of graphs with arbitrary structures, comprising one exact and one heuristic approach. The proposed solutions performed strongly in the competition, with the exact algorithm achieving the best student result and ranking fourth overall. We release our source code publicly to enable practical applications of our work and support further research.

Paper Structure

This paper contains 6 sections, 3 figures.

Figures (3)

  • Figure 1: Vertex contraction example showing how red and black edges are updated when merging vertices $u$ and $v$ into $uv$.
  • Figure 2: Contraction sequence showing how the red and black edges are updated. The resulting graph has twin-width at most 2. Adapted from berge2021deciding.
  • Figure 3: Timeline of the 2023 edition of the PACE Challenge. Image adapted from bannach2023pace.