Litcius/Paper detail

Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving

Bingzhe Zhou, Hannan Wang, Yuan Yao, Taolue Chen, Feng Xu, Xiaoxing Ma

202413 citationsDOIOpen Access PDF

Abstract

Satisfiability Modulo Theories (SMT) solvers are crucial in many applications, yet their performance is often a bottleneck. This paper introduces SIRISMT, a novel framework that employs machine learning techniques for the automatic synthesis of efficient SMT-solving strategies. Specifically, SIRISMT targets at Z3 and consists of three key stages. First, given a set of training SMT formulas, SIRISMT simulates the solving process by leveraging reinforcement learning to guide its exploration within the strategy space. Next, SIRISMT refines the collected strategies by pruning redundant tactics and generating augmented strategies based on the subsequence structure of the learned strategies. These refined strategies are then fed back into the reinforcement learning model. Finally, the refined and optimized strategies are integrated into one strategy, which can be directly plugged into modern SMT solvers. Extensive evaluations show the superior performance of SIRISMT over the baseline methods. For example, compared to the default Z3, it solves 26.8% more formulas and achieves up to an 86.3% improvement in the Par-2 score on benchmark datasets. Additionally, we show that the synthesized strategy can improve the code coverage by up to 11.8% in a downstream symbolic execution benchmark.

Topics & Concepts

SarcasmUtteranceComputer scienceNatural language processingTask (project management)Artificial intelligenceRhetorical questionModalitiesModality (human–computer interaction)IronyLinguisticsPhilosophySociologySocial scienceEconomicsManagementSentiment Analysis and Opinion MiningNatural Language Processing TechniquesAdvanced Text Analysis Techniques
Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving | Litcius