[Paper Review] Bounded Model Checking and Feature Omission Diversity
This paper proposes swarm bounded model checking (swarm BMC), a parallel, feature omission-based technique that accelerates counterexample discovery in bounded model checking by running multiple independent BMC instances with randomly disabled features. By reducing constraint complexity and enabling diverse search paths, swarm BMC finds counterexamples faster than standard BMC, even with a single core, and can uncover multiple faults in parallel when using multiple cores.
In this paper we introduce a novel way to speed up the discovery of counterexamples in bounded model checking, based on parallel runs over versions of a system in which features have been randomly disabled. As shown in previous work, adding constraints to a bounded model checking problem can reduce the size of the verification problem and dramatically decrease the time required to find counterexample. Adapting a technique developed in software testing to this problem provides a simple way to produce useful partial verification problems, with a resulting decrease in average time until a counterexample is produced. If no counterexample is found, partial verification results can also be useful in practice.
Motivation & Objective
- To address the state-space explosion problem in bounded model checking by introducing feature omission diversity.
- To enable parallelism in bounded model checking without requiring parallel SAT solvers.
- To improve the efficiency and coverage of counterexample discovery in symbolic model checking.
- To explore whether partial verification via feature omission can yield useful results even when no counterexample is found.
- To evaluate the practicality and performance gains of swarm BMC on real-world systems with known bugs.
Proposed method
- Adapting swarm testing techniques to bounded model checking by randomly disabling features in system models to generate smaller, constrained verification problems.
- Using a trace-based approach to bounded model checking to formally represent and manipulate feature omissions as logical constraints.
- Running multiple independent BMC instances in parallel, each with a different subset of features omitted, to diversify search space exploration.
- Applying static slicing to reduce the size of verification problems and improve performance in swarm BMC.
- Aggregating results from multiple swarm runs to either find counterexamples faster or restrict full verification to safer traces.
- Leveraging the fact that disabling certain features (e.g., close, pop) can expose hidden bugs by simplifying state space exploration.
Experimental results
Research questions
- RQ1Can feature omission diversity, inspired by swarm testing, accelerate counterexample discovery in bounded model checking?
- RQ2Does parallel execution of feature-omitted BMC instances improve the time-to-first-counterexample compared to standard BMC?
- RQ3Can partial verification results from swarm BMC be used to guide or restrict full system verification?
- RQ4How does static slicing affect the performance and scalability of swarm BMC?
- RQ5Can swarm BMC uncover multiple distinct faults before standard BMC finds a single one?
Key findings
- In the array queue benchmark, swarm BMC with 5000 depth found counterexamples up to 2.5x faster than standard BMC, with some configurations reducing time to counterexample by over 40%.
- For the stack list benchmark, swarm BMC with feature omission found the null pointer dereference bug significantly faster than standard BMC, especially at higher depths.
- With slicing enabled, swarm BMC reduced verification times by up to 25% compared to non-sliced versions, demonstrating the benefit of constraint minimization.
- In all configurations, swarm BMC produced counterexamples faster than standard BMC, and when run in parallel, it discovered multiple distinct faults before standard BMC found any.
- Even when no counterexample was found, swarm BMC results could be used to restrict full verification, suggesting potential for hybrid verification strategies.
- The approach successfully applied feature omission diversity to symbolic model checking, proving effective in reducing SAT instance complexity and improving search diversity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.