FASTDIAGP: An Algorithm for Parallelized Direct Diagnosis

Viet-Man Le,Cristian Vidal Silva,Alexander Felfernig,David Benavides,José Galindo,Thi Ngoc Trang Tran
DOI: https://doi.org/10.1609/aaai.v37i5.25792
2023-06-26
Proceedings of the AAAI Conference on Artificial Intelligence
Abstract:Constraint-based applications attempt to identify a solution that meets all defined user requirements. If the requirements are inconsistent with the underlying constraint set, algorithms that compute diagnoses for inconsistent constraints should be implemented to help users resolve the “no solution could be found” dilemma. FastDiag is a typical direct diagnosis algorithm that supports diagnosis calculation without pre-determining conflicts. However, this approach faces runtime performance issues, especially when analyzing complex and large-scale knowledge bases. In this paper, we propose a novel algorithm, so-called FastDiagP, which is based on the idea of speculative programming. This algorithm extends FastDiag by integrating a parallelization mechanism that anticipates and pre-calculates consistency checks requested by FastDiag. This mechanism helps to provide consistency checks with fast answers and boosts the algorithm’s runtime performance. The performance improvements of our proposed algorithm have been shown through empirical results using the Linux-2.6.3.33 configuration knowledge base.
What problem does this paper attempt to address?