In the seminal sparse matrix multiplication problem the goal is to compute the product of two matrices when the matrices are sparse, i.e., when the number of nonzeros in the input matrices and/or the number of nonzeros in the output matrix are much smaller than . In this paper, we explore the generalized problem of (approximately) computing the largest output entries, with an approximation error dependent solely on the smaller entries – from the viewpoint of sparse recovery, this can be seen as a robust variant of sparse matrix multiplication. Despite the substantial research dedicated to sparse matrix multiplication, almost no existing algorithms are robust in this sense. The one exception is Pagh’s algorithm in time [ITCS’12], and it remained open whether other algorithms can be similarly made robust. Our principal contribution is a black-box reduction from robust sparse matrix multiplication to conventional sparse matrix multiplication with only polylogarithmic overhead. Specifically, we show that any sparse matrix multiplication algorithm with running time can be transformed into a robust algorithm running in time . This reduction leverages an extensive toolkit from sparse recovery, and intriguingly, also involves solving a knapsack-type problem. By plugging in the state-of-the-art algorithm for sparse matrix multiplication by Abboud, Bringmann, Fischer, and Künnemann [SODA’24], we achieve significantly improved bounds such as . Notably, in the regime where , our reduction culminates in an almost-optimal -time algorithm.

生成讲解博客的中文版本

生成AI智能校验的中文版本