TL;DR
This paper introduces the first data-oblivious sketching method for high-degree polynomial kernels that avoids exponential dependence on the kernel degree. By utilizing a novel recursive tree structure for dimensionality reduction, the authors achieve polynomial scaling for both polynomial and Gaussian kernels, enabling efficient, input-sparsity-time kernel ridge regression and low-rank approximation.
What Problem Does This Paper Address?
Kernel methods are a cornerstone of machine learning, allowing algorithms to detect non-linear relationships by implicitly mapping data into high-dimensional feature spaces. However, they suffer from poor scalability: primitives like kernel PCA or kernel ridge regression require computing dense kernel matrices, leading to quadratic space and time complexities.
To accelerate these operations, researchers use "sketching"—a form of randomized dimensionality reduction. Ideally, these sketches should be oblivious, meaning the random projection matrix is chosen independently of the input data. Prior oblivious sketching techniques (such as TensorSketch) suffered from a severe limitation: their target sketch dimensions scaled exponentially ($3^p$) with the degree $p$ of the polynomial kernel. This "curse of dimensionality" made high-degree polynomial kernels and Gaussian kernels computationally intractable for high-dimensional datasets. This paper tackles the challenge of eliminating this exponential bottleneck.
Methods
The core innovation of the paper is a technique called Recursive Tensoring. Instead of applying a single, flat tensor sketch across all dimensions simultaneously, the authors construct a balanced binary tree of sketches.
- Leaves of the Tree: The algorithm first applies standard, highly efficient input-sparsity sketches (like
CountSketchorOSNAP) to project the initial $d$-dimensional data vectors down to a lower dimension $m$. - Internal Nodes: As vectors move up the tree, pairs of sketched vectors are combined via a tensor product. The algorithm then applies a base sketch designed to handle tensor inputs efficiently (such as
TensorSketchor a newly introduced variant calledTensorSRHT—Tensor Subsampled Randomized Hadamard Transform) to project the combined vector back down to dimension $m$.
By breaking the tensoring process into a tree structure, the authors prevent the exponential accumulation of variance and error. To prove that this structure preserves vector norms, the paper utilizes intricate decoupling arguments and higher-order versions of Khintchine's inequality, demonstrating that the Johnson-Lindenstrauss (JL) moment property propagates cleanly from the leaves to the root.
Datasets
Not discussed in the paper. This work is purely theoretical and focuses on proving algorithmic complexity bounds and structural mathematical properties; no empirical datasets or experimental evaluations were conducted.
Key Insights and Ideas
- Tree Structures Tame Exponential Growth: In traditional flat tensoring, errors multiply directly across all $p$ dimensions, causing exponential variance growth. Isolating these interactions into a binary tree allows sharp, localized control over error propagation.
- Slightly Larger Intermediate Dimensions Pay Off: By setting the intermediate sketch dimension $m$ to be larger by a polynomial factor of the degree $p$, the total accumulated error across the $O(p)$ nodes in the tree remains strictly bounded.
- Unlocking the Gaussian Kernel: A Gaussian kernel can be expressed as an infinite Taylor series of polynomial kernels. Because the authors' polynomial sketch scales polynomially with the degree, they can truncate the Taylor series at a sufficiently high degree $q$ to approximate the Gaussian kernel without triggering an exponential blowup relative to the input dimension $d$.
Key Results
- Polynomial Kernel Sketching: The authors achieve a target sketch dimension of $m = \tilde{\Omega}(p^4 s_\lambda / \epsilon^2)$ (where $s_\lambda$ is the statistical dimension of the dataset). This completely replaces the previous $\Omega(3^p)$ exponential dependence with a polynomial one.
- Gaussian Kernel Sketching: The paper provides the first oblivious subspace embedding for the Gaussian kernel on bounded datasets that avoids exponential dependence on the input dimensionality, achieving a target dimension of $m = \tilde{\Omega}(q^5 s_\lambda / \epsilon^2)$.
- Input-Sparsity Runtime: The sketched kernel matrix can be computed in $\tilde{O}(pnm + p \cdot \text{nnz}(X))$ time. This means the algorithm runs proportional to the number of non-zero entries in the input data, making it exceptionally fast for sparse datasets.
Limitations and Future Work
- Lack of Empirical Validation: Because the paper is purely theoretical, it remains to be seen how the recursive tree structure performs in practice regarding constant-factor overheads and real-world execution times compared to data-dependent methods like Nyström sampling.
- High Polynomial Exponents: While a target dimension scaling with $p^4$ or $p^5$ is a massive theoretical upgrade over $3^p$, these exponents can still result in large sketch sizes for very high-degree kernels. Reducing the polynomial exponent remains an open and promising direction for future research.
Summary updated