Research
I lead the Davis Automated Reasoning Group (DARG), a team of researchers developing the theory and tools needed to build correct software. Software now runs safety- and security-critical systems at every scale: firmware for IoT devices with thousands of lines of code, operating systems with millions, and deep neural networks with billions of parameters. We develop both formal foundations and practical tools, and we work to transition them to industry for real-world impact.
This work is becoming more urgent as AI becomes part of the software we must trust. Neural networks now make decisions in safety-critical systems, and AI agents are writing a growing share of the code that gets deployed. Ensuring the correctness of AI in general, and of the code it generates in particular, is central to our research. Our current work approaches this from several directions: analyzing, verifying, and provably repairing neural networks, and combining static analysis with large language models.
Each project below links to its related publications, talks, and software.
Current Projects
Analysis and Repair of DNNs
Deep neural networks (DNNs) are increasingly used in safety- and security-critical applications such as autonomous vehicles. This project develops techniques to analyze, verify, and repair DNNs. A central theme is provable repair and editing: modifying a trained network so that it is guaranteed to satisfy a specification, such as correcting a set of misclassified inputs or enforcing constraints on its gradients, while changing the network as little as possible.
Real-world impact
Our improved method for computing Integrated Gradients (NeurIPS 2019) is used by Google, the original inventors of the technique.
Neuro-Symbolic Program Analysis
Neuro-symbolic program analysis augments static program analysis with machine learning. Our recent work interleaves static analysis with prompting large language models to infer error-handling specifications.
Real-world impact
Our neuro-symbolic program analysis tools (FSE 2019, FSE 2018) have found over 200 bugs in critical open-source projects, including the Linux kernel, OpenSSL, mbedTLS, Pidgin, and netdata.
Correctness of Scientific Software
Errors in scientific software can silently invalidate scientific results. Such code must be both functionally correct and numerically stable. This project develops formal methods to establish both.
One example is Density Functional Theory (DFT), which is used extensively to compute the electronic properties of matter. Approximating the exchange-correlation (XC) functional is the key to the Kohn-Sham DFT approach, and hundreds of density functional approximations (DFAs) have been developed for different systems. We use formal methods to check that DFA implementations are correct and satisfy the exact conditions known to hold for the true functional.
Past Projects
Abstract Interpretation
Abstract interpretation is the foundation of many static analyzers. We developed algorithms that make abstract interpreters faster and more precise: a deterministic parallel fixpoint algorithm, a memory-efficient fixpoint algorithm (Radhia Cousot Young Researcher Best Paper Award at SAS 2020), and symbolic-abstraction techniques that automatically compute the most-precise abstract operations.
Real-world impact
Our parallel fixpoint algorithm (POPL 2020) has been integrated into two open-source industrial abstract interpreters: NASA IKOS and Facebook SPARTA.
The weak partial order (WPO) introduced in the same paper has replaced weak topological orders in the core of the Frama-C/Eva static analyzer, where it enables the new Eva Abstract Debugger.
Program Verification
This work includes the Yogi property checker, which combines static analysis and testing; techniques for analyzing and verifying machine code directly; property-directed shape analysis for programs that manipulate the heap; and, in collaboration with Microsoft Research, DICE*, a formally verified implementation of the DICE measured-boot standard.
Real-world impact
Our verified DICE implementation (USENIX Security 2021), developed with Microsoft Research, has been deployed on Microsoft Azure.
Decision Procedures
Decision procedures, such as SAT and SMT solvers, are the engines behind many verification tools. We showed how ideas from abstract interpretation can be used to build decision procedures: a generalization of Stålmarck’s method for SAT to richer abstract domains, and satisfiability modulo abstraction for separation logic with linked lists.