Kirchoff Matrices and Pfaffians to Design Deterministic Polynomial-Space Parameterized Algorithms

Gregory Z. Gutin, Felix Reidl, Magnus Wahlström, Meirav Zehavi · OpenReview

Abstract: In recent years, several powerful techniques have been developed to design randomized polynomial-space parameterized algorithms. In this paper, we introduce an enhancement of color coding to design deterministic polynomial-space parameterized algorithms. Our approach aims at reducing the number of random choices by exploiting the special structure of a solution. Using our approach, we derive the following deterministic algorithms:

  1. Polynomial-space $O^*(3.86^k)$-time (exponential-space $O^*(3.41^k)$-time) algorithm for $k$-Internal Out-Branching, improving upon the previously fastest exponential-space $O^*(5.14^k)$-time algorithm for this problem.
  2. Polynomial-space $O^*((2e)^{k+o(k)})$-time (exponential-space $O^*(4.32^k)$-time) algorithm for $k$-Colorful Out-Branching on arc-colored digraphs and $k$-Colorful Perfect Matching on planar edge-colored graphs. To obtain our polynomial space algorithms, we show that $(n,k,\alpha k)$-splitters ($\alpha\ge 1$) and in particular $(n,k)$-perfect hash families can be enumerated one by one with polynomial delay.

Introduction and Problem Definition

In the field of Fixed-Parameter Tractable (FPT) algorithms, researchers aim to solve NP-hard problems where the exponential complexity is restricted to a small parameter $k$. A persistent challenge in this domain is the trade-off between time complexity and space complexity, particularly when moving from randomized to deterministic algorithms.

Randomized algorithms often achieve high efficiency through probabilistic multilinearity detection but may require significant memory or lack deterministic guarantees. Conversely, many deterministic algorithms rely on dynamic programming, which typically consumes exponential space. This paper addresses the gap by designing deterministic algorithms that operate within polynomial space.

The primary focus is the $k$-Internal Out-Branching ($k$-IOB) problem, which asks whether a directed graph contains a spanning tree with at least $k$ internal nodes.

Definition of the Internal Out-Branching (IOB) problem.

Methodology: Color-Coding Multivariate Polynomials

The authors propose a framework that enhances traditional color-coding by integrating it with multivariate polynomials. The approach consists of four main components:

  1. Polynomial Identification: The problem is represented as a polynomial where each potential solution corresponds to a monomial. The Matrix Tree Theorem is utilized for branchings, and Pfaffians are used for planar matchings, ensuring these polynomials can be evaluated efficiently.
  2. Coloring Guides: To reduce the search space, the authors exploit the structural properties of the solution. For instance, an out-tree with $k$ internal vertices must contain a matching of size at least $k/2$. By finding a maximum matching first, they can "pre-color" parts of the solution, significantly pruning the number of required colors.
  3. Derandomization via Splitters: To achieve determinism without the usual memory overhead, the authors demonstrate that perfect hash families and splitters can be enumerated one-by-one with polynomial delay. This allows for on-the-fly generation rather than pre-computation and storage.
  4. Coefficient Extraction: Using an inclusion-exclusion formula, the algorithm checks for the presence of a "witnessing monomial." A non-zero coefficient indicates the existence of a solution.

Key Results

The framework yields significant improvements in deterministic time bounds for several problems, particularly for $k$-IOB. The results demonstrate that polynomial-space deterministic algorithms can be competitive with, and sometimes surpass, previous exponential-space counterparts.

Comparison of algorithms for k-Internal Out-Branching and related problems.

As shown in the table above, the proposed polynomial-space $O^*(3.86^k)$ algorithm for $k$-IOB improves upon the previous fastest exponential-space algorithm ($O^*(5.14^k)$). Other results include:

  • $k$-Colorful Out-Branching: $O^*((2e)^{k+o(k)})$ time in polynomial space.
  • $k$-Colorful Perfect Matching (Planar Graphs): $O^*((2e)^{k+o(k)})$ time in polynomial space.

Limitations and Future Directions

The current methodology for "Colorful Perfect Matching" is limited to planar graphs due to the reliance on Pfaffians. Extending these results to general graphs remains a challenge, as counting matchings in general graphs is #P-hard. Additionally, "Rainbow" problems—where a solution must contain exactly $k$ distinct colors—remain more difficult to fit into this algebraic framework than "colorful" problems.

Future work may explore the complexity of finding an $(\alpha_1(D) + k)$-internal out-branching, where $\alpha_1(D)$ is the size of the maximum matching, pushing the boundaries of structural guarantees in graph algorithms.

Summary updated

Abstract

In recent years, several powerful techniques have been developed to design {\em randomized} polynomial-space parameterized algorithms. In this paper, we introduce an enhancement of color coding to design deterministic polynomial-space parameterized algorithms. Our approach aims at reducing the number of random choices by exploiting the special structure of a solution. Using our approach, we derive the following deterministic algorithms (see Introduction for problem definitions). 1. Polynomial-space $O^*(3.86^k)$-time (exponential-space $O^*(3.41^k)$-time) algorithm for {\sc $k$-Internal Out-Branching}, improving upon the previously fastest {\em exponential-space} $O^*(5.14^k)$-time algorithm for this problem. 2. Polynomial-space $O^*((2e)^{k+o(k)})$-time (exponential-space $O^*(4.32^k)$-time) algorithm for {\sc $k$-Colorful Out-Branching} on arc-colored digraphs and {\sc $k$-Colorful Perfect Matching} on planar edge-colored graphs. To obtain our polynomial space algorithms, we show that $(n,k,\alpha k)$-splitters ($\alpha\ge 1$) and in particular $(n,k)$-perfect hash families can be enumerated one by one with polynomial delay.
BibTeX
@misc{gutin2017kirchoff,
  author = {Gregory Z. Gutin and Felix Reidl and Magnus Wahlström and Meirav Zehavi},
  title = {{Kirchoff Matrices and Pfaffians to Design Deterministic Polynomial-Space Parameterized Algorithms}},
  year = {2017},
  eprint = {1706.03698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.03698},
}

Loading related content...

Figure