Skip to main content
QUICK REVIEW

[Paper Review] A linear parallel algorithm to compute bisimulation and relational coarsest partitions

Jan Martens, Jan Friso Groote|arXiv (Cornell University)|May 25, 2021
Ferroelectric and Negative Capacitance DevicesEngineering25 references10 citations
TL;DR

This paper presents the first linear-time parallel algorithm for computing strong bisimulation and relational coarsest partitions on a CRCW PRAM model, using up to max(n, m) processors to achieve O(n + |Act|) time complexity. The algorithm is optimized for modern parallel architectures like GPUs, with a practical CUDA implementation demonstrating linear performance on real hardware.

ABSTRACT

The most efficient way to calculate strong bisimilarity is by calculation the relational coarsest partition on a transition system. We provide the first linear time algorithm to calculate strong bisimulation using parallel random access machines (PRAMs). More precisely, with $n$ states, $m$ transitions and $|\\mathit{Act}|\\leq m$ action labels, we provide an algorithm on $max(n,m)$ processors that calculates strong bisimulation in time $O(n+|\\mathit{Act}|)$ and space $O(n+m)$. The best-known PRAM algorithm has time complexity $O(n\\log n)$ on a smaller number of processors making it less suitable for massive parallel devices such as GPUs. An implementation on a GPU shows that the linear time-bound is achievable on contemporary hardware.

Motivation & Objective

  • To develop a parallel algorithm for computing strong bisimulation and relational coarsest partitions that scales efficiently with modern massively parallel hardware.
  • To overcome the limitations of prior PRAM algorithms with O(n log n) time complexity by achieving optimal O(n + |Act|) time complexity.
  • To design a practical, GPU-compatible implementation that validates the theoretical performance bounds on contemporary hardware.
  • To extend the algorithm to handle labeled transition systems (LTSs) with action labels while preserving linear time complexity.
  • To demonstrate the feasibility of linear-time parallel computation for P-complete problems like bisimulation on highly parallel architectures.

Proposed method

  • The algorithm uses a parallel partition refinement approach based on the sequential Kanellakis-Smolka algorithm, adapted for massive parallelism.
  • It employs a CRCW PRAM model with max(n, m) processors to enable concurrent read and write operations for efficient block refinement.
  • A leader election mechanism is used to select the smallest-indexed representative for each refined block, ensuring deterministic outcomes under concurrent writes.
  • The algorithm processes states and transitions in parallel, using shared memory to track block memberships and refinement markers.
  • For labeled systems, the algorithm processes each action label independently and combines results to compute the final bisimulation partition.
  • The PRAM algorithm is translated into CUDA code for GPU execution, preserving the linear time complexity in practice.

Experimental results

Research questions

  • RQ1Can a parallel algorithm for relational coarsest partitioning achieve linear time complexity on a PRAM model with a large number of processors?
  • RQ2Is it possible to maintain linear time complexity while supporting labeled transition systems with multiple action labels?
  • RQ3Can the theoretical linear-time performance of the PRAM algorithm be achieved in practice on GPU hardware?
  • RQ4How does the performance of this algorithm compare to existing GPU-based bisimulation tools in terms of time complexity and scalability?
  • RQ5Can the algorithm be extended to handle weak or branching bisimulation by incorporating transitive closure of internal actions?

Key findings

  • The proposed algorithm achieves O(n + |Act|) time complexity on max(n, m) processors in the CRCW PRAM model, representing a significant improvement over prior O(n log n) bounds.
  • The algorithm is optimal in terms of work complexity, performing no more computational work than the sequential Kanellakis-Smolka algorithm.
  • A CUDA implementation on an NVIDIA Titan RTX demonstrates that the linear time complexity is achievable in practice on modern GPU hardware.
  • The algorithm supports labeled transition systems by processing each action label independently, maintaining linear time complexity.
  • Leader election is implemented via concurrent writes to select the smallest-indexed state as block representative, ensuring correctness under the CRCW model.
  • The results suggest that P-complete problems like bisimulation can be efficiently parallelized on modern massively parallel architectures such as GPUs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.