[Paper Review] Parallel Algorithms for Counting Triangles in Networks with Large Degrees.
This paper presents two MPI-based parallel algorithms for counting triangles in large-scale networks with high-degree nodes, where existing methods fail due to excessive intermediate data or unbalanced workloads. The first uses non-overlapping partitions for memory efficiency; the second employs dynamic load balancing for in-memory networks, achieving strong scalability and performance on large processor counts.
Finding the number of triangles in a network is an important problem in the analysis of complex networks. The number of triangles also has important applications in data mining. Existing distributed memory parallel algorithms for counting triangles are either Map-Reduce based or message passing interface (MPI) based and work with overlapping partitions of the given network. These algorithms are designed for very sparse networks and do not work well when the degrees of the nodes are relatively larger. For networks with larger degrees, Map-Reduce based algorithm generates prohibitively large intermediate data, and in MPI based algorithms with overlapping partitions, each partition can grow as large as the original network, wiping out the benefit of partitioning the network. In this paper, we present two efficient MPI-based parallel algorithms for counting triangles in massive networks with large degrees. The first algorithm is a space-efficient algorithm for networks that do not fit in the main memory of a single compute node. This algorithm divides the network into non-overlapping partitions. The second algorithm is for the case where the main memory of each node is large enough to contain the entire network. We observe that for such a case, computation load can be balanced dynamically and present a dynamic load balancing scheme which improves the performance significantly. Both of our algorithms scale well to large networks and to a large number of processors.
Motivation & Objective
- Address the scalability limitations of existing Map-Reduce and overlapping-partition MPI algorithms in networks with high-degree nodes.
- Design a space-efficient algorithm for triangle counting when networks exceed single-node main memory capacity.
- Develop a dynamic load balancing scheme for in-memory networks to improve performance and balance computation across processors.
- Ensure both algorithms scale effectively to large networks and large numbers of processors.
- Overcome the shortcomings of existing approaches, such as excessive intermediate data and partition size growth.
Proposed method
- Divide the network into non-overlapping partitions to avoid the memory blowup seen in overlapping-partition MPI methods.
- Use an MPI-based communication model to coordinate triangle counting across distributed nodes.
- Implement a space-efficient algorithm that processes partitions independently and aggregates partial triangle counts.
- For in-memory networks, apply a dynamic load balancing strategy that redistributes work during execution to maintain processor utilization.
- Leverage the high-degree structure of the network to optimize data distribution and reduce redundant computation.
- Design the algorithms to minimize communication overhead and maximize parallel efficiency on distributed-memory systems.
Experimental results
Research questions
- RQ1Can a non-overlapping partitioning strategy effectively reduce intermediate data and memory pressure in triangle counting for high-degree networks?
- RQ2How can dynamic load balancing improve performance when the entire network fits in main memory?
- RQ3To what extent do the proposed algorithms scale with increasing network size and processor count?
- RQ4How do the proposed MPI-based algorithms compare to Map-Reduce and overlapping-partition MPI methods in terms of performance and memory usage?
- RQ5What is the impact of node degree distribution on the efficiency of triangle counting algorithms?
Key findings
- The non-overlapping partitioning strategy significantly reduces intermediate data volume compared to Map-Reduce and overlapping-partition MPI methods.
- The dynamic load balancing scheme improves performance by maintaining high processor utilization in in-memory scenarios.
- Both algorithms scale well to large networks and large numbers of processors, demonstrating strong scalability.
- The space-efficient algorithm enables triangle counting in networks that exceed the main memory capacity of a single compute node.
- The proposed algorithms outperform existing approaches in terms of memory efficiency and runtime for networks with high node degrees.
- The dynamic load balancing approach reduces idle time and communication bottlenecks, leading to faster convergence on large-scale graphs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.