# Evaluating Massively Parallel Algorithms for DFA Minimisation, Equivalence Checking and Inclusion Checking

**Authors:** Jan Heemstra, Jan Martens, Anton Wijs

arXiv: 2508.20735 · 2025-08-29

## TL;DR

This paper evaluates parallel algorithms for DFA minimisation, equivalence, and inclusion checking on GPUs, introducing a novel algorithm and analyzing practical performance versus theoretical complexity.

## Contribution

It introduces a new parallel DFA minimisation algorithm with improved practical performance and adapts existing algorithms for GPU acceleration.

## Key findings

- Parallel partition refinement algorithms outperform theoretically faster ones in practice.
- The novel algorithm with an extra transitive closure step shows better runtime on benchmarks.
- GPU-accelerated algorithms enable efficient DFA equivalence and inclusion checking.

## Abstract

We study parallel algorithms for the minimisation and equivalence checking of Deterministic Finite Automata (DFAs). Regarding DFA minimisation, we implement four different massively parallel algorithms on Graphics Processing Units~(GPUs). Our results confirm the expectations that the algorithm with the theoretically best time complexity is not practically suitable to run on GPUs due to the large amount of resources needed. We empirically verify that parallel partition refinement algorithms from the literature perform better in practice, even though their time complexity is worse. Furthermore, we introduce a novel algorithm based on partition refinement with an extra parallel partial transitive closure step and show that on specific benchmarks it has better run-time complexity and performs better in practice.   In addition, we address checking the language equivalence and inclusion of two DFAs. We consider the Hopcroft-Karp algorithm, and explain how a variant of it can be parallelised for GPUs. We note that these problems can be encoded for the GPU-accelerated model checker \GPUexplore, allowing the use its lockless hash table and fine-grained parallel work distribution mechanism.

---
Source: https://tomesphere.com/paper/2508.20735