An Algorithmic Method of Partial Derivatives

Cornelius Brand, Kevin PrattarXiv 2020

Abstract

We study the problem of computing the "apolar inner product" of two polynomials: specifically, evaluating $g(\partial/\partial x_1, \ldots, \partial/\partial x_n) \det X$, where $g$ is a homogeneous degree-$d$ polynomial represented as an arithmetic circuit and $X$ is a $d \times d$ matrix of linear forms. By leveraging the algebraic structure of the space of partial derivatives, we obtain faster deterministic parameterized algorithms for several fundamental problems, including matroid $k$-parity, $k$-matroid intersection, and detecting $k$-internal outbranchings. Our approach achieves a runtime of $O(2.62^d \text{poly}(n))$ for simple cycle detection and matches state-of-the-art deterministic bounds for subgraphs of bounded pathwidth. This framework connects the complexity of combinatorial algorithms to the bilinear complexity of apolar algebras and the exponent of matrix multiplication $\omega$.

Introduction

In theoretical computer science, many NP-hard combinatorial problems—such as finding a specific subgraph or verifying matroid properties—can be elegantly encoded as the coefficients of high-degree polynomials. However, extracting these coefficients is typically #P-hard. To circumvent this, researchers traditionally rely on two strategies: randomized algorithms (using the Isolation Lemma) or deterministic algorithms based on Waring rank (expressing polynomials as sums of powers of linear forms). While Waring rank is mathematically robust, the number of terms required often exceeds $n!$, leading to inefficient algorithms.

This paper introduces a deterministic alternative: the Method of Partial Derivatives. By treating one polynomial as a differential operator acting on another, the authors provide a mechanical framework for solving these problems without the combinatorial explosion associated with monomial expansion or Waring rank.

The Core Framework: Apolar Inner Products

The central technical contribution is the efficient computation of the apolar inner product $\langle f, g \rangle$. In this context, $g$ is an arithmetic circuit representing the combinatorial problem, and $f$ is the determinant of a symbolic matrix $X$. Instead of viewing $g$ as a static list of monomials, the authors treat it as a differential operator. The result of the computation is the coefficient of the "target" solution.

The Space of Minors

The efficiency of this method stems from a crucial observation in algebraic geometry: the space of all partial derivatives of a $d \times d$ determinant is spanned by its minors (the determinants of its submatrices). While a polynomial of degree $d$ could theoretically have a massive number of derivatives, the dimension of the space of minors for a determinant is bounded by $\binom{2d}{d} \approx 4^d$. This is significantly smaller than the $n!$ terms often required by Waring rank approaches.

Hankel Structure and Symmetry

For specific applications like detecting simple cycles or paths, the symbolic matrix $X$ exhibits a "Hankel" structure, where entries are constant along anti-diagonals. The authors demonstrate that this structure causes the derivative space to collapse even further, with its dimension bounded by Fibonacci numbers (approximately $\phi^{2d} \approx 2.62^d$). This reduction directly translates to faster algorithmic runtimes.

Algorithmic Applications

The framework yields several new state-of-the-art deterministic upper bounds for parameterized problems:

  1. Simple Cycle Detection: The algorithm finds a cycle of length $d$ in $O(2.62^d \text{poly}(n))$ time. This bridges the gap between previous deterministic methods and the fastest known randomized algorithms.
  2. Matroid $k$-Parity and Intersection: These problems are solved in $4^{km} \text{poly}(N)$ time, offering a more efficient parameterized approach for these classic challenges.
  3. Edmonds's Problem (SING): The paper provides the first deterministic polynomial-time algorithm to test if a linear space of matrices contains an invertible matrix, provided the dimension of the subspace is $O(\log n)$.
  4. Bounded Pathwidth: The method matches the performance of the fastest specialized deterministic algorithms for detecting subgraphs of bounded pathwidth, demonstrating the versatility of the algebraic approach.

Complexity and Matrix Multiplication

A significant theoretical insight of the paper is the connection between these algorithms and the exponent of matrix multiplication ($\omega$). The authors show that the complexity of multiplying within the "apolar algebra" of a determinant is $O(n 2^{\omega n})$. This implies that any future reduction in the value of $\omega$ will automatically accelerate this entire class of deterministic combinatorial algorithms.

Limitations and Future Directions

While powerful, the Method of Partial Derivatives currently has specific requirements:

  • White-Box Access: The polynomial $g$ must be provided as an arithmetic circuit (specifically a skew circuit for many results), rather than just an evaluation oracle.
  • Weight Constraints: The current graph algorithms are optimized for unweighted instances or those with small integer weights. Extending these results to general weights remains an open area of research.
  • Circuit Generalization: Moving from skew arithmetic circuits to general arithmetic circuits is a primary goal for future iterations of this framework.

Conclusion

By shifting the focus from monomial coefficients to the structured space of partial derivatives, this work provides a unified, "mechanical" way to derive deterministic algorithms. It replaces ad-hoc combinatorial constructions with a rigorous algebraic framework, proving that the structural properties of determinants can be exploited to overcome traditional computational bottlenecks.

Summary updated

BibTeX
@misc{brand2020algorithmic,
  author = {Cornelius Brand and Kevin Pratt},
  title = {{An Algorithmic Method of Partial Derivatives}},
  year = {2020},
  eprint = {2005.05143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.05143},
}
Figure