Skip to main content
QUICK REVIEW

[Paper Review] Faster Detours in Undirected Graphs

Shyan Akmal, Virginia Vassilevska Williams|arXiv (Cornell University)|Jan 1, 2023
Complexity and Algorithms in GraphsComputer Science1 citations
TL;DR

This paper presents faster parameterized algorithms for the k-Detour and k-Longest Detour problems in undirected graphs, leveraging a novel deterministic and randomized approach based on bipartitioned subgraphs. It achieves a runtime of 1.853^k poly(n) for randomized k-Detour and 4.082^k poly(n) for deterministic k-Detour, significantly improving over prior bounds of 2.746^k and 6.523^k, respectively, by exploiting structural constraints in bipartitioned path detection.

ABSTRACT

The k-Detour problem is a basic path-finding problem: given a graph G on n vertices, with specified nodes s and t, and a positive integer k, the goal is to determine if G has an st-path of length exactly dist(s,t) + k, where dist(s,t) is the length of a shortest path from s to t. The k-Detour problem is NP-hard when k is part of the input, so researchers have sought efficient parameterized algorithms for this task, running in f(k)poly(n) time, for f(⋅) as slow-growing as possible. We present faster algorithms for k-Detour in undirected graphs, running in 1.853^k poly(n) randomized and 4.082^kpoly(n) deterministic time. The previous fastest algorithms for this problem took 2.746^k poly(n) randomized and 6.523^k poly(n) deterministic time [Bezáková-Curticapean-Dell-Fomin, ICALP 2017]. Our algorithms use the fact that detecting a path of a given length in an undirected graph is easier if we are promised that the path belongs to what we call a "bipartitioned" subgraph, where the nodes are split into two parts and the path must satisfy constraints on those parts. Previously, this idea was used to obtain the fastest known algorithm for finding paths of length k in undirected graphs [Björklund-Husfeldt-Kaski-Koivisto, JCSS 2017], intuitively by looking for paths of length k in randomly bipartitioned subgraphs. Our algorithms for k-Detour stem from a new application of this idea, which does not involve choosing the bipartitioned subgraphs randomly. Our work has direct implications for the k-Longest Detour problem, another related path-finding problem. In this problem, we are given the same input as in k-Detour, but are now tasked with determining if G has an st-path of length at least dist(s,t)+k. Our results for k-Detour imply that we can solve k-Longest Detour in 3.432^k poly(n) randomized and 16.661^k poly(n) deterministic time. The previous fastest algorithms for this problem took 7.539^k poly(n) randomized and 42.549^k poly(n) deterministic time [Fomin et al., STACS 2022].

Motivation & Objective

  • To improve the parameterized time complexity of the k-Detour problem in undirected graphs, which is NP-hard when k is part of the input.
  • To develop faster algorithms for k-Longest Detour by reducing it to multiple instances of k-Detour and k-Longest Path.
  • To eliminate reliance on random bipartitioning in path-finding techniques by introducing a deterministic framework for detecting paths in constrained subgraphs.
  • To close the gap between the complexity of k-Detour and k-Path, and between k-Longest Detour and k-Longest Path, by achieving runtime close to the fastest known for k-Path.

Proposed method

  • The algorithm uses a novel decomposition of the graph into bipartitioned subgraphs where paths must satisfy constraints on vertex partition membership.
  • It introduces a parameterized approach to detect paths of length ℓ in bipartitioned subgraphs using a combination of dynamic programming and algebraic techniques.
  • The method balances two runtime components: one for paths with a fixed number of vertices in each partition and another for paths with variable partitioning, using a tunable parameter α to optimize the trade-off.
  • For randomized algorithms, the approach avoids random bipartitioning by using a deterministic construction that preserves path detection probability.
  • The algorithm reduces k-Detour to solving poly(n) instances of ℓ-Path for ℓ ≤ 3k/2 + 1, with improved bounds via fast bipartitioned path detection.
  • For deterministic algorithms, it combines known deterministic k-Path algorithms with a new analysis of bipartitioned path detection to achieve improved runtime.

Experimental results

Research questions

  • RQ1Can the k-Detour problem in undirected graphs be solved faster than the current 2.746^k poly(n) randomized bound?
  • RQ2Is it possible to achieve a runtime for k-Detour close to that of k-Path (1.657^k poly(n)) in undirected graphs?
  • RQ3Can the k-Longest Detour problem be solved in time significantly below the previous 7.539^k poly(n) randomized bound?
  • RQ4Does the parameter blow-up from k to 2k in existing reductions for k-Longest Detour represent a fundamental barrier, or can it be avoided?
  • RQ5Can faster deterministic algorithms be designed for the (ℓ, k₁, ℓ₂)-Bipartitioned Path problem in undirected graphs?

Key findings

  • The paper achieves a randomized runtime of 1.853^k poly(n) for k-Detour in undirected graphs, improving upon the previous best of 2.746^k poly(n).
  • A deterministic algorithm for k-Detour runs in 4.082^k poly(n) time, improving over the prior 6.523^k poly(n) bound.
  • For k-Longest Detour, the paper presents a randomized algorithm running in 3.432^k poly(n) time, improving on the prior 7.539^k poly(n) bound.
  • The deterministic k-Longest Detour algorithm runs in 16.661^k poly(n) time, improving over the prior 42.549^k poly(n) bound.
  • The key innovation lies in a new deterministic method for detecting paths in bipartitioned subgraphs, avoiding random sampling while maintaining efficiency.
  • The results suggest that k-Detour may be solvable in time close to k-Path, and k-Longest Detour close to k-Longest Path, under current algorithmic models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.