The University of Texas at Austin
Improving formal reasoning for software systems using machine learning and symbolic approaches
Abstract
dc:description.abstractDeveloping reliable software systems is essential as modern society heavily relies on software for critical functions and everyday operations. Software failures can result in severe economic losses, privacy violations, and safety risks. Formal reasoning plays a vital role in enhancing software reliability by providing precise specifications, verifying correctness, and systematically eliminating bugs. However, it often struggles with scalability due to high computational complexity. This dissertation focuses on creating methods and tools in formal reasoning to support the construction of reliable software. By integrating symbolic and machine learning approaches, it aims to overcome computational complexity challenges, enhancing scalability and efficiency in both the front-end and back-end layers of formal reasoning. In the front-end layer, this dissertation concentrates on the widely-used software modeling tool, Alloy. Alloy and its analyzer are extensively applied for complex system modeling across diverse fields, including security, system analysis and verification, and design. In the back-end layer, this dissertation seeks to enhance automated logical reasoning techniques such as SAT (Boolean Satisfiability) solving, model counting, and model enumeration. For front-end improvements, this dissertation introduces iAlloy, an efficient method for analyzing Alloy specifications. Recognizing that users frequently make incremental changes and rerun the analyzer, iAlloy employs incremental analysis to reduce development costs for evolving Alloy specifications. Experimental results show that iAlloy significantly outperforms the traditional Alloy analyzer, reducing SAT solver calls by over 50% on average and achieving speedups of up to 7x. For back-end enhancements, this dissertation presents NeuroBack, an innovative approach to enhance SAT solving using Graph Neural Networks in a practical and resource-efficient manner. NeuroBack predicts key variable phases before solving begins and utilizes offline model inference, operating entirely on the CPU. Additionally, a new dataset called DataBack, containing 120,286 data samples, was created for training. As a result, NeuroBack improved the performance of the state-of-the-art SAT solver Kissat, solving up to 7.4% more problems in recent SAT competitions, demonstrating the effective integration of machine learning into SAT solving. For enhancements to both the front-end and the back-end, this dissertation introduces SymMC, a novel approach for accurately and efficiently computing model counts for Alloy specifications. By leveraging symmetry information, SymMC addresses the challenge of non-isomorphic model counting and enumeration, providing the first automatic estimation for this purpose. The approach includes scalable, sampling-based approximate algorithms with proven consistency and upper bounds. Empirical evaluations demonstrate that SymMC competes with state-of-the-art model counters in isomorphic counting for Alloy specifications.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Department thesis:degree_department
- Electrical and Computer Engineering
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wang, Wenxi (Ph. D. in electrical and computer engineering)
- Advisor dc:contributor.advisor
-
- Khurshid, Sarfraz
- Committee members dc:contributor.committeemember
-
- Soloveichik, David
- Vijay K. Garg
- Risto Miikkulainen
- Kenneth Mcmillan
- ORCID person:identifier.orcid
Subjects
dc:subject × 4Rights
- Language dc:language.iso
- English
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/129263