Skip to content

Information-Theoretic Communication Lower Bounds for Sparse Matrix Multiplication

Grace Dinh, Vivienne Goyal, Raye Kimmerer, James Demmel, Zhiru Zhang

cs.DC

Abstract

The communication cost of sparse-sparse matrix multiplication (SpGEMM) is heavily influenced by the sparsity structure of its input matrices, even when their dimensions and nonzero counts are fixed. We present an information-theoretic method for deriving instance-specific communication lower bounds in both sequential and parallel models. Our approach incorporates a variety of sparsity statistics as entropic inequalities in an optimization program that can be solved either numerically or symbolically; the more information about the sparsity structure is supplied, the stronger the bounds. We also compare our bounds to measured cache traffic of several state-of-the-art libraries and find that our bounds are significantly closer to the measured traffic than previous bounds, typically by more than a factor of two; they also predict measured traffic significantly better than both previous bounds and statistical models that assume Erdős--Rényi structure.

Create a lesson

Metadata

Categories
cs.DC, cs.IT, math.IT