Skip to main navigation Skip to search Skip to main content

SMTgazer: Learning to Schedule SMT Algorithms via Bayesian Optimization

  • Chuan Luo*
  • , Shaoke Cui
  • , Jianping Song
  • , Xindi Zhang
  • , Wei Wu
  • , Chanjuan Liu
  • , Shaowei Cai
  • , Chunming Hu
  • *Corresponding author for this work
  • Beihang University
  • CAS - Institute of Software
  • Central South University
  • Dalian University of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Satisfiability Modulo Theories (SMT) plays a critical role in various software engineering applications, including program verification, symbolic execution, and automated test generation. Over the years, a wide range of SMT solvers has been developed, typically designed for general purposes or tailored to specific background theories, such as bit-vectors or nonlinear arithmetic. Due to the diversity and complexity of SMT instances, no single solver consistently outperforms others across all problem domains. This motivates the need for algorithm selection strategies that can adaptively choose solvers based on the characteristics of the instances.To overcome the limitations of single-solver selection, solving SMT as a scheduling problem, enabling a more fault-tolerant and effective use of multiple solvers in sequence. We model algorithm scheduling as a hyperparameter optimization problem, enabling efficient black-box search over solver sequences while treating the dataset as a whole, thus achieving globally optimized and robust scheduling strategies. The resulting scheduler called SMTgazer. To further enhance scheduling efficiency and solver performance, we propose two optimizations: leveraging unsupervised X-means clustering to create semantically coherent instance groups for localized model training, and augmenting the Bayesian optimization surrogate with boosting and bagging ensembles to improve generalization and mitigate overfitting, thereby yielding more reliable performance predictions for the sequential portfolio scheduler.Extensive experiments are conducted to evaluate the performance of SMTgazer, utilizing six SMT benchmarks derived from real-world applications. It shows that our approach consistently outperforms current state-of-the-art methods. Particularly, SMTgazer achieves a 44.65% reduction in PAR-2 score and 69.11% decrease in the number of unsolved instances, compared to the strongest competitor, Sibyl, demonstrating the effectiveness of formulating SMT algorithm scheduling as a hyperparameter optimization problem. We further analyze the generated scheduling sequences to uncover the design principles that explain the success of our method. Finally, we also empirically show that our approach is both robust and generalizable, and the proposed strategies are effective.

Original languageEnglish
Title of host publicationProceedings - 2025 40th IEEE/ACM International Conference on Automated Software Engineering, ASE 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1273-1285
Number of pages13
ISBN (Electronic)9798350357332
DOIs
StatePublished - 2025
Event2025 40th IEEE/ACM International Conference on Automated Software Engineering, ASE 2025 - Seoul, Korea, Republic of
Duration: 16 Nov 202520 Nov 2025

Publication series

NameProceedings - 2025 40th IEEE/ACM International Conference on Automated Software Engineering, ASE 2025

Conference

Conference2025 40th IEEE/ACM International Conference on Automated Software Engineering, ASE 2025
Country/TerritoryKorea, Republic of
CitySeoul
Period16/11/2520/11/25

Keywords

  • Bayesian optimization
  • SMT
  • solver scheduling

Fingerprint

Dive into the research topics of 'SMTgazer: Learning to Schedule SMT Algorithms via Bayesian Optimization'. Together they form a unique fingerprint.

Cite this