Compressed Boolean Matrix Multiplication using Bicliques
Nicolás Araya, José Zagal, Cecilia Hernández, Gonzalo Navarro
Abstract
Boolean matrix multiplication is a fundamental operation in many graph-based applications, including web and social network analysis, information retrieval, and graph query evaluation. However, conventional sparse representations such as CSR/CSC still incur significant space and time costs on large graphs. In this work, we introduce a method for multiplying Boolean matrices based on a biclique-based compressed representation that decomposes them into dense bipartite subgraphs, thereby capturing large sets of implicit edges. We first improve the iterative biclique extraction algorithm of Hernández and Navarro by introducing percentile-based parameter adaptation that dynamically adjusts its parameters according to the degree distribution, enhancing both extraction efficiency and compression ratio. We then extend the Schoor multiplication algorithm to operate directly on biclique-encoded matrices, thereby enabling a compositional form of multiplication where the output can also be represented as a collection of bicliques. Our experimental results on large real-world web and social graphs show that our approach achieves substantial reductions in space and computation time with respect to CSR/CSC-based representations. For example, using biclique extraction just as a tool to speed up multiplication (but retaining the CSR/CSC format) yields up to 34-fold speedups. Further, using the biclique-based representation for input and output yields up to a 10-fold reduction in space and up to a 290-fold speedup for matrix multiplication. These results demonstrate that our representation based on bicliques is both space- and time-effective to support an algebra of Boolean matrices.
Create a lesson
Related papers
3SUM Made Simpler (Without Matrix Multiplication), k-SUM Hypothesis Refuted for Odd k, and Real 3SUM/APSP Derandomized
Shared title terminology · Timothy M. Chan, Reina Itakura, Zhiyuan Ma et al.
Computation-Friendly Compression of Matrices: Speeding up Linear and Boolean Algebra
Shared title terminology · Gonzalo Navarro
Asteroidal Triples and Friends in (Likely Necessary) Matrix Multiplication Time
Shared title terminology · Jakob Nogler, Agnès Totschnig, Virginia Vassilevska Williams
The Komlós Problem in Matrix-Multiplication Time
Shared title terminology · Emile Anand, Peter Chen
Simple, Faster (min, +) Matrix Multiplication and APSP
Shared title terminology · Barna Saha, Christopher Ye
Cliques, Quasi-Cliques, and Bicliques in Random Graphs: Sampling and Algorithms
Shared title terminology · Thanh Le, A. Pavan, Xavier Pérez-Giménez et al.