Abstract
In this paper, we propose new deterministic and Monte Carlo interpolation algorithms for sparse multivariate polynomials represented by straight-line programs. Let $f$ be an $n$-variate polynomial given by a straight-line program, which has a degree bound $D$ and a term bound $T$. Our deterministic algorithm is quadratic in $n,T$ and cubic in $\log D$ in the Soft-Oh sense, which has better complexities than existing deterministic interpolation algorithms in most cases. Our Monte Carlo interpolation algorithms have better complexities than existing Monte Carlo interpolation algorithms and are the first algorithms whose complexities are linear in $nT$ in the Soft-Oh sense. Since $nT$ is a factor of the size of $f$, our Monte Carlo algorithms are optimal in $n$ and $T$ in the Soft-Oh sense.
Introduction
In symbolic computation, polynomials are often "sparse," meaning they contain only a small number of non-zero terms ($T$) relative to the total number of possible terms defined by their degree ($D$) and number of variables ($n$). The challenge of interpolation involves reconstructing the explicit form of a polynomial (its coefficients and exponents) when it is provided as a "Straight-Line Program" (SLP)—a sequence of arithmetic instructions.
Traditional interpolation methods often scale poorly as $n$ or $D$ increases. The primary objective is to develop algorithms where complexity depends primarily on the actual number of terms $T$, rather than the massive potential degree.
Methodology
The authors introduce three major technical innovations to bridge the gap between multivariate and univariate interpolation:
- Modified Kronecker Substitution: Traditionally, Kronecker substitutions map multivariate problems to univariate ones by replacing variables with powers of a single variable. This paper proposes a deterministic version that prevents data size explosion, making it more efficient for general rings and complex fields.
- "Ok" Prime Selection: A deterministic method is provided to identify a prime number $p$ ensuring that at least half of the polynomial's terms do not "collide" (merge) when computed modulo $(x^p - 1)$.
- Term Testing Criterion: A mathematical sieve verifies whether a candidate term belongs to the original polynomial, facilitating iterative recovery.
The overall strategy employs a "divide and conquer" approach: find an "ok" prime, recover at least half of the terms using the new substitution and the Chinese Remainder Theorem, subtract those terms from the original SLP, and repeat until reconstruction is complete.
Key Results and Complexity Analysis
The proposed algorithms achieve significant speedups over previous state-of-the-art methods. The Monte Carlo algorithm is particularly noteworthy as the first to achieve "Soft-Oh" complexity linear in both $n$ and $T$, making it theoretically optimal for these parameters.
Deterministic Complexity
The deterministic algorithm achieves a complexity of $O^\sim(Ln^2T^2 \log^2 D + LnT \log^3 D)$. This outperforms previous deterministic methods except in cases of extreme sparsity.
Monte Carlo Complexity
The Monte Carlo variant reaches $O^\sim(LnT(\log^3 D + \log D \log \frac{1}{\mu}))$. By achieving linearity in $nT$, this method provides a significant leap over previous best-known Monte Carlo methods, which were often cubic in $n$ or $T$.
Experimental validation in Maple confirmed these theoretical predictions. The Monte Carlo algorithm's performance remained stable even as the degree $D$ grew to $10^{100}$, as the complexity depends only on $\log D$.
Discussion and Future Work
While these algorithms are optimal in the Soft-Oh sense, experimental results indicate that hidden logarithmic factors still impact real-world performance. Furthermore, a gap remains between deterministic ($T^2$) and Monte Carlo ($T$) complexities. Closing this gap to create a deterministic linear-in-$T$ algorithm is a key area for future research. Additionally, some Monte Carlo variants require evaluating the SLP in a proper extension field, which may vary in computational cost depending on the implementation.
Summary updated