Toggle Tree: A New Data Structure for Efficient Parallel Graph Processing
Xinjian Jiang, Youzhe Liu, Yan Gu, Yihan Sun
Key points
From the paper's conclusion- We present the Toggle Tree, a parallel data structure for frontier-based graph algorithms.
Abstract
We present the Toggle Tree, a parallel data structure for frontier-based graph algorithms. A Toggle Tree is used to represent a subset of vertices using hierarchical bit vectors, enabling efficient parallel updates, traversal, and set-wise reductions without global packing. It provides an IndexSet interface that unifies a wide range of parallel graph algorithms under a common abstraction of frontiers and active sets, and an IndexMap interface that also incorporates priority-queue semantics. Specifically, the Toggle Tree aims to combine the advantages of traditional sparse and dense frontier representations, offering both provable theoretical guarantees and high efficiency in practice. Using Toggle Trees, we implement five fundamental graph algorithms, including breadth-first search (BFS), k-core, degree-based graph coloring, single-source shortest paths using Bellman-Ford, and weighted-BFS (wBFS). Across a diverse set of large real-world graphs and the five graph problems, our implementations outperform state-of-the-art baselines, including GBBS and PASGAL, achieving substantial speedups. Our code is publicly available.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- H-BRICK: Hierarchical Boundary Reachability Index with Compressed Kleene Closure for Directed Grid GraphsarXiv · 2026
- H-BRICK: Hierarchical Boundary Reachability Index with Compressed Kleene Closure for Directed Grid GraphsMathematics · 2026
- Graph reachability queries: A unified multi-metric framework with dynamic evaluation and practical guidelinesWorld Wide Web · 2026
- Bitruss Maintenance on Dynamic Bipartite GraphsElectronics · 2026
- Fast and Theoretically-Efficient Batch-Parallel Link-Cut Trees, Euler Tour Trees, and TreapsarXiv · 2026
- Fully Dynamic Triangle and 4-Vertex Subgraph Counting: From Theory to Practice and Back AgainarXiv · 2026