{"title":"ContraMST: A unified framework for dynamic MST maintenance","authors":"Akanksha Dwivedi, 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.
期刊介绍:
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.