Abstract
This paper presents novel algorithms for the interpolation of sparse rational functions from black-box evaluations, specifically targeting cases where coefficients are integers within a known bound. By leveraging strategically selected evaluation points, the authors reduce the rational interpolation problem to simpler polynomial tasks. The univariate approach achieves near-optimal performance, while the multivariate extension utilizes Kronecker substitution to handle multiple variables.
Introduction
Interpolation is a fundamental process in computer algebra used to recover the symbolic form of a function from its outputs at specific inputs. While polynomial interpolation is well-understood, "sparse" interpolation—where the function is assumed to have many potential terms but only a few non-zero coefficients—remains a significant challenge. This paper addresses the specific problem of sparse rational function interpolation, where the target function $h$ is a ratio of two polynomials, $f/g$.
The Challenge of Rational Interpolation
Rational function interpolation is inherently more complex than polynomial interpolation. When a rational function $h$ is evaluated at a point $\beta$, the result is typically a reduced fraction $a/b$, where $a$ and $b$ are coprime. However, the "true" values of the numerator and denominator at that point, $f(\beta)$ and $g(\beta)$, may share a common factor $\mu$. Because this multiplier $\mu$ is lost during the evaluation of the black box, the primary hurdle in reconstructing $f$ and $g$ is identifying this hidden value.
Proposed Methodology
The authors propose a solution based on the constraint that the coefficients of $f$ and $g$ are integers with an absolute value less than a known bound $C$.
Univariate Interpolation
In the univariate case, the core innovation involves selecting a sufficiently large integer $\beta$ for evaluation. If $\beta$ is large enough (e.g., $\beta \geq 2TC^2 + 1$), the coefficients of the polynomials can be uniquely determined from the evaluation.
- Incremental Search: After evaluating $h(\beta) = a/b$, the algorithm searches for $\mu$ by testing $\mu = 1, 2, \dots$ until it identifies a value where $f(\beta) = \mu a$ and $g(\beta) = \mu b$ correspond to polynomials whose coefficients do not exceed the bound $C$.
- Two-Point Optimization: To prevent the evaluation points from becoming unmanageably large, the authors introduce a two-point method. By evaluating at both $h(\beta)$ and $h(\beta+1)$, the required size of $\beta$ is significantly reduced (roughly to the square root of the single-point requirement), maintaining manageable bit-complexity.
Multivariate Extension
To handle multivariate functions $h(x_1, \dots, x_n)$, the authors employ a Kronecker substitution. This technique maps a multivariate problem into a univariate one by replacing each variable $x_i$ with a specific power of a single variable $x$. This is combined with probabilistic shifts to ensure the numerator and denominator do not share accidental common factors during the reduction process.
Experimental Results
The algorithms were tested using randomly constructed sparse rational functions on a desktop environment (3.60GHz Intel Core i7-4790, 8GB RAM). The performance was measured against the number of terms ($T$), the degree ($D$), and the number of variables ($n$).
Key Findings
- Near-Optimality: The univariate algorithm is remarkably efficient. Experimental data suggests that the time required to interpolate $h = f/g$ is nearly identical to the time it would take to interpolate $f$ and $g$ as independent polynomials if the multiplier $\mu$ were already known.
- Complexity: The univariate arithmetic complexity is established as $O(\mu T \log^2 D)$.
- Scalability Issues: While the multivariate algorithm is efficient regarding the number of terms $T$, it faces a "Kronecker bottleneck." As the number of variables $n$ increases, the magnitude of the numbers used in evaluations grows exponentially, impacting performance.
Conclusion and Future Work
The research demonstrates that with a known coefficient bound, the difficult problem of rational function interpolation can be effectively reduced to verification and polynomial interpolation. The primary limitation remains the reliance on Kronecker substitution for multivariate cases, which leads to exponential growth in data size. Future research will focus on developing multivariate techniques that avoid this bottleneck, potentially allowing for more efficient interpolation in high-dimensional spaces without the exponential bit-complexity penalty.
Summary updated