arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.10332cs.DCcs.DScs.LG
收藏

GreedyML:一种用于最大化约束子模函数的并行算法

GreedyML: A Parallel Algorithm for Maximizing Constrained Submodular Functions

Purdue University(普渡大学);Pacific Northwest National Lab(西北太平洋国家实验室)

Shivaram Gopal, S M Ferdous, Hemanta K. Maji, Alex Pothen

AI总结:

针对分布式 RandGreedi 单累积步骤的内存与瓶颈问题,本文提出多累积步骤的 GreedyML 并行算法,并在百万级数据集上验证其可扩展性、速度与近似质量。

摘要:

我们描述了一种并行近似算法,用于在分布式内存多处理器上求解受遗传约束的单调子模函数最大化问题。我们的工作动机源于需要在海量数据集上求解子模优化问题,以服务于数据摘要、机器学习和图稀疏化等实际场景。我们的工作建立在 Barbosa、Ene、Nguyen 和 Ward(2015)提出的随机分布式 RandGreedi 算法之上。该算法通过在所有处理器之间随机划分数据,然后采用单个累积步骤(所有处理器将其局部解发送给一个处理器)来计算分布式解。然而,对于大规模问题,该累积步骤会超出单个处理器的可用内存,执行累积的处理器会成为计算瓶颈。因此,我们提出了 RandGreedi 算法的一种推广形式,采用多个累积步骤以降低内存需求。我们在 BSP 模型下分析了该算法的近似比和时间复杂度。我们在三类问题上评估了新的 GreedyML 算法,并报告了在包含数百万个元素的大规模数据集上的实验结果。结果表明,GreedyML 算法能够求解顺序 Greedy 和分布式 RandGreedi 算法因内存限制而失败的问题。对于某些计算密集型问题,GreedyML 算法比 RandGreedi 算法更快。在这些问题上,观察到的 GreedyML 算法所计算解的近似质量与 RandGreedi 算法所得结果非常接近。

英文摘要:

We describe a parallel approximation algorithm for maximizing monotone submodular functions subject to hereditary constraints on distributed memory multiprocessors. Our work is motivated by the need to solve submodular optimization problems on massive data sets, for practical contexts such as data summarization, machine learning, and graph sparsification. Our work builds on the randomized distributed RandGreedi algorithm, proposed by Barbosa, Ene, Nguyen, and Ward (2015). This algorithm computes a distributed solution by randomly partitioning the data among all the processors and then employing \emph{a single} accumulation step in which all processors send their partial solutions to one processor. However, for large problems, the accumulation step exceeds the memory available on a processor, and the processor that performs the accumulation becomes a computational bottleneck. Hence we propose a generalization of the RandGreedi algorithm that employs multiple accumulation steps to reduce the memory required. We analyze the approximation ratio and the time complexity of the algorithm (in the BSP model). We evaluate the new GreedyML algorithm on three classes of problems, and report results from large-scale data sets with millions of elements. The results show that the GreedyML algorithm can solve problems where the sequential Greedy and distributed RandGreedi algorithms fail due to memory constraints. For certain computationally intensive problems, the GreedyML algorithm is faster than the RandGreedi algorithm. The observed approximation quality of the solutions computed by the GreedyML algorithm closely matches those obtained by the RandGreedi algorithm on these problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑