几乎最优张量草图
Almost Optimal Tensor Sketch
摘要:
我们构造了一个只有$m=O(c\,λ\,\varepsilon^{-2}\text{poly}\log1/\varepsilonδ)$行的矩阵$M\in R^{m\otimes d^c}$,它以至少$1-δ$的概率保持$ R^d$的任何给定$λ$维子空间中所有$x$的范数$\|Mx\|_2=(1\pm\varepsilon)\|x\|_2$。这个矩阵可以在$O(c\, m \min\{d,m\})$时间内应用于张量$x^{(1)}\otimes\dots\otimes x^{(c)}\in R^{d^c}$--因此得名“张量草图”。(Here $x\otimes y = \text{asvec}(xy^T) = [x_1y_1, x_1y_2,\dots,x_1y_m,x_2y_1,\dots,x_ny_m]\in R^{nm}$。)这改进了Pagh和Pham~[TOCT 2013,SIGKDD 2013]和Avron等人的早期张量草图构造。[NIPS 2014],其要求$m=Ω(3^cλ^2δ^{-1})$行用于相同的保证。$λ$、$\varepsilon^{-2}$和$\log1/δ$的因子都可以被证明是必要的,使得我们的草图达到对数因子的最优。使用另一种构造,我们得到$λ$倍于$m=\tilde O(c\,λ^2\,\varepsilon^{-2}(\log1/δ)^3)$的行,但该矩阵可以在$\tilde O(c\, (d+m))$时间内应用于任何向量$x^{(1)}\otimes\dots\otimes x^{(c)}\in R^{d^c}$。这与Tensor Sketch的应用时间相匹配,同时仍然改善了$c$和$\log1/δ$中的指数依赖性。在技术上,我们证明了两个主要引理:(1)对于许多Johnson Lindenstrauss(JL)构造,如果$Q,Q'\in R^{m\times d}$是独立的JL矩阵,则对于某个本身是JL矩阵的$M\in R^{m\times d^2}$,元素积$Qx \circ Q'y$等于$M(x\otimes y)$. (2)如果$M^{(i)}\in R^{m\times md}$是独立的JL矩阵,则对于某个本身是JL矩阵的$M\in R^{m\times d^c}$,有$M^{(1)}(x \otimes (M^{(2)}y \otimes \dots)) = M(x\otimes y\otimes \dots)$。结合这两个结果给出了一个有效的草图,张量的任何大小。
英文摘要:
We construct a matrix $M\in R^{m\otimes d^c}$ with just $m=O(c\,λ\,\varepsilon^{-2}\text{poly}\log1/\varepsilonδ)$ rows, which preserves the norm $\|Mx\|_2=(1\pm\varepsilon)\|x\|_2$ of all $x$ in any given $λ$ dimensional subspace of $ R^d$ with probability at least $1-δ$. This matrix can be applied to tensors $x^{(1)}\otimes\dots\otimes x^{(c)}\in R^{d^c}$ in $O(c\, m \min\{d,m\})$ time -- hence the name "Tensor Sketch". (Here $x\otimes y = \text{asvec}(xy^T) = [x_1y_1, x_1y_2,\dots,x_1y_m,x_2y_1,\dots,x_ny_m]\in R^{nm}$.) This improves upon earlier Tensor Sketch constructions by Pagh and Pham~[TOCT 2013, SIGKDD 2013] and Avron et al.~[NIPS 2014] which require $m=Ω(3^cλ^2δ^{-1})$ rows for the same guarantees. The factors of $λ$, $\varepsilon^{-2}$ and $\log1/δ$ can all be shown to be necessary making our sketch optimal up to log factors. With another construction we get $λ$ times more rows $m=\tilde O(c\,λ^2\,\varepsilon^{-2}(\log1/δ)^3)$, but the matrix can be applied to any vector $x^{(1)}\otimes\dots\otimes x^{(c)}\in R^{d^c}$ in just $\tilde O(c\, (d+m))$ time. This matches the application time of Tensor Sketch while still improving the exponential dependencies in $c$ and $\log1/δ$. Technically, we show two main lemmas: (1) For many Johnson Lindenstrauss (JL) constructions, if $Q,Q'\in R^{m\times d}$ are independent JL matrices, the element-wise product $Qx \circ Q'y$ equals $M(x\otimes y)$ for some $M\in R^{m\times d^2}$ which is itself a JL matrix. (2) If $M^{(i)}\in R^{m\times md}$ are independent JL matrices, then $M^{(1)}(x \otimes (M^{(2)}y \otimes \dots)) = M(x\otimes y\otimes \dots)$ for some $M\in R^{m\times d^c}$ which is itself a JL matrix. Combining these two results give an efficient sketch for tensors of any size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。