Enhancing Model Checking Portfolios in Theta through Partial Result Propagation. Imeri, K. 2026. Bachelor's Thesis, Budapest University of Technology and Economics
Pdf
Link abstract bibtex 1 download Software is an indispensable part of modern life, from smartphones to satellites, but such code inevitably contains bugs that require fixing. Software verification is the process of identifying bugs in computer programs or formally demonstrating their absence. A powerful verification technique is model checking, which, given a formal model of a program and a desired property, systematically traverses the entire state space to determine whether the property holds. The primary challenge in model checking is the state space explosion, where the number of states can grow exponentially large, even in simple programs. To tackle the problem, a diverse range of algorithms are utilized, such as CEGAR (Counterexample Guided Abstraction Refinement), BMC (Bounded Model Checking), and k-Induction. Each technique possesses distinct strengths and weaknesses, excelling at different types of program complexities (e.g., loops, large data domains). Consequently, no single model checking algorithm is optimal for all situations. To address the issue, strategies like algorithm portfolios have been proposed. A general approach to enhance algorithm portfolios is cooperation, which involves sharing information between different algorithms. A common cooperation strategy is to use sequential portfolios. When an algorithm is deemed insufficient for a given problem, it is stopped, and its partial results are extracted and shared with the next algorithm in the sequence. However, the methods currently used to pass partial results are often complex and present a significant implementation barrier. As a result, a simple way is proposed to extract invariants from CEGAR algorithms and pass them to other algorithms using the Control Flow Automaton (CFA). Furthermore, while much work has focused on cooperation, the criteria for stopping an algorithm are often just simple static time or memory limits. Although sophisticated offline AI models have been shown to perform well, they entail high inference costs and memory consumption. To overcome such drawbacks, a lightweight online algorithm is proposed to predict timeouts with high accuracy but without the heavy overhead. The proposed heuristic is implemented in the Theta model checking framework, extending its existing portfolio capabilities to allow an algorithm to be stopped based on the predictive heuristic and to share partial results between algorithms. To evaluate the approach, an experiment was designed and executed on the benchmark set of the International Software Verification Competition (SV-COMP), analyzing how effective the proposed heuristic is in practice. The evaluation demonstrates that the simple partial result transfer method can solve previously intractable problems. Furthermore, the lightweight online heuristic predicts algorithm timeouts with high accuracy, proving to be a viable alternative to resource intensive offline models.
@misc{imerikBsc2026,
author = {Imeri, Klevis},
title = {Enhancing Model Checking Portfolios in Theta through Partial Result Propagation},
note = {Bachelor's Thesis, Budapest University of Technology and Economics},
year = {2026},
type = {Thesis},
url_pdf = {imerikBsc2026.pdf},
url_link = {https://doi.org/10.5281/zenodo.20449747},
abstract = {Software is an indispensable part of modern life, from smartphones to satellites, but such code inevitably contains bugs that require fixing. Software verification is the process of identifying bugs in computer programs or formally demonstrating their absence. A powerful verification technique is model checking, which, given a formal model of a program and a desired property, systematically traverses the entire state space to determine whether the property holds. The primary challenge in model checking is the state space explosion, where the number of states can grow exponentially large, even in simple programs. To tackle the problem, a diverse range of algorithms are utilized, such as CEGAR (Counterexample Guided Abstraction Refinement), BMC (Bounded Model Checking), and k-Induction. Each technique possesses distinct strengths and weaknesses, excelling at different types of program complexities (e.g., loops, large data domains). Consequently, no single model checking algorithm is optimal for all situations. To address the issue, strategies like algorithm portfolios have been proposed. A general approach to enhance algorithm portfolios is cooperation, which involves sharing information between different algorithms. A common cooperation strategy is to use sequential portfolios. When an algorithm is deemed insufficient for a given problem, it is stopped, and its partial results are extracted and shared with the next algorithm in the sequence. However, the methods currently used to pass partial results are often complex and present a significant implementation barrier. As a result, a simple way is proposed to extract invariants from CEGAR algorithms and pass them to other algorithms using the Control Flow Automaton (CFA). Furthermore, while much work has focused on cooperation, the criteria for stopping an algorithm are often just simple static time or memory limits. Although sophisticated offline AI models have been shown to perform well, they entail high inference costs and memory consumption. To overcome such drawbacks, a lightweight online algorithm is proposed to predict timeouts with high accuracy but without the heavy overhead. The proposed heuristic is implemented in the Theta model checking framework, extending its existing portfolio capabilities to allow an algorithm to be stopped based on the predictive heuristic and to share partial results between algorithms. To evaluate the approach, an experiment was designed and executed on the benchmark set of the International Software Verification Competition (SV-COMP), analyzing how effective the proposed heuristic is in practice. The evaluation demonstrates that the simple partial result transfer method can solve previously intractable problems. Furthermore, the lightweight online heuristic predicts algorithm timeouts with high accuracy, proving to be a viable alternative to resource intensive offline models.},
}
Downloads: 1
{"_id":"evcezs9cDm4GbKn5A","bibbaseid":"imeri-enhancingmodelcheckingportfoliosinthetathroughpartialresultpropagation-2026","author_short":["Imeri, K."],"bibdata":{"bibtype":"misc","type":"Thesis","author":[{"propositions":[],"lastnames":["Imeri"],"firstnames":["Klevis"],"suffixes":[]}],"title":"Enhancing Model Checking Portfolios in Theta through Partial Result Propagation","note":"Bachelor's Thesis, Budapest University of Technology and Economics","year":"2026","url_pdf":"imerikBsc2026.pdf","url_link":"https://doi.org/10.5281/zenodo.20449747","abstract":"Software is an indispensable part of modern life, from smartphones to satellites, but such code inevitably contains bugs that require fixing. Software verification is the process of identifying bugs in computer programs or formally demonstrating their absence. A powerful verification technique is model checking, which, given a formal model of a program and a desired property, systematically traverses the entire state space to determine whether the property holds. The primary challenge in model checking is the state space explosion, where the number of states can grow exponentially large, even in simple programs. To tackle the problem, a diverse range of algorithms are utilized, such as CEGAR (Counterexample Guided Abstraction Refinement), BMC (Bounded Model Checking), and k-Induction. Each technique possesses distinct strengths and weaknesses, excelling at different types of program complexities (e.g., loops, large data domains). Consequently, no single model checking algorithm is optimal for all situations. To address the issue, strategies like algorithm portfolios have been proposed. A general approach to enhance algorithm portfolios is cooperation, which involves sharing information between different algorithms. A common cooperation strategy is to use sequential portfolios. When an algorithm is deemed insufficient for a given problem, it is stopped, and its partial results are extracted and shared with the next algorithm in the sequence. However, the methods currently used to pass partial results are often complex and present a significant implementation barrier. As a result, a simple way is proposed to extract invariants from CEGAR algorithms and pass them to other algorithms using the Control Flow Automaton (CFA). Furthermore, while much work has focused on cooperation, the criteria for stopping an algorithm are often just simple static time or memory limits. Although sophisticated offline AI models have been shown to perform well, they entail high inference costs and memory consumption. To overcome such drawbacks, a lightweight online algorithm is proposed to predict timeouts with high accuracy but without the heavy overhead. The proposed heuristic is implemented in the Theta model checking framework, extending its existing portfolio capabilities to allow an algorithm to be stopped based on the predictive heuristic and to share partial results between algorithms. To evaluate the approach, an experiment was designed and executed on the benchmark set of the International Software Verification Competition (SV-COMP), analyzing how effective the proposed heuristic is in practice. The evaluation demonstrates that the simple partial result transfer method can solve previously intractable problems. Furthermore, the lightweight online heuristic predicts algorithm timeouts with high accuracy, proving to be a viable alternative to resource intensive offline models.","bibtex":"@misc{imerikBsc2026,\n author = {Imeri, Klevis},\n title = {Enhancing Model Checking Portfolios in Theta through Partial Result Propagation},\n note = {Bachelor's Thesis, Budapest University of Technology and Economics},\n year = {2026},\n type = {Thesis},\n url_pdf = {imerikBsc2026.pdf},\n url_link = {https://doi.org/10.5281/zenodo.20449747},\n abstract = {Software is an indispensable part of modern life, from smartphones to satellites, but such code inevitably contains bugs that require fixing. Software verification is the process of identifying bugs in computer programs or formally demonstrating their absence. A powerful verification technique is model checking, which, given a formal model of a program and a desired property, systematically traverses the entire state space to determine whether the property holds. The primary challenge in model checking is the state space explosion, where the number of states can grow exponentially large, even in simple programs. To tackle the problem, a diverse range of algorithms are utilized, such as CEGAR (Counterexample Guided Abstraction Refinement), BMC (Bounded Model Checking), and k-Induction. Each technique possesses distinct strengths and weaknesses, excelling at different types of program complexities (e.g., loops, large data domains). Consequently, no single model checking algorithm is optimal for all situations. To address the issue, strategies like algorithm portfolios have been proposed. A general approach to enhance algorithm portfolios is cooperation, which involves sharing information between different algorithms. A common cooperation strategy is to use sequential portfolios. When an algorithm is deemed insufficient for a given problem, it is stopped, and its partial results are extracted and shared with the next algorithm in the sequence. However, the methods currently used to pass partial results are often complex and present a significant implementation barrier. As a result, a simple way is proposed to extract invariants from CEGAR algorithms and pass them to other algorithms using the Control Flow Automaton (CFA). Furthermore, while much work has focused on cooperation, the criteria for stopping an algorithm are often just simple static time or memory limits. Although sophisticated offline AI models have been shown to perform well, they entail high inference costs and memory consumption. To overcome such drawbacks, a lightweight online algorithm is proposed to predict timeouts with high accuracy but without the heavy overhead. The proposed heuristic is implemented in the Theta model checking framework, extending its existing portfolio capabilities to allow an algorithm to be stopped based on the predictive heuristic and to share partial results between algorithms. To evaluate the approach, an experiment was designed and executed on the benchmark set of the International Software Verification Competition (SV-COMP), analyzing how effective the proposed heuristic is in practice. The evaluation demonstrates that the simple partial result transfer method can solve previously intractable problems. Furthermore, the lightweight online heuristic predicts algorithm timeouts with high accuracy, proving to be a viable alternative to resource intensive offline models.},\n}\n","author_short":["Imeri, K."],"key":"imerikBsc2026","id":"imerikBsc2026","bibbaseid":"imeri-enhancingmodelcheckingportfoliosinthetathroughpartialresultpropagation-2026","role":"author","urls":{" pdf":"https://ftsrg.mit.bme.hu/theta/publications/imerikBsc2026.pdf"," link":"https://doi.org/10.5281/zenodo.20449747"},"metadata":{"authorlinks":{}},"downloads":1},"bibtype":"misc","biburl":"https://ftsrg.mit.bme.hu/theta/publications/publications.bib","dataSources":["7MDizr2BZojXoNdPN"],"keywords":[],"search_terms":["enhancing","model","checking","portfolios","theta","through","partial","result","propagation","imeri"],"title":"Enhancing Model Checking Portfolios in Theta through Partial Result Propagation","year":2026,"downloads":1}