arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.08974math.COcs.DS
收藏

几乎最优布尔矩阵乘法[ BMM ]-通过行和列的多重编码

Almost optimal Boolean matrix multiplication [BMM]-by multi-encoding of rows and columns

Eli Shamir

摘要:

两个$\{ 0, 1\} \; m \times m \; $矩阵的布尔积$R = P \cdot Q$是$$R(j,k) = 1 \; \mathrm{\ IF\ for\ some\ } \; t \; \,P(j, t) = Q(t, k) = 1\; \; \mathrm{ELSE\ } \, R(j, k) = 0. $$。对于任意小的$e > 0$,近最优设计通过实用算法将计算$R$的复杂性从标准$m^3$降低到$O(m^{(2+e)})$。这降低了几个图属性测试的复杂性:寻找三角形和更大的团;寻找所有对的最短路径等等。此外,解析一个字符串$w$的上下文无关的语法减少到接近二次的$w$大小。该设计使用几种不同的2位数编码:$j$乘$(j_1, j_2), \; k \, $乘$\, (k_1, k_2)$。每一个都通过交换节点从源$j$到宿$k$产生一串短有向图,并在它们之间行走。使用中国剩余定理,组合的信息导致$R(j, k)$的正确值。

英文摘要:

The Boolean product $R = P \cdot Q$ of two $\{ 0, 1\} \; m \times m \; $ matrices is $$R(j,k) = 1 \; \mathrm{\ IF\ for\ some\ } \; t \; \,P(j, t) = Q(t, k) = 1\; \; \mathrm{ELSE\ } \, R(j, k) = 0. $$ The near-optimal design reduces the complexity of computing $R$ from the standard $m^3$ to $O(m^{(2+e)})$, for arbitrary small $e > 0$, by a practical algorithm. This renders reduced complexity to several graph-property tests: Finding triangles and higher-size cliques; finding all-pairs shortest paths, and more. Also, parsing a string $w$ by a context-free grammar is reduced to near quadratic in $w$-size. The design uses several distinct 2-digit encodings: $j$ by $(j_1, j_2), \; k \, $ by $\, (k_1, k_2)$. Each one gives rise to bunches of short digraphs from sources $j$'s to sinks $k$'s via switching nodes, and walks between them. The combined information, using the Chinese remainder theorem, leads to the correct values of $R(j, k)$.

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

↑