Abstract
In this paper, we propose new deterministic interpolation algorithms and Monte Carlo interpolation algorithms for sparse multivariate polynomials represented by straight-line programs. Let f be an n-variate polynomial with a degree bound D and and term bound T. Our deterministic algorithms have better complexities than existing deterministic interpolation algorithms in most cases. Our Monte Carlo interpolation algorithms are asymptotically optimal in the sense that their bit complexities are linear in nT and cubic in log D, when the coefficients of the polynomials are from a finite field. Since f has size nT, our algorithm implies that interpolating a straight-line program polynomial f is as easy as reading f, if the log D factor in the complexities is not considered. Based on the Monte Carlo interpolation algorithm, we give an asymptotically optimal algorithm for the multiplication of several multivariate polynomials, whose complexity is softly linear in the input size plus the output size, if the logarithm factors are ignored.
Introduction
In computer algebra, sparse multivariate polynomials—those with many variables and high degrees but few non-zero terms—are common. Reconstructing these polynomials from a Straight-Line Program (SLP) or a "black box" evaluator is known as sparse interpolation. Historically, this process has been computationally expensive, often scaling poorly with the number of variables ($n$) and terms ($T$). This paper introduces new algorithms that bridge the gap between evaluation and reconstruction costs, moving toward a scenario where interpolation is nearly as efficient as evaluation.
Methodology
The authors propose three technical pillars to achieve near-optimal performance:
- Term-Testing Criterion: A mathematical test to efficiently identify if a candidate term belongs to the target polynomial, allowing for rapid "sifting" of potential terms.
- Deterministic Prime Selection: A method to find a "good" prime that minimizes term collisions during modular reduction, ensuring at least half the terms remain distinct.
- Modified Kronecker Substitution: A technique that avoids the exponential degree explosion of standard Kronecker substitution ($x_i \to x^{D^{i-1}}$), allowing for the use of fast univariate interpolation subroutines without the $D^n$ cost.
The algorithms were validated using randomly constructed sparse polynomials with varying $n, T,$ and $D$, and implemented in Maple to compare empirical performance against theoretical "Soft-Oh" complexity bounds.
Key Results and Complexity Analysis
The headline achievement is a Monte Carlo algorithm that is asymptotically optimal. Its bit complexity is linear in $n$ and $T$, meaning that reconstructing the polynomial is nearly as efficient as reading its description.
As shown in the table above, the Monte Carlo algorithm (Theorem 6.8) achieves a bit complexity of $O^\sim(LnT \log^3 D \log q)$ over finite fields. The deterministic variant (Theorem 5.9) also outperforms previous methods in most scenarios, achieving a complexity of $O^\sim(Ln^2T^2 \log^2 D + LnT \log^3 D)$. This marks a significant threshold in algorithmic efficiency for symbolic computation.
Discussion and Future Work
The "Soft-Oh" optimality implies that for large-scale problems, these algorithms will be significantly faster than predecessors. However, the authors note that polylogarithmic factors hidden in the $O^\sim$ notation can be substantial in practice and may impact real-world performance on smaller problems. Additionally, some Monte Carlo variants require field extensions, which may add computational overhead depending on the software environment. Future efforts will focus on optimizing these constant factors for practical integration into major computer algebra systems like Maple or Mathematica.
Summary updated