arXiv:2610.30907cs.DSOct 2026

Manuscript Offprint

arXiv:2610.30907

Near-Quadratic Time Multivariate Polynomial Interpolation

Chandra Kanta Mohapatra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Let F\mathbb{F} be a finite field. Given NN distinct points α1,…,αN∈Fm\boldsymbol{\alpha}_1, \ldots, \boldsymbol{\alpha}_N \in \mathbb{F}^m and associated values β1,…,βN∈F\beta_1, \ldots, \beta_N \in \mathbb{F}, we study the problem of computing an mm-variate polynomial f(y)∈F[y]f(\mathbf{y}) \in \mathbb{F}[\mathbf{y}] of individual degree less than dd, with dm≥Nd^m \geq N, that satisfies f(αi)=βif(\boldsymbol{\alpha}_i) = \beta_i for all i∈[N]i \in [N], whenever such an ff exists. This is known as the multivariate polynomial interpolation problem. In this work, given N=dmN = d^m, we present a deterministic algorithm for multivariate polynomial interpolation over an arbitrary finite field F\mathbb{F} that runs in near-quadratic time N2+o(1)N^{2+o(1)} poly(m,d,log⁡∣F∣)(m, d, \log |\mathbb{F}|), assuming dd is ω(1)\omega(1). This bound holds whenever the associated multivariate Vandermonde matrix is nonsingular, has constant co-rank, or admits some special structure. In the general case, we give a randomized Las Vegas algorithm attaining the same near-quadratic running time, provided the finite field is sufficiently large and dd grows similar to the previous case. Unlike other multivariate interpolation strategies, we do not assume black-box access to the polynomial. In particular, we are not permitted to query arbitrary input points to obtain their evaluations.

Our interpolation result follows by combining Wiedemann's classical approach [Wie86] for solving sparse linear systems with known bounds for fast multivariate multipoint evaluation over finite fields [Uma08, KU11, BGKM23, BGGKU24]. Specifically, our deterministic interpolation strategy relies on a deterministic variant of Wiedemann's approach, which is more commonly used in the randomized setting.

1 Introduction

Solving linear systems is one of the most fundamental problems in computational algebra. Given a matrix A∈Fn×nA \in \mathbb{F}^{n \times n} and a vector b∈Fn\mathbf{b} \in \mathbb{F}^n, over any arbitrary finite field F\mathbb{F}, the goal is to compute x∈Fn\mathbf{x} \in \mathbb{F}^n satisfying Ax=bA\mathbf{x} = \mathbf{b}. The complexity of this problem is closely related to matrix multiplication, and the best known algorithms run in O(nω)O(n^\omega) time, where ω\omega is the matrix multiplication exponent. In particular, no truly quadratic-time algorithm is known for arbitrary dense systems.

An important set of structured instances of linear system solving arises from polynomial interpolation. The input to the multivariate interpolation problem consists of N≤dmN \leq d^m ( d,m∈Nd, m \in \mathbb{N}) distinct data pairs {(α1,β1),(α2,β2),…,(αN,βN)}\{(\boldsymbol{\alpha}_1, \beta_1), (\boldsymbol{\alpha}_2, \beta_2), \ldots, (\boldsymbol{\alpha}_N, \beta_N)\}, where αi∈Fm\boldsymbol{\alpha}_i \in \mathbb{F}^m and βi∈F\beta_i \in \mathbb{F} for each i∈[N]i \in [N], and αi≠αj\boldsymbol{\alpha}_i \neq \boldsymbol{\alpha}_j whenever i≠ji \neq j. The goal is to find an mm-variate polynomial f(y)∈F[y]f(\mathbf{y}) \in \mathbb{F}[\mathbf{y}] of individual degree less than dd such that f(αi)=βif(\boldsymbol{\alpha}_i) = \beta_i for all i∈[N]i \in [N], whenever such a polynomial exists. The input of the multivariate interpolation problem can be described using N(m+1)N(m+1) field elements, hence that is the problem input size. Throughout this discussion, NN denotes the number of input

*Department of Computer Science. chandra.mohapatra@aalto.fi. The author is supported by Helsinki Institute for Information Technology (HIIT) postdoctoral fellowship. A part of this work was done when the author was a graduate student at Indian Institute of Technology, Bombay.

points. The interpolation space for monomials of individual degree less than dd in mm variables has dimension dmd^m, thus for suitable d,m∈Nd, m \in \mathbb{N} such that dm≥Nd^m \geq N ensures the interpolation space is large enough for NN input points.

For simplicity we take N=dmN = d^m throughout, so that the associated evaluation matrix, a.k.a multivariate Vandermonde matrix V is square. This is without loss of generality, if N<dmN < d^m, append dm−Nd^m - N zero rows to V and dm−Nd^m - N zeros to the associate value tuple β=(β1,…,βN)\boldsymbol{\beta} = (\beta_1, \ldots, \beta_N). The appended equations are vacuous, so the solution set is unchanged. Throughout, the run time is always mentioned in terms of the number of underlying field operations.

In the univariate setting (m=1)(m = 1), the input size is 2d field elements and, whenever the input points are distinct, there always exists a unique interpolating polynomial. This follows from the fact that the associated evaluation matrix, namely the Vandermonde matrix, has full rank at distinct points. Moreover, the structure of the Vandermonde matrix enables substantially faster algorithms than generic linear system solving. In particular, univariate interpolation admits near-linear time algorithms O~(d)\widetilde{O}(d) using fast multipoint evaluation due to Fiduccia [Fid72] and, Borodin and Moenck [BM74]. The multivariate setting is considerably more challenging. The associated interpolation matrix is a multivariate Vandermonde matrix 1^{1}, which may be singular even when all evaluation points are distinct. Consequently, the interpolation problem may have multiple solutions or no solution at all.

The interpolation problem has been studied in various flavors. In one set up, the polynomial is given to us as a blackbox and we want to interpolate it using query access. That is, we can query points of our choice to obtain their evaluations. This set up is widely studied in the sparse polynomial interpolation literature such as Ben-Or–Tiwari [BOT88]. In contrast, dense multivariate interpolation naturally reduces to solving a large linear system. Thus the other set up is to consider structured evaluation points. That is, when the evaluation points come from a product-set structure, interpolation can be performed in near-linear time in the input size using induction on each variable. However, as far as we are aware, no near-linear algorithm is known even for the general bivariate case over arbitrary evaluation points, which would suggest a route towards the general multivariate setting.

In the univariate case, fast interpolation [GG03, Algorithm 10.11] itself relies on fast multipoint evaluation as a subroutine, and both tasks admit near-linear time algorithms. The idea is to recursively solve the interpolation problem by dividing it into two roughly equal size sub-problems of the same kind. The recursion crucially relies on Euclidean division for univariates. A natural question is whether a similar reduction can be exploited in the multivariate setting. Unfortunately, it is not clear how to proceed with the recursion because of the non-Euclidean nature of multivariate polynomial rings. In this work we instead show how to exploit fast multivariate multipoint evaluation as a subroutine for multivariate interpolation using a different route.

Although the evaluation points themselves may be completely unstructured, the associated interpolation matrix remains a multivariate Vandermonde matrix, denoted by V. This naturally raises the question of whether one can exploit this algebraic structure to obtain algorithms faster than generic O(Nω)O(N^{\omega})-time linear system solving. Turns out, if we can guarantee fast (near-linear) matrix-vector multiplication then using iterative linear algebra techniques solves the linear system faster compared to the trivial time bound. For this strategy to work, we need to ensure multivariate Vandermonde matrix-vector multiplication, alternatively known as multivariate multipoint evaluation.

1^{1}The rows of the matrix corresponds to evaluation points and the columns correspond to all possible monomials. Each entry is the evaluation of the corresponding monomial at the corresponding evaluation point.

runs fast. This problem has been studied in a series of work [Uma08, KU11, BGKM23, BGGKU24] and known to have near-linear time algorithms over finite fields sometimes under some assumptions. The recent result of Bhargava, Ghosh, Guo, Kumar, and Umans [BGGKU24] showed that matrix-vector multiplication by multivariate Vandermonde matrices over all finite fields, and we will mainly use their result in this work.

Since we have fast matrix-vector multiplication available, the next step is to employ fast iterative linear algebra techniques to solve the structured system. Our work uses Wiedemann's [Wie86] method for structured linear system solving. The Wiedemann framework basically does the following. Instead of explicitly inverting the matrix A for solving Ax=bA\mathbf{x} = \mathbf{b}, compute the minimal polynomial of the Krylov sequence

K(A,b):={Aib}i∈N,\mathcal{K}(A,\mathbf{b}):=\{A^{i}\mathbf{b}\}_{i\in\mathbb{N}},

and use it to recover a solution vector x. The definitions of minimal polynomial and Krylov sequence can be found in the preliminaries (section 5). This is exactly what the deterministic variant of Wiedemann's method do. Thus, the deterministic Wiedemann approach along with fast matrix-vector multiplication for generalized Vandermonde matrices enables us to get a near-quadratic time algorithm for multivariate interpolation over finite fields. The nature of our algorithm; that is deterministic or randomized depends on the rank of the system.

Our results show that even for completely unstructured evaluation sets, the algebraic structure of generalized Vandermonde matrices helps to yield a nontrivial improvement over generic dense linear algebra and provides further evidence that multivariate interpolation may admit faster algorithms than previously known. We now state our main result.

Theorem 1.1 (Informal). Let F be a finite field and N=dmN = d^m. Given N evaluation constraints

f(αi)=βi,i∈[N],f(\boldsymbol{\alpha}_{i})=\beta_{i},\qquad i\in[N],

where αi∈Fm\alpha_i \in \mathbb{F}^m and βi∈F\beta_i \in \mathbb{F}, for an unknown mm-variate polynomial f(y)∈F[y]f(\mathbf{y}) \in \mathbb{F}[\mathbf{y}] of individual degree less than dd, we can compute such a polynomial whenever one exists in time

N2+o(1)poly⁡(m,d,log⁡∣F∣).N^{2+o(1)}\operatorname{p o l y}(m,d,\operatorname{l o g}|\mathbb{F}|).

The algorithm is deterministic when the associated multivariate Vandermonde matrix has full rank, constant co-rank or admits additional structure 2^{2}, and otherwise by a Las Vegas randomized algorithm for the general case.

Our starting point is Wiedemann's observation [Wie86] that solving a linear system can be reduced to computing the minimal polynomial of an associated Krylov sequence. This leads to an efficient framework whenever matrix-vector multiplication can be performed quickly, even in black-box setting, as is the case for sparse matrices. For nonsingular systems, the recovery of a solution from the Krylov sequence is relatively direct. The singular case is more non-trivial. Wiedemann uses random perturbations (by adding random sparse rows) to transform the system into a nonsingular one and then recovers a solution for the original system from the perturbed instance with high probability. Since the rank is not known apriori, he uses probabilistic rank computation as a subroutine. Kaltofen and Saunders [KS91] further refined this framework by introducing structured

2^{2}Formally we refer to the case in Proposition 6.10.

algebraic preconditioners based on Toeplitz matrices, leading to more efficient rank computations while requiring fewer random field elements. We crucially rely on Kaltofen and Saunders technique for handling highly singular systems that plays a crucial role in the general case of interpolation.

Note that most of the ideas we use in our work were already existing in the literature and we only develop the necessary tools to combine them for our purpose.

References (47)