arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.13384cs.DScs.LGstat.ML
收藏

Kronecker乘积回归与低秩近似的最优作图

Optimal Sketching for Kronecker Product Regression and Low Rank Approximation

Northeast Normal University(东北师范大学);Carnegie Mellon University(卡内基梅隆大学);University of Washington(华盛顿大学);Microsoft Research New York(微软研究院纽约分院);Simons Institute for the Theory of Computing(西蒙斯计算理论研究所)

Huaian Diao, Rajesh Jayaram, Zhao Song, Wen Sun, David P. Woodruff

摘要:

我们研究克罗内克积回归问题,其中设计矩阵是两个或多个矩阵的克罗内克积。给定$A_i \in \mathbb{R}^{n_i \times d_i}$为$i=1,2,\dots,q$,其中$n_i \gg d_i$为每个$i$和$b \in \mathbb{R}^{n_1 n_2 \cdots n_q}$,设$\mathcal{A} = A_1 \otimes A_2 \otimes \cdots \otimes A_q$。那么对于$p \in [1,2]$,目标是找到近似最小化$\|\mathcal{A}x - b\|_p$的$x \in \mathbb{R}^{d_1 \cdots d_q}$。最近,Diao,Song,Sun和Woodruff(AISTATS,2018)给出了一种算法,该算法比形成Kronecker积$\mathcal{A}$更快具体地说,对于$p=2$,它们的运行时间是$O(\sum_{i=1}^q \text{nnz}(A_i) + \text{nnz}(b))$,其中nnz $(A_i)$是$A_i$中非零条目的数量。注意,nnz $(b)$可以和$n_1 \cdots n_q$一样大。对于$p=1,$、$q=2$和$n_1 = n_2$,它们实现了更差的$O(n_1^{3/2} \text{poly}(d_1d_2) + \text{nnz}(b))$界。在这项工作中,我们提供了显着更快的算法。对于$p=2$,我们的运行时间是$O(\sum_{i=1}^q \text{nnz}(A_i) )$,它不依赖于nnz $(b)$。对于$p<2$,我们的运行时间是$O(\sum_{i=1}^q \text{nnz}(A_i) + \text{nnz}(b))$,它与$p=2$之前的最佳运行时间相匹配。我们还考虑相关的全对回归问题,其中给定$A \in \mathbb{R}^{n \times d}, b \in \mathbb{R}^n$,我们想要求解$\min_{x} \|\bar{A}x - \bar{b}\|_p$,其中$\bar{A} \in \mathbb{R}^{n^2 \times d}, \bar{b} \in \mathbb{R}^{n^2}$由$A,b$行的所有成对差异组成。我们给出了一个$p \in[1,2]$的$O(\text{nnz}(A))$时间算法,改进了形成$\bar{A}$所需的$Ω(n^2)$时间。最后,我们开始研究Kronecker积的低秩逼近和低$t$ -秩逼近。对于上述输入$\mathcal{A}$,我们给出了$O(\sum_{i=1}^q \text{nnz}(A_i))$时间算法,这比计算$\mathcal{A}$要快得多。

英文摘要:

We study the Kronecker product regression problem, in which the design matrix is a Kronecker product of two or more matrices. Given $A_i \in \mathbb{R}^{n_i \times d_i}$ for $i=1,2,\dots,q$ where $n_i \gg d_i$ for each $i$, and $b \in \mathbb{R}^{n_1 n_2 \cdots n_q}$, let $\mathcal{A} = A_1 \otimes A_2 \otimes \cdots \otimes A_q$. Then for $p \in [1,2]$, the goal is to find $x \in \mathbb{R}^{d_1 \cdots d_q}$ that approximately minimizes $\|\mathcal{A}x - b\|_p$. Recently, Diao, Song, Sun, and Woodruff (AISTATS, 2018) gave an algorithm which is faster than forming the Kronecker product $\mathcal{A}$ Specifically, for $p=2$ their running time is $O(\sum_{i=1}^q \text{nnz}(A_i) + \text{nnz}(b))$, where nnz$(A_i)$ is the number of non-zero entries in $A_i$. Note that nnz$(b)$ can be as large as $n_1 \cdots n_q$. For $p=1,$ $q=2$ and $n_1 = n_2$, they achieve a worse bound of $O(n_1^{3/2} \text{poly}(d_1d_2) + \text{nnz}(b))$. In this work, we provide significantly faster algorithms. For $p=2$, our running time is $O(\sum_{i=1}^q \text{nnz}(A_i) )$, which has no dependence on nnz$(b)$. For $p<2$, our running time is $O(\sum_{i=1}^q \text{nnz}(A_i) + \text{nnz}(b))$, which matches the prior best running time for $p=2$. We also consider the related all-pairs regression problem, where given $A \in \mathbb{R}^{n \times d}, b \in \mathbb{R}^n$, we want to solve $\min_{x} \|\bar{A}x - \bar{b}\|_p$, where $\bar{A} \in \mathbb{R}^{n^2 \times d}, \bar{b} \in \mathbb{R}^{n^2}$ consist of all pairwise differences of the rows of $A,b$. We give an $O(\text{nnz}(A))$ time algorithm for $p \in[1,2]$, improving the $Ω(n^2)$ time needed to form $\bar{A}$. Finally, we initiate the study of Kronecker product low rank and low $t$-rank approximation. For input $\mathcal{A}$ as above, we give $O(\sum_{i=1}^q \text{nnz}(A_i))$ time algorithms, which is much faster than computing $\mathcal{A}$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑