arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22764cs.DCcs.LO
收藏

面向DFA最小化的大规模并行算法评估

An Evaluation of Massively Parallel Algorithms for DFA Minimization

Jan Martens, Anton Wijs

AI总结:

本文针对DFA最小化问题,在GPU上实现四种大规模并行算法,发现理论最优复杂度算法因资源需求大不适用,现有并行划分细化算法实际表现更优,还提出带并行部分传递闭包的新算法,在特定基准上复杂度和表现均更优。

摘要:

我们研究了确定性有限自动机(Deterministic Finite Automata,DFA)最小化的并行算法。具体而言,我们在图形处理单元(Graphics Processing Units,GPU)上实现了四种不同的大规模并行算法。结果证实了预期:理论时间复杂度最优的算法因所需资源量过大,实际并不适合在GPU上运行。我们通过实验验证,现有文献中的并行划分细化算法尽管时间复杂度更差,但实际表现更优。最后,我们提出了一种基于划分细化的新算法,额外加入了并行部分传递闭包步骤,并表明在特定基准测试上,该算法的运行时间复杂度更优,实际表现也更好。

英文摘要:

We study parallel algorithms for the minimization of Deterministic Finite Automata (DFAs). In particular, 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. Lastly, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑