ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2305.03693
47
4

Fast Dynamic Programming in Trees in the MPC Model

5 May 2023
Chetan Gupta
R. Latypov
Yannic Maus
Shreyas Pai
Simo Särkkä
Jan Studený
Jukka Suomela
Jara Uitto
Hossein Vahidi
ArXiv (abs)PDFHTML
Abstract

We present a deterministic algorithm for solving a wide range of dynamic programming problems in trees in O(log⁡D)O(\log D)O(logD) rounds in the massively parallel computation model (MPC), with O(nδ)O(n^\delta)O(nδ) words of local memory per machine, for any given constant 0<δ<10 < \delta < 10<δ<1. Here DDD is the diameter of the tree and nnn is the number of nodes--we emphasize that our running time is independent of nnn. Our algorithm can solve many classical graph optimization problems such as maximum weight independent set, maximum weight matching, minimum weight dominating set, and minimum weight vertex cover. It can also be used to solve many accumulation tasks in which some aggregate information is propagated upwards or downwards in the tree--this includes, for example, computing the sum, minimum, or maximum of the input labels in each subtree, as well as many inference tasks commonly solved with belief propagation. Our algorithm can also solve any locally checkable labeling problem (LCLs) in trees. Our algorithm works for any reasonable representation of the input tree; for example, the tree can be represented as a list of edges or as a string with nested parentheses or tags. The running time of O(log⁡D)O(\log D)O(logD) rounds is also known to be necessary, assuming the widely-believed 222-cycle conjecture. Our algorithm strictly improves on two prior algorithms: (i) Bateni, Behnezhad, Derakhshan, Hajiaghayi, and Mirrokni [ICALP'18] solve problems of these flavors in O(log⁡n)O(\log n)O(logn) rounds, while our algorithm is much faster in low-diameter trees. Furthermore, their algorithm also uses randomness, while our algorithm is deterministic. (ii) Balliu, Latypov, Maus, Olivetti, and Uitto [SODA'23] solve only locally checkable labeling problems in O(log⁡D)O(\log D)O(logD) rounds, while our algorithm can be applied to a much broader family of problems.

View on arXiv
Comments on this paper