Skip to main content
QUICK REVIEW

[Paper Review] The fast intersection transform with applications to counting paths

Andreas Björklund, Thore Husfeldt|ArXiv.org|Sep 15, 2008
Advanced Graph Theory ResearchComputer Science25 references14 citations
TL;DR

This paper introduces the fast intersection transform, an algorithm that computes a linear transformation over subset lattices in time proportional to the down-closure of the input and output function supports. It enables counting paths of given length and weight in directed graphs in time $ O^*(\exp(n \cdot H(\ell/(2n)))) $, breaking the classical $ O^*(2^n) $ barrier for long paths, with applications to Hamiltonian paths and the TSP in counting contexts.

ABSTRACT

We present an algorithm for evaluating a linear ``intersection transform'' of a function defined on the lattice of subsets of an $n$-element set. In particular, the algorithm constructs an arithmetic circuit for evaluating the transform in ``down-closure time'' relative to the support of the function and the evaluation domain. As an application, we develop an algorithm that, given as input a digraph with $n$ vertices and bounded integer weights at the edges, counts paths by weight and given length $0\leq\ell\leq n-1$ in time $O^*(\exp(n\cdot H(\ell/(2n))))$, where $H(p)=-p\log p-(1-p)\log(1-p)$, and the notation $O^*(\cdot)$ suppresses a factor polynomial in $n$.

Motivation & Objective

  • To develop an efficient algorithm for computing a linear intersection transform over the subset lattice of an n-element set.
  • To reduce the time complexity of counting paths by length and weight in directed graphs below the classical $ O^*(2^n) $ bound for long paths.
  • To provide a new tool for subset query problems and exact algorithms in combinatorial optimization.
  • To demonstrate that counting paths can be done faster than $ O^*(2^n) $ when focusing on long paths, leveraging entropy-based time bounds.

Proposed method

  • The algorithm constructs an arithmetic circuit that computes the intersection transform $ f\iota_j(Y) = \sum_{X \subseteq U, |X \cap Y| = j} f(X) $ for all $ Y \in \mathcal{G} $ and $ j \in \{0,\dots,n\} $.
  • It uses the down-closure $ \downarrow\mathcal{F} $ of the input function support and $ \downarrow\mathcal{G} $ of the output domain to limit computation to relevant subsets.
  • The core technique adapts Yates’ algorithm to sparse inputs, achieving time complexity $ O^*(|\downarrow\mathcal{F}| + |\downarrow\mathcal{G}|) $.
  • For path counting, the method splits paths at a midpoint, computes generating polynomials for subpaths, and combines them using the intersection transform to count paths with exactly one shared vertex.
  • The algorithm uses generating polynomials with edge weights encoded in variables, and evaluates the sum over subsets of size $ \lfloor \ell/2 \rfloor + 1 $ and $ \lceil \ell/2 \rceil + 1 $.
  • The final path count is computed as a sum over intermediate vertices $ a $, combining subpath counts via the intersection transform with $ |S \cap T| = 1 $.

Experimental results

Research questions

  • RQ1Can the classical $ O^*(2^n) $ bound for counting paths in directed graphs be broken for long paths?
  • RQ2Is there an efficient algorithm to compute a linear transformation over subset lattices that exploits sparsity in the input and output supports?
  • RQ3Can the intersection transform be used to count paths of a given length and weight in time sub-exponential in $ n $ for $ \ell \ll n $?
  • RQ4Does the use of entropy functions like $ H(\ell/(2n)) $ provide a tight characterization of the complexity of path counting in sparse cases?

Key findings

  • The fast intersection transform computes the intersection transform in time $ O^*(|\downarrow\mathcal{F}| + |\downarrow\mathcal{G}|) $, where $ \mathcal{F} $ and $ \mathcal{G} $ are the supports of the input and output functions.
  • For counting paths of length $ \ell $ from $ s $ to $ t $ in a weighted digraph, the algorithm runs in time $ O^*(\exp(n \cdot H(\ell/(2n)))) $, where $ H $ is the binary entropy function.
  • For $ \ell = 0.5n $, the running time is $ O(1.7548^n) $, significantly below the classical $ O^*(2^n) $ bound.
  • For $ \ell = 0.9999n $, the running time is $ O(1.999999999^n) $, approaching but not reaching $ O^*(2^n) $.
  • The algorithm can count cycles of a given length within the same time bound, and by self-reducibility, can list such paths within the same time complexity.
  • The method implies that constructing all paths of length $ \ell \gg n/2 $ in $ O((2 - \epsilon)^n) $ time for $ \epsilon > 0 $ independent of $ n $ is not feasible with current tools, as it would imply a breakthrough for TSP.

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.