Skip to content

Improving TensorSketch Using Complex Random Variables

Amit Sharma, Mohammad Azhar Khan, Rameshwar Pratap, Keegan Kang

cs.DSarXiv:2608.10523

Abstract

TensorSketch by~pham2013fast,kar2012random provides efficient sketching algorithms for high-dimensional polynomial kernels x p ∈ dp. kar2012random uses dense Johnson-Lindenstrauss (JL)-type projections with computational cost O(pDd), where D denotes the sketch dimension, whereas~pham2013fast extends the sparse CountSketch~countsketch algorithm, yielding a faster algorithm for high-dimensional sparse inputs with running time O(p(x + D D)). However, the variance of both estimators grows exponentially with the polynomial degree p, scaling as 3p/D. Recent work by~pmlr-v206-wacker23a showed that using complex-valued distribution reduces this dependence to 2p/D for the approach of~kar2012random. However, their method relies on dense JL-type projections with computational cost O(pDd) and does not extend to the algorithm of~pham2013fast. In this work, we introduce a simple variant of TensorSketch~pham2013fast that achieves the same variance bound as~pmlr-v206-wacker23a, while retaining its advantage of the input-sparsity running time. We validate our results with supporting experiments on synthetic and real-world datasets.

Create a lesson