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

06/23/2018
by   Eli Shamir, et al.
0

The Boolean product R = P · Q of two { 0, 1} m × m matrices is R(j,k) = 1 IF for some t P(j, t) = Q(t, k) = 1 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).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/02/2018

Clique-Based Lower Bounds for Parsing Tree-Adjoining Grammars

Tree-adjoining grammars are a generalization of context-free grammars th...
research
09/27/2021

Improved algorithms for Boolean matrix multiplication via opportunistic matrix multiplication

Karppa Kaski (2019) proposed a novel type of "broken" or "opportunis...
research
03/09/2021

Several Separations Based on a Partial Boolean Function

We show a partial Boolean function f together with an input x∈ f^-1(*) s...
research
04/16/2020

Centralized and Parallel Multi-Source Shortest Paths via Hopsets and Fast Matrix Multiplication

Consider an undirected weighted graph G = (V,E,w). We study the problem ...
research
04/30/2015

Parsing Linear Context-Free Rewriting Systems with Fast Matrix Multiplication

We describe a matrix multiplication recognition algorithm for a subset o...
research
02/20/2020

SpArch: Efficient Architecture for Sparse Matrix Multiplication

Generalized Sparse Matrix-Matrix Multiplication (SpGEMM) is a ubiquitous...

Please sign up or login with your details

Forgot password? Click here to reset