MFH: A Multi-faceted Heuristic Algorithm Selection Approach for Software Verification

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Su, Jie, Deng, Liansai, Wen, Cheng, Wang, Rong, Ma, Zhi, Zhang, Nan, Tian, Cong, Duan, Zhenhua, Qin, Shengchao
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915299742187520
author Su, Jie
Deng, Liansai
Wen, Cheng
Wang, Rong
Ma, Zhi
Zhang, Nan
Tian, Cong
Duan, Zhenhua
Qin, Shengchao
author_facet Su, Jie
Deng, Liansai
Wen, Cheng
Wang, Rong
Ma, Zhi
Zhang, Nan
Tian, Cong
Duan, Zhenhua
Qin, Shengchao
contents Currently, many verification algorithms are available to improve the reliability of software systems. Selecting the appropriate verification algorithm typically demands domain expertise and non-trivial manpower. An automated algorithm selector is thus desired. However, existing selectors, either depend on machine-learned strategies or manually designed heuristics, encounter issues such as reliance on high-quality samples with algorithm labels and limited scalability. In this paper, an automated algorithm selection approach, namely MFH, is proposed for software verification. Our approach leverages the heuristics that verifiers producing correct results typically implement certain appropriate algorithms, and the supported algorithms by these verifiers indirectly reflect which ones are potentially applicable. Specifically, MFH embeds the code property graph (CPG) of a semantic-preserving transformed program to enhance the robustness of the prediction model. Furthermore, our approach decomposes the selection task into the sub-tasks of predicting potentially applicable algorithms and matching the most appropriate verifiers. Additionally, MFH also introduces a feedback loop on incorrect predictions to improve model prediction accuracy. We evaluate MFH on 20 verifiers and over 15,000 verification tasks. Experimental results demonstrate the effectiveness of MFH, achieving a prediction accuracy of 91.47% even without ground truth algorithm labels provided during the training phase. Moreover, the prediction accuracy decreases only by 0.84% when introducing 10 new verifiers, indicating the strong scalability of the proposed approach.
format Preprint
id arxiv_https___arxiv_org_abs_2503_22228
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MFH: A Multi-faceted Heuristic Algorithm Selection Approach for Software Verification
Su, Jie
Deng, Liansai
Wen, Cheng
Wang, Rong
Ma, Zhi
Zhang, Nan
Tian, Cong
Duan, Zhenhua
Qin, Shengchao
Software Engineering
Artificial Intelligence
Machine Learning
I.2.6; I.2.11; D.2.4
Currently, many verification algorithms are available to improve the reliability of software systems. Selecting the appropriate verification algorithm typically demands domain expertise and non-trivial manpower. An automated algorithm selector is thus desired. However, existing selectors, either depend on machine-learned strategies or manually designed heuristics, encounter issues such as reliance on high-quality samples with algorithm labels and limited scalability. In this paper, an automated algorithm selection approach, namely MFH, is proposed for software verification. Our approach leverages the heuristics that verifiers producing correct results typically implement certain appropriate algorithms, and the supported algorithms by these verifiers indirectly reflect which ones are potentially applicable. Specifically, MFH embeds the code property graph (CPG) of a semantic-preserving transformed program to enhance the robustness of the prediction model. Furthermore, our approach decomposes the selection task into the sub-tasks of predicting potentially applicable algorithms and matching the most appropriate verifiers. Additionally, MFH also introduces a feedback loop on incorrect predictions to improve model prediction accuracy. We evaluate MFH on 20 verifiers and over 15,000 verification tasks. Experimental results demonstrate the effectiveness of MFH, achieving a prediction accuracy of 91.47% even without ground truth algorithm labels provided during the training phase. Moreover, the prediction accuracy decreases only by 0.84% when introducing 10 new verifiers, indicating the strong scalability of the proposed approach.
title MFH: A Multi-faceted Heuristic Algorithm Selection Approach for Software Verification
topic Software Engineering
Artificial Intelligence
Machine Learning
I.2.6; I.2.11; D.2.4
url https://arxiv.org/abs/2503.22228