ContraMST: A unified framework for dynamic MST maintenance

IF 6.2 2区 计算机科学 Q1 COMPUTER SCIENCE, THEORY & METHODS
Akanksha Dwivedi, Dip Sankar Banerjee
{"title":"ContraMST: A unified framework for dynamic MST maintenance","authors":"Akanksha Dwivedi,&nbsp;Dip Sankar Banerjee","doi":"10.1016/j.future.2025.108097","DOIUrl":null,"url":null,"abstract":"<div><div>Dynamic graphs, characterized by frequent changes in their topological structure through the addition or deletion of edges or vertices, present significant challenges for algorithm design. This work introduces <em>ContraMST</em>, a suite of algorithms for efficiently processing dynamic graphs in a batched setting. We employ a tree contraction mechanism to create a hierarchical representation of the input graph, facilitating the identification of localized updates. This approach enables the maintenance of critical graph primitives, such as the minimum spanning tree (MST), without requiring recomputation from scratch. Experimental results demonstrate the effectiveness of <em>ContraMST</em> on real-world graphs, where batch-dynamic algorithms are crucial for efficiently handling updates in different batch processing scenarios.</div><div>Specifically, our technique highlights <em>ContraMST’s</em> performance across various update scenarios: IMB (Incremental), DMB (Decremental), and FDM (Fully Batch Dynamic) MST. For IMB, we demonstrate experimental validations on GPUs, where our proposed technique achieves up to 3.43<span><math><mo>×</mo></math></span> speedup compared to equivalent parallel implementations on shared-memory CPUs. Additionally, it provides up to 4.23<span><math><mo>×</mo></math></span> speedup over conventional parallel computation from scratch. For DMB, experimental results show that <em>ContraMST</em> achieves up to 4.98<span><math><mo>×</mo></math></span> speedup on GPUs compared to equivalent parallel implementations on shared-memory CPUs, with an additional 5.12<span><math><mo>×</mo></math></span> speedup over conventional parallel computation from scratch. For FDM, our experimental validations demonstrate that <em>ContraMST</em> achieves up to 6.56<span><math><mo>×</mo></math></span> speedup on GPUs over shared-memory CPU implementations and up to 7.31<span><math><mo>×</mo></math></span> speedup compared to conventional parallel computation from scratch. This significant improvement is attributed to <em>ContraMST’s</em> ability to process IMB and DMB operations together, reducing redundant computations and fully utilizing GPU parallelism. These results underscore <em>ContraMST’s</em> efficiency in managing dynamic graph updates in a batch setting, leveraging GPU parallelism to enhance performance across all update scenarios.</div></div>","PeriodicalId":55132,"journal":{"name":"Future Generation Computer Systems-The International Journal of Escience","volume":"176 ","pages":"Article 108097"},"PeriodicalIF":6.2000,"publicationDate":"2025-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Future Generation Computer Systems-The International Journal of Escience","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167739X25003917","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Dynamic graphs, characterized by frequent changes in their topological structure through the addition or deletion of edges or vertices, present significant challenges for algorithm design. This work introduces ContraMST, a suite of algorithms for efficiently processing dynamic graphs in a batched setting. We employ a tree contraction mechanism to create a hierarchical representation of the input graph, facilitating the identification of localized updates. This approach enables the maintenance of critical graph primitives, such as the minimum spanning tree (MST), without requiring recomputation from scratch. Experimental results demonstrate the effectiveness of ContraMST on real-world graphs, where batch-dynamic algorithms are crucial for efficiently handling updates in different batch processing scenarios.
Specifically, our technique highlights ContraMST’s performance across various update scenarios: IMB (Incremental), DMB (Decremental), and FDM (Fully Batch Dynamic) MST. For IMB, we demonstrate experimental validations on GPUs, where our proposed technique achieves up to 3.43× speedup compared to equivalent parallel implementations on shared-memory CPUs. Additionally, it provides up to 4.23× speedup over conventional parallel computation from scratch. For DMB, experimental results show that ContraMST achieves up to 4.98× speedup on GPUs compared to equivalent parallel implementations on shared-memory CPUs, with an additional 5.12× speedup over conventional parallel computation from scratch. For FDM, our experimental validations demonstrate that ContraMST achieves up to 6.56× speedup on GPUs over shared-memory CPU implementations and up to 7.31× speedup compared to conventional parallel computation from scratch. This significant improvement is attributed to ContraMST’s ability to process IMB and DMB operations together, reducing redundant computations and fully utilizing GPU parallelism. These results underscore ContraMST’s efficiency in managing dynamic graph updates in a batch setting, leveraging GPU parallelism to enhance performance across all update scenarios.
ContraMST:用于动态MST维护的统一框架
动态图的特点是通过添加或删除边或顶点而频繁改变其拓扑结构,这对算法设计提出了重大挑战。这项工作介绍了ContraMST,一套算法,用于在批处理设置中有效地处理动态图形。我们使用树收缩机制来创建输入图的分层表示,从而促进本地化更新的识别。这种方法支持关键图原语的维护,比如最小生成树(MST),而不需要从头开始重新计算。实验结果证明了ContraMST在现实世界图上的有效性,其中批处理动态算法对于在不同的批处理场景中有效处理更新至关重要。具体来说,我们的技术突出了ContraMST在各种更新场景中的性能:IMB(增量)、DMB(递减)和FDM(完全批处理动态)MST。对于IMB,我们在gpu上进行了实验验证,与共享内存cpu上的等效并行实现相比,我们提出的技术实现了高达3.43倍的加速。此外,与传统的从头开始的并行计算相比,它提供了高达4.23倍的加速。对于DMB,实验结果表明,与共享内存cpu上的等效并行实现相比,ContraMST在gpu上实现了高达4.98倍的加速,比从头开始的传统并行计算增加了5.12倍的加速。对于FDM,我们的实验验证表明,与共享内存CPU实现相比,ContraMST在gpu上实现了高达6.56倍的加速,与从头开始的传统并行计算相比,高达7.31倍的加速。这一重大改进归功于ContraMST能够同时处理IMB和DMB操作,减少冗余计算并充分利用GPU并行性。这些结果强调了ContraMST在批处理设置中管理动态图形更新的效率,利用GPU并行性来提高所有更新场景的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
19.90
自引率
2.70%
发文量
376
审稿时长
10.6 months
期刊介绍: Computing infrastructures and systems are constantly evolving, resulting in increasingly complex and collaborative scientific applications. To cope with these advancements, there is a growing need for collaborative tools that can effectively map, control, and execute these applications. Furthermore, with the explosion of Big Data, there is a requirement for innovative methods and infrastructures to collect, analyze, and derive meaningful insights from the vast amount of data generated. This necessitates the integration of computational and storage capabilities, databases, sensors, and human collaboration. Future Generation Computer Systems aims to pioneer advancements in distributed systems, collaborative environments, high-performance computing, and Big Data analytics. It strives to stay at the forefront of developments in grids, clouds, and the Internet of Things (IoT) to effectively address the challenges posed by these wide-area, fully distributed sensing and computing systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信