arXiv:2608.28094cs.DSAug 2026

Manuscript Offprint

arXiv:2608.28094

A Tight Analysis of Khatri-Rao Oblivious Subspace Embeddings

Lorenzo Beretta, Cameron Musco

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

Abstract

We study random sketching matrices with Khatri-Rao structure. In particular, we consider the Khatri-Rao product (i.e., column-wise tensor product) A1⊙⋯⊙Ad∈R(n1⋯nd)×mA_1 \odot \cdots \odot A_d \in \mathbb{R}^{(n_1 \cdots n_d) \times m} of random matrices Ai∈Rni×mA_i \in \mathbb{R}^{n_i \times m} whose columns are isotropic, independent and sub-Gaussian (e.g., Gaussian matrices). Khatri-Rao sketching matrices are widely applied in randomized algorithms for linear algebraic computation and data analysis, when the input data has tensor structure that allows for fast multiplication with A1⊙⋯⊙AdA_1 \odot \cdots \odot A_d. However, existing theory is not able to fully explain their performance in practice. In particular, despite significant attention, our best bounds for the important oblivious subspace embedding property with Khatri-Rao matrices lag behind what is achievable with standard unstructured matrices.

For embedding a kk-dimensional subspace to (1±ε)(1 \pm \varepsilon) error, Bujanović et al. [6] prove that sketching dimension m=O(k3/2/ε2)m = O(k^{3/2}/\varepsilon^2) suffices in the special case of d=2d = 2. Their dependence on kk is weaker than the tight bound of O(k/ε2)O(k/\varepsilon^2) known for unstructured sub-Gaussian sketching matrices. In this work, we close this gap, showing that m=O~(k/ε2)m = \tilde{O}(k/\varepsilon^2) suffices for subspace embedding with a Khatri-Rao sketching matrix with any fixed order dd. Our proof is simple, leveraging just two basic properties of the Khatri-Rao sketching distribution: 1) the columns of A1⊙⋯⊙Ad∈R(n1⋯nd)×mA_1 \odot \cdots \odot A_d \in \mathbb{R}^{(n_1 \cdots n_d) \times m} are independent and isotropic, and 2) each column of A1⊙⋯⊙Ad∈R(n1⋯nd)×mA_1 \odot \cdots \odot A_d \in \mathbb{R}^{(n_1 \cdots n_d) \times m} satisfies a weak Johnson-Lindenstrauss type moment property.

1 Introduction

Random sketching is a key tool in work on fast algorithms for linear algebraic computation, large-scale data analysis, and low-memory streaming computation [16, 15, 24]. Given an input matrix X∈Rn×pX \in \mathbb{R}^{n \times p}, we generate a random sketching matrix Ψ∈Rn×m\Psi \in \mathbb{R}^{n \times m}, and compute the sketch ΨTX∈Rm×p\Psi^T X \in \mathbb{R}^{m \times p}. ΨTX\Psi^T X serves as a lossy compression of XX, that can be used to approximately solve a breadth of problems, such as low-rank approximation [11], linear regression [19], clustering [10], eigenvalue problems [21], and beyond.

In many applications, X is known to be structured – e.g., it may be sparse or may be given as the tensor product of several small matrices. In such applications, it is desirable to use a sketching matrix Ψ\Psi that also has structure, that facilitates fast computation of ΨTX\Psi^T X. In applications where X has tensor structure, a key tool in the literature is the Khatri-Rao random sketch [17, 2, 1, 20, 9, 3, 6, 18, 8, 12].

Definition 1.1 (Khatri-Rao product). Let A∈Rna×mA \in \mathbb{R}^{n_a \times m}, B∈Rnb×mB \in \mathbb{R}^{n_b \times m} have columns A=[a1,…,am]A = [a_1, \ldots, a_m] and B=[b1,…,bm]B = [b_1, \ldots, b_m]. Their Khatri-Rao product is the column-wise Kronecker product

A⊙B:=[a1⊗b1,⋯ ,am⊗bm]∈R(na⋅nb)×m.A\odot B:=\left[a_{1}\otimes b_{1},\quad\cdots,\quad a_{m}\otimes b_{m}\right]\in\mathbb{R}^{(n_{a}\cdot n_{b})\times m}.

In this work we consider a sketching matrix Ψ=1mA1⊙⋯⊙Ad\Psi = \frac{1}{\sqrt{m}} A_1 \odot \cdots \odot A_d that is the Khatri-Rao product of sketching matrices Ai∈Rni×mA_i \in \mathbb{R}^{n_i \times m}, appropriately scaled. We will focus on the common case when all AiA_i have independent sub-Gaussian columns, which of course includes independent standard Gaussian matrices. Although another important variant is the Tensor Sketch of Pham and Pagh [17], where the AiA_i are sparse Count-Sketch matrices.

When the columns of X∈R(n1⋯nd)×dX \in \mathbb{R}^{(n_1 \cdots n_d) \times d} are also dd-order tensor products, one can compute ΨTX\Psi^T X in O((n1+⋯+nd)⋅dm)O((n_1 + \cdots + n_d) \cdot dm) time, as compared to O(n1⋯nd)⋅dmO(n_1 \cdots n_d) \cdot dm time for a dense unstructured random projection. This represents an exponential savings in cost. For this reason, Khatri-Rao sketches have found applications in numerous settings, ranging from contour integral-based eigensolvers [6], to compression algorithms for massive tensors and tensor networks, arising e.g., in quantum physics [7, 12], to approximation algorithms for polynomial kernels [2, 1], and more [14, 8, 9, 5]