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

基于双团的压缩布尔矩阵乘法

Compressed Boolean Matrix Multiplication using Bicliques

Universidad de Concepción(康塞普西翁大学);Millennium Institute for Foundational Research on Data (IMFD)(数据基础研究千年研究所);University of Chile(智利大学)

Nicolás Araya, José Zagal, Cecilia Hernández, Gonzalo Navarro

AI总结:

本研究提出基于双团的布尔矩阵压缩表示方法,改进双团提取算法并扩展Schoor乘法算法,在大型真实图实验中实现空间缩减最高10倍、乘法加速最高290倍的显著效果。

摘要:

布尔矩阵乘法是众多基于图的应用中的基础操作,包括网页与社交网络分析、信息检索以及图查询评估。然而,诸如CSR/CSC这类传统稀疏表示在处理大型图时仍会产生显著的空间与时间成本。本研究提出一种基于双团(biclique)压缩表示的布尔矩阵乘法方法,该方法将布尔矩阵分解为稠密二分图,从而捕获大量隐式边。我们首先改进了Hernández与Navarro提出的迭代双团提取算法,引入基于百分位数的参数自适应机制,可根据度分布动态调整算法参数,提升提取效率与压缩率。随后,我们扩展了Schoor乘法算法,使其能直接对双团编码矩阵进行操作,从而实现可组合的乘法形式,输出结果也可表示为双团集合。我们在大型真实网页与社交图上开展实验,结果显示,与基于CSR/CSC的表示相比,本方法在空间与计算时间上实现了大幅缩减。例如,仅将双团提取作为加速乘法的工具(仍保留CSR/CSC格式)即可实现最高34倍的加速;若输入与输出均采用基于双团的表示,则空间可缩减最高10倍,矩阵乘法的加速比最高达290倍。这些结果表明,我们的双团表示在空间与时间上均具备高效性,可支持布尔矩阵代数运算。

英文摘要:

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.

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

↑