[Paper Review] Scheduling Constraint Based Abstraction Refinement for Multi-Threaded Program Verification
This paper proposes a scheduling constraint-based abstraction refinement method for multi-threaded program verification that avoids the complex encoding of thread interleavings in bounded model checking (BMC). By initially abstracting away scheduling constraints and refining only when counterexamples are infeasible—using graph-based algorithms on event order graphs—it achieves significant performance gains, outperforming state-of-the-art tools on SV-COMP 2017 benchmarks with 8× smaller formula sizes and faster verification times.
Bounded model checking is among the most efficient techniques for the automatic verification of concurrent programs. However, encoding all possible interleavings often requires a huge and complex formula, which significantly limits the salability. This paper proposes a novel and efficient abstraction refinement method for multi-threaded program verification. Observing that the huge formula is usually dominated by the exact encoding of the scheduling constraint, this paper proposes a sc based abstraction refinement method, which avoids the huge and complex encoding of BMC. In addition, to obtain an effective refinement, we have devised two graph-based algorithms over event order graph for counterexample validation and refinement generation, which can always obtain a small yet effective refinement constraint. Enhanced by two constraint-based algorithms for counterexample validation and refinement generation, we have proved that our method is sound and complete w.r.t. the given loop unwinding depth. Experimental results on \svcompc benchmarks indicate that our method is promising and significantly outperforms the existing state-of-the-art tools.
Motivation & Objective
- To address the scalability bottleneck in bounded model checking (BMC) for concurrent programs caused by complex scheduling constraint encoding.
- To reduce the size and complexity of BMC formulas by abstracting away scheduling constraints initially.
- To develop efficient, graph-based algorithms for validating counterexamples and generating effective refinement constraints.
- To ensure soundness and completeness of the verification process with respect to a given loop unwinding depth.
- To outperform existing tools on real-world concurrent program verification benchmarks.
Proposed method
- The method starts with an over-approximation of the program by ignoring scheduling constraints, which are typically cubic in size due to clock variables.
- It uses an event order graph (EOG) to represent thread interleavings and analyze counterexample feasibility.
- A graph-based algorithm validates whether a counterexample is infeasible by identifying core kernel reasons for infeasibility.
- A constraint-based refinement generation process produces minimal, effective constraints to eliminate spurious counterexamples.
- The refinement process is guided by identifying infeasibility causes in the EOG, ensuring minimal abstraction growth.
- The approach is formally proven sound and complete for a given loop unwinding depth.
Experimental results
Research questions
- RQ1Can abstracting away scheduling constraints in BMC significantly reduce formula size and improve scalability for multi-threaded programs?
- RQ2Can graph-based analysis of event order graphs effectively identify infeasible counterexamples in concurrent programs?
- RQ3Can constraint-based refinement generate minimal yet effective constraints to eliminate spurious counterexamples efficiently?
- RQ4Does the proposed method outperform existing state-of-the-art tools in verification performance and resource usage?
- RQ5Can the method maintain soundness and completeness while reducing the complexity of scheduling constraint encoding?
Key findings
- The proposed method reduced the average formula size to 1/8 of the original size compared to exact encoding of scheduling constraints.
- The tool verified all SV-COMP 2017 concurrency benchmarks within 1550 seconds and 43 GB of memory, outperforming Lazy-CSeq-Abs, which required 9820 seconds and 104 GB.
- The method successfully verified all benchmarks with only dozens of refinement iterations, indicating efficient convergence.
- The size increase in abstraction during refinement was negligible compared to the initial abstraction, demonstrating low overhead.
- The graph-based EOG validation method successfully detected infeasibility in most cases, with rare exceptions requiring constraint-based validation.
- The tool won the gold medal in the concurrency track of SV-COMP 2017, confirming its practical superiority.
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.