Fast Computation on Semirings Isomorphic to (×,max⁡)(\times, \max) on R+\mathbb{R}_+

preprint2016arXivOpen access

Abstract

Important problems across multiple disciplines involve computations on the semiring (×,max⁡)(\times, \max) (or its equivalents, the negated version (×,min⁡)(\times, \min)), the log-transformed version (+,max⁡)(+, \max), or the negated log-transformed version (+,min⁡)(+, \min)): max-convolution, all-pairs shortest paths in a weighted graph, and finding the largest kk values in xi+yjx_i+y_j for two lists xx and yy. However, fast algorithms such as those enabling FFT convolution, sub-cubic matrix multiplication, \emph{etc.}, require inverse operations, and thus cannot be computed on semirings. This manuscript generalizes recent advances on max-convolution: in this approach a small family of pp-norm rings are used to efficiently approximate results on a nonnegative semiring. The general approach can be used to easily compute sub-cubic estimates of the all-pairs shortest paths in a graph with nonnegative edge weights and sub-quadratic estimates of the top kk values in xi+yjx_i+y_j when xx and yy are nonnegative. These methods are fast in practice and can benefit from coarse-grained parallelization.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.