Skip to main content
QUICK REVIEW

[Paper Review] Algorithmic Applications of Baur-Strassen's Theorem: Shortest Cycles, Diameter and Matchings

Marek Cygan, Harold N. Gabow|arXiv (Cornell University)|Apr 7, 2012
Advanced Graph Theory ResearchComputer Science29 references11 citations
TL;DR

This paper presents a general algorithmic framework leveraging Baur-Strassen's theorem and Strojohann's determinant algorithm to solve shortest cycles, diameter, radius, and minimum weight perfect matching problems in graphs with integer edge weights in $[-W, W]$ and no negative cycles. It achieves $ ilde{O}(Wn^{ au})$ time complexity for all these problems, providing the first such efficient solution for undirected graphs with negative weights and resolving an open problem in minimum weight perfect matching for general graphs.

ABSTRACT

Consider a directed or an undirected graph with integral edge weights from the set [-W, W], that does not contain negative weight cycles. In this paper, we introduce a general framework for solving problems on such graphs using matrix multiplication. The framework is based on the usage of Baur-Strassen's theorem and of Strojohann's determinant algorithm. It allows us to give new and simple solutions to the following problems: * Finding Shortest Cycles -- We give a simple ilde{O}(Wn^ω) time algorithm for finding shortest cycles in undirected and directed graphs. For directed graphs (and undirected graphs with non-negative weights) this matches the time bounds obtained in 2011 by Roditty and Vassilevska-Williams. On the other hand, no algorithm working in ilde{O}(Wn^ω) time was previously known for undirected graphs with negative weights. Furthermore our algorithm for a given directed or undirected graph detects whether it contains a negative weight cycle within the same running time. * Computing Diameter and Radius -- We give a simple ilde{O}(Wn^ω) time algorithm for computing a diameter and radius of an undirected or directed graphs. To the best of our knowledge no algorithm with this running time was known for undirected graphs with negative weights. * Finding Minimum Weight Perfect Matchings -- We present an ilde{O}(Wn^ω) time algorithm for finding minimum weight perfect matchings in undirected graphs. This resolves an open problem posted by Sankowski in 2006, who presented such an algorithm but only in the case of bipartite graphs. In order to solve minimum weight perfect matching problem we develop a novel combinatorial interpretation of the dual solution which sheds new light on this problem. Such a combinatorial interpretation was not know previously, and is of independent interest.

Motivation & Objective

  • To develop a unified, algebraic framework for solving fundamental shortest path and matching problems in weighted graphs using matrix multiplication.
  • To address the lack of efficient algorithms for shortest cycles and perfect matching in undirected graphs with negative edge weights.
  • To resolve an open problem posed by Sankowski (2006) on computing minimum weight perfect matchings in general undirected graphs.
  • To extend existing techniques to compute diameter and radius in graphs with negative weights, where prior methods were limited to non-negative weights.

Proposed method

  • Leverages Baur-Strassen's theorem to compute partial derivatives of determinants of polynomial matrices, enabling efficient computation of shortest cycle weights.
  • Uses Strojohann's algorithm for fast computation of determinants over polynomial rings.
  • Applies random substitution over a finite field to evaluate symbolic derivatives and detect non-zero entries indicating cycle or path membership.
  • Reduces the problem of finding shortest cycles in undirected graphs to $n$ minimum weight perfect matching computations via vertex splitting.
  • Combines determinant-based algebraic computation with binary search to compute diameter and radius in $ ilde{O}(Wn^{ au})$ time.
  • Introduces a novel combinatorial interpretation of dual solutions in minimum weight perfect matching, providing new structural insight.

Experimental results

Research questions

  • RQ1Can a unified algebraic framework based on matrix multiplication be used to solve multiple fundamental graph problems in graphs with negative weights?
  • RQ2Is it possible to compute the shortest cycle in an undirected graph with negative edge weights in $ ilde{O}(Wn^{ au})$ time?
  • RQ3Can the minimum weight perfect matching problem in general (non-bipartite) undirected graphs be solved in $ ilde{O}(Wn^{ au})$ time, resolving an open problem from 2006?
  • RQ4Can the diameter and radius of a graph with negative edge weights be computed in $ ilde{O}(Wn^{ au})$ time using algebraic methods?
  • RQ5Can the set of vertices lying on cycles of length at most $t$ be computed efficiently using symbolic determinant computation?

Key findings

  • The paper presents the first $ ilde{O}(Wn^{ au})$-time algorithm for finding shortest cycles in undirected graphs with negative edge weights.
  • It provides the first $ ilde{O}(Wn^{ au})$-time algorithm for computing diameter and radius in undirected graphs with negative edge weights.
  • It resolves Sankowski’s 2006 open problem by giving an $ ilde{O}(Wn^{ au})$-time algorithm for minimum weight perfect matching in general undirected graphs.
  • The framework detects negative weight cycles in $ ilde{O}(Wn^{ au})$ time, matching the best-known bounds for directed graphs.
  • The algorithm computes the set of vertices lying on cycles of length at most $t$ in $ ilde{O}(Wn^{ au})$ time, improving over the previous $ ilde{O}(Wn^{ au}t)$ bound.
  • A novel combinatorial interpretation of dual solutions in minimum weight perfect matching is developed, which is of independent theoretical interest.

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.