Efficient trimming for strongly connected components calculation

Dante Niewenhuis, Ana Lucia Varbanescu

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

2 Citations (Scopus)
58 Downloads (Pure)

Abstract

Strongly Connected Components (SCCs) are useful for many applications, such as community detection and personalized recommendation. Determining the SCCs of a graph, however, can be very expensive, and parallelization is not an easy way out: the paral-lelization itself is challenging, and its performance impact varies non-trivially with the input graph structure. This variability is due to trivial components, i.e., SCCs consisting of a single vertex, which lead to significant workload imbalance. Trimming is an effective method to remove trivial components, but is inefficient when used on graphs with few trivial components. In this work, we propose FB-AI-Trim, a parallel SCC algorithm with selective trimming. Our algorithm decides dynamically, at runtime, based on the input graph how to trim the graph. To this end, we train a neural network to predict, using topological graph information, whether trimming is beneficial for performance. We evaluate FB-AI-Trim using 173 unseen graphs, and compare it against four different static trimming models. Our results demonstrate that, over the set of graphs, FB-AI-Trim is the fastest algorithm. Furthermore, FB-AI-Trim is, in 80% of the cases, less than 10% slower than the best performing model on a single graph. Finally, FB-AI-Trim shows significant performance degradation in less than 3% of the graphs.

Original languageEnglish
Title of host publicationProceedings of the 19th ACM International Conference on Computing Frontiers 2022, CF 2022
PublisherAssociation for Computing Machinery
Pages131-140
Number of pages10
ISBN (Electronic)9781450393386
DOIs
Publication statusPublished - 17 May 2022
Event19th ACM International Conference on Computing Frontiers, CF 2022 - Turin, Italy
Duration: 17 May 202219 May 2022
Conference number: 19

Conference

Conference19th ACM International Conference on Computing Frontiers, CF 2022
Abbreviated titleCF 2022
Country/TerritoryItaly
CityTurin
Period17/05/2219/05/22

Keywords

  • 2024 OA procedure
  • machine learning for performance optimization
  • strongly connected components (SCC)
  • AI-enhanced parallel graph processing

Fingerprint

Dive into the research topics of 'Efficient trimming for strongly connected components calculation'. Together they form a unique fingerprint.

Cite this