Dimension Independent Matrix Square using MapReduce

Abstract

We compute the singular values of an m × n sparse matrix A in a distributed setting, without communication dependence on m, which is useful for very large m. In particular, we give a simple nonadaptive sampling scheme where the singular values of A are estimated within relative error with constant probability. Our proven bounds focus on the MapReduce framework, which has become the de facto tool for handling such large matrices that cannot be stored or even streamed through a single machine. On the way, we give a general method to compute ATA. We preserve singular values of ATA with ε relative error with shuffle size O(n2/ε2) and reduce-key complexity O(n/ε2). We further show that if only specific entries of ATA are required and A has nonnegative entries, then we can reduce the shuffle size to O(n (n) / s) and reduce-key complexity to O((n)/s), where s is the minimum cosine similarity for the entries being estimated. All of our bounds are independent of m, the larger dimension. We provide open-source implementations in Spark and Scalding, along with experiments in an industrial setting.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…