arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.11772cs.CC
收藏

线性算子的复杂性

Complexity of Linear Operators

Alexander S. Kulikov, Ivan Mikhailin, Andrey Mokhov, Vladimir Podolskii

摘要:

设$A \in \{0,1\}^{n \times n}$是一个$z$为0,$u$为1的矩阵,$x$是半群$(S, \circ)$上形式变量的$n$维向量.计算线性算子$Ax$需要多少个半群运算?正如我们在本文中所观察到的,这个问题包含作为一个特殊的情况下,著名的范围查询问题,并有丰富的各种应用,如图算法,功能性编程,电路的复杂性等领域。利用$O(u)$半群运算可以方便地计算$Ax$。本文研究的主要问题是:$Ax$能否用$O(z)$半群运算来计算?我们证明,在一般情况下,这是不可能的:存在一个矩阵$A \in \{0,1\}^{n \times n}$正好有两个零,在每一行(因此$z=2n$)的复杂性是$Θ(nα(n))$其中$α(n)$是逆阿克曼函数。然而,当半群是交换的情况下,我们给出了一个$O(z)$上界的构造性证明。这意味着在交换设置中,稀疏矩阵的补可以像稀疏矩阵一样有效地处理(尽管相应的算法更复杂)。注意,这涵盖了布尔半环和热带半环的情况,它们有许多应用,例如,在图论中。作为线性尺寸构造的一个简单应用,我们给出了如何在$O(n^2)$时间内将任意半环上的两个$n\times n$矩阵相乘,如果这些矩阵之一是具有$O(n)$零的0/1-矩阵(即,稀疏矩阵的补充)。

英文摘要:

Let $A \in \{0,1\}^{n \times n}$ be a matrix with $z$ zeroes and $u$ ones and $x$ be an $n$-dimensional vector of formal variables over a semigroup $(S, \circ)$. How many semigroup operations are required to compute the linear operator $Ax$? As we observe in this paper, this problem contains as a special case the well-known range queries problem and has a rich variety of applications in such areas as graph algorithms, functional programming, circuit complexity, and others. It is easy to compute $Ax$ using $O(u)$ semigroup operations. The main question studied in this paper is: can $Ax$ be computed using $O(z)$ semigroup operations? We prove that in general this is not possible: there exists a matrix $A \in \{0,1\}^{n \times n}$ with exactly two zeroes in every row (hence $z=2n$) whose complexity is $Θ(nα(n))$ where $α(n)$ is the inverse Ackermann function. However, for the case when the semigroup is commutative, we give a constructive proof of an $O(z)$ upper bound. This implies that in commutative settings, complements of sparse matrices can be processed as efficiently as sparse matrices (though the corresponding algorithms are more involved). Note that this covers the cases of Boolean and tropical semirings that have numerous applications, e.g., in graph theory. As a simple application of the presented linear-size construction, we show how to multiply two $n\times n$ matrices over an arbitrary semiring in $O(n^2)$ time if one of these matrices is a 0/1-matrix with $O(n)$ zeroes (i.e., a complement of a sparse matrix).

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

↑