Assistant Professor
Department of Computer Science
University of Toronto
Email:
CV ·
Google Scholar ·
DBLP
About
I am an Assistant Professor in the Department of Computer Science at the University of Toronto. I am also a faculty affiliate at the Vector Institute and an affiliate member at Mila – Quebec AI Institute, where I held a Canada CIFAR AI Chair (2021–2025). My research brings together formal methods, automated reasoning, and machine learning to make AI systems reliable, explainable, and trustworthy.I spent two wonderful years (2021–2022) as an Assistant Professor in the School of Computer Science at McGill University. Before that, I finished my Ph.D. in Computer and Information Science at the University of Pennsylvania, advised by Mayur Naik.
News
- Sep. 2026 Four papers accepted at NeurIPS'26: VerifyThisBench, neuro-symbolic graph generative modeling, theory-scale autoformalization of logics, and Ground False.
- Sep. 2026 Our project on reliable equivalence checking for autoformalization is funded by the Renaissance Philanthropy AI for Math Fund.
- July 2026 Youyuan's work on DreamProver got accepted at COLM'26.
- May 2026 Three papers accepted at ICML'26: Honghua's τ²-bench (oral), our position paper on theory-level autoformalization (spotlight), and Tara's Scam2Prompt.
- Jan. 2026 Baris won 2nd place at the POPL'26 Student Research Competition. Congratulations!
- Jan. 2026 Two papers accepted at ICLR'26: Allen's LogicXGNN and Marcus and Wilson's Divide and Abstract.
- Dec. 2025 Ian's work on evaluating LLM library learning got accepted at EACL'26 (oral).
- Nov. 2025 ProML: Proof-Carrying Machine Learning Models, joint with Caterina Urban, is funded by the Canada–France ANR-NSERC joint initiative on AI.
- Aug. 2025 Honghua's work on τ²-bench was adopted by OpenAI for evaluating GPT-5.
- July 2025 Received a Connaught New Researcher Award.
- May 2025 Honghua's work on TypyBench got accepted at ICML'25.
- May 2025 Zhaoyu's work on PyEuclid got accepted at CAV'25.
- May 2025 Honghua's work on prompt programming language design (APPL) got accepted at ACL'25.
- Apr. 2025 Allen's work on Learning Minimal Neural Specifications got accepted as an Oral at NeuS'25.
- Feb. 2025 Youyuan's work on Decoupling Training-Free Guided Diffusion got accepted at CVPR'25.
- Jan. 2025 Zhaoyu's work on Proving Olympiad Inequalities with LLMs got accepted at ICLR'25.
Research
AI is achieving super-human performance in nearly every field of STEM, but its reliability remains concerning. My group research aims to answer the following question: how can we design AI systems that are truly reliable? We approach it from two complementary angles: 1) gaining interpretability into the internal of AI systems, and 2) independently validating their external behaviors or outputs. Most of our work lives at the intersection of machine learning, formal methods and programming languages. Our group's work is organized around the three themes below.
Classic neural networks make predictions with no guarantees. We seek verifiable certificates that accompany each prediction and assure its correctness or robustness. This forces us to confront basic questions: what does correctness even mean for a neural network, and what is its specification? We developed abstractions over the activation space, learning algorithms that extract specifications from trained networks, and proofs that the learned specifications certify predictions over nearly the entire input space. When certificates cannot be extracted after the fact, we build interpretability and guarantees in by design through neuro-symbolic architectures, from an abstract urban simulation governed by logical traffic rules to graph generative models with symbolic guarantees for molecule and drug design.
- Towards Reliable Neural Specifications (ICML 2023, oral) and Learning Minimal Neural Specifications (NeuS 2025, oral)
- Learning Reliable Logical Rules with SATNet (NeurIPS 2023) and LogicXGNN: Grounded Logical Rules for Explaining Graph Neural Networks (ICLR 2026)
- LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation (NeurIPS 2024)
- Neural Proposals, Symbolic Guarantees: Neuro-Symbolic Graph Generative Modeling (NeurIPS 2026)
Training, or even merely hosting, a large language model is beyond what an academic lab can afford, so certificates cannot be extracted from LLMs the way they can from small networks. Instead, we develop autoformalization: using LLMs together with formal reasoning (proof assistants, solvers, and symbolic engines) to rigorously validate what LLMs produce. We built the first autoformalization pipeline for Euclidean geometry, formalizing Book I of Euclid's Elements and uncovering corner cases that Euclid himself missed, and have since moved from isolated theorems to theory-level autoformalization of whole chapters and textbooks, to large-scale automated theorem proving, and to auditing the formal benchmarks the field relies on. A central open problem we are pursuing is faithfulness: how to systematically assure that a formalization reflects the intent originally stated in natural language.
- Autoformalizing Euclidean Geometry (ICML 2024) and PyEuclid: A Versatile Formal Plane Geometry System in Python (CAV 2025)
- A Survey on Deep Learning for Theorem Proving (COLM 2024) and Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoning (ICLR 2025)
- Divide and Abstract: Autoformalization via Decomposition and Abstraction Learning (ICLR 2026), Theory-Level Autoformalization, From Isolated Statements to Unified Formal Knowledge Bases (ICML 2026, spotlight), and Theory-Scale Auto-Formalization of Logics for Computer Science (NeurIPS 2026)
- DreamProver: Evolving Transferable Lemma Libraries via a Wake-Sleep Theorem-Proving Agent (COLM 2026) and Ground False: Uncovering Errors in Formal Mathematics Benchmarks (NeurIPS 2026)
My roots are in program analysis, verification, and synthesis, and this theme brings learning to those problems and vice versa: fuzzing deep learning compilers, combining symbolic reasoning with inductive learning to speed up state-of-the-art verification solvers, and studying how LLMs repair, type, and specify code. Increasingly, we also build the benchmarks that measure what AI agents can actually do: understanding real code repositories, jointly producing code, specifications, and proofs, and using tools in long conversations. Our τ²-bench has been adopted by frontier labs, including OpenAI and Google DeepMind, to evaluate their agents.
- TorchProbe: Fuzzing Dynamic Deep Learning Compilers (APLAS 2023), Chronosymbolic: Efficient CHC Solving with Symbolic Reasoning and Inductive Learning (SAIV 2024), and Modernizing SMT-Based Type Error Localization (FMCAD 2024)
- Code Repair with LLMs Gives an Exploration-Exploitation Tradeoff (NeurIPS 2024) and APPL: A Prompt Programming Language (ACL 2025)
- TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories (ICML 2025), τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment (ICML 2026, oral), and VerifyThisBench: Joint Evaluation of Code, Specifications, and Proof (NeurIPS 2026)
Earlier work (2016–2021): learning-aided program reasoning — my PhD and early-career work on combining statistical and logical methods for static analysis, scalable inference and rule learning, deep learning for program verification and synthesis, and learning and reasoning over perceptual data.
Real-world programs are large and complex, which involves many third party libraries that may lack specification or even source code, and new features or patches are being introduced regularly. In addition to well-known limitations such as undecidability, static analysis tools are forced to make approximations, which in turn result in large numbers of false alarms. My research combines statistical and logical methods to address these complexities and uncertainties.
-
Automatically learning API specifications from "big code". [USENIX Security'16]
This work uses statistical methods to infer API specifications from complex software systems like Linux kernel, OpenSSL library, PHP and Python. The resulting open-source prototype APISan has found 76 previously unknown API misuse bugs in these systems. APISan does not need access to API's source code or binary; instead, it observes how and in which context APIs are used. -
Improving analysis accuracy by learning from user feedback.
[OOPSLA'17,
MAPL17,
PLDI'19]
A sound static analysis produces false alarms that are unavoidable by the analysis designer. The analysis user, who usually implements the code, has much more information than the analysis designer. Incorporating feedback from the users opens up a new dimension to improve the analysis. However, users can occasionally make mistakes. The insight is to reduce rule-based static analysis into probabilistic models, such as Markov logic network and Bayesian network, so that even noisy feedback can improve analysis accuracy significantly.
Inference and learning are two key components of machine learning applications. After reducing static analysis into probabilistic models, user feedback is incorporated by performing Maximum A Posteriori probability estimate, or MAP inference. Off-the-shelf inference engines cannot scale to static analysis applications. My research improves inference by a systematic constraint solving process. Furthermore, inference helps to learn rule weights but not the rules themselves, which are usually designed by experts. To learn logical rules from data, my research proposes a scalable logic program synthesis framework, which not only improves static analysis but also applies to other domains like big-data analytics and software defined networks.
-
Scalable inference via systematic constraint solving.
[CP'16,
CAV'17]
MAP inference of Markov logic network is essentially a MaxSAT problem, which can be solved in two phases: first, ground logical rules into a set of weighted constraints; then solve weighted constraints by a MaxSAT solver. However, naively doing so will be extremely inefficient. Both phases can be optimized. From the perspective of application, constraints do not have to be solved entirely, which allows us to have a combined top-down (exploits laziness) and bottom-up (exploits eagerness) grounding. From the perspective of the underlying solver, which is invoked many times instead of only once, so that incremental solving is feasible and efficient. -
Synthesizing rich declarative logic programs.
[FSE'18]
Declarative logic programs, in particular Datalog programs, have witnessed promising applications in various domains including static analysis due to its rich expressivity, and also for the exact same reason, its synthesis is a fairly challenging task. This work proposes a systematic template augmentation technique, which enables synthesis of arbitrary rules but without significantly enlarging the search space. Furthermore, we synergistically combine a bi-directional search over version space with active learning so that efficient search is achieved and the number of required examples is minimized. -
Scalable synthesis via numerical relaxation.
[ML4P'18, IJCAI'19]
Inspired by the fact that numerical relaxation technique is widely used and remarkably successful in optimization problems, this work proposes a numerical relaxation technique for logic programs, which is fundamentally different from traditional search based approaches. This work demonstrates that gradient-based and stochastic approaches can be used to learn logic programs very efficiently.
Deep learning sparks a remarkable revolution in many challenging fields of science and engineering. Deep learning combined with reinforcement learning significantly outperforms human experts on video and board games by directly learning from raw pixels and self-play. However, can this technique help to solve programming challenges? My thesis work aims to answer this very question, which involves addressing two fundamental AI challenges: representation learning of structured data with rich semantics, and the interplay between neural networks and symbolic reasoning.
- Program verification by deep reinforcement learning. [NeurIPS'18, CAV'20]
This work concerns attacking the fundamental challenge of automated software verification, which is finding a strong enough loop invariant for a given loop. We develop an end-to-end learning framework, Code2Inv, which takes a piece of code as input, then automatically learns and improves a neural policy by interacting with a checker, and finally produces an invariant so that the verification can be done successfully. To achieve this, we propose a novel representation learning technique for programs so that the semantics (rather than syntax) can be captured by neural networks, and two reward mechanisms so that reinforcement learning could make progress from extremely sparse reward. - Meta-learning on synthesis. [ICLR'19]
This work investigates the capability of deep learning and reinforcement learning in a much broader domain, namely syntax guided program synthesis (SyGuS), where each synthesis task has its own domain specific language, making manually designing heuristics for each task prohibitive. This also makes learning across different tasks extremely difficult as generalizing across different languages (i.e. learn from one language and then test on a different language) is near the limit of machine learning and has been rarely explored so far. Our attempt in this meta-learning direction demonstrates quite promising results — the learned neural representation as well as policy can be transferred to (i.e. help to accelerate) synthesis tasks that use similar but different grammars. - Learning-aided reasoning. [FMCAD'21]
Though end-to-end learning has significant potential as shown by my recent research, it is impractical to replace classic approaches with end-to-end learning for various reasons including interpretability, training difficulty, and perhaps more importantly data inefficiency. Instead, deep learning should be integrated with classic approaches so that there is no need to learn everything from scratch. I envision that the future program reasoning techniques and the underlying constraint solving techniques (e.g. SAT, SMT) will be equipped with a learning component, which can be automatically and continuously improved. One line of ongoing work at the time was introducing learning-based techniques into the state-of-the-art software verification and testing tool chain such as SeaHorn and KLEE.
Unartificial intelligence, like human intelligence, often directly process perceptual data (e.g., images, sounds, handwritten texts). Although these data do have interesting structures and rich semantics, automatically extracting them out remains an unsolved challenge. Do we (as homo sapiens) need to solve this challenge? The answer is unfortunately yes, even if every homo sapien masters Computational Thinking, e.g., becomes an excellent algorithm designer and professional programmer, because algorithm design and programming will only work after some "seemingly easy" manual pre-processing. This line of my research is to tackle this "seemingly easy" part jointly with algorithmic learning (i.e., learning efficient and interpretable algorithms).
Deep neural networks, especially convolutional neural networks (CNN), have achieved remarkable successes in processing images. Beyond object recognition, images often contain rich semantics (e.g., physics laws, traffic laws, a lovely story, etc.). Neural approaches like CNNs are unlikely to capture such rich semantics. We believe either more specialized (e.g., logic inspired) architectures or a neuro-symbolic design which directly incorporates a logical component are needed. SG-SANet (NeurIPS'21a) is a prototype that learns and solves constraints from raw pixels in an end-to-end fashion, which is possible due to one key component called Symbol Grounding, which explicitly encourages (but without direct supervision) the model to associate a group of pixels with a unique symbol. Scallop (NeurIPS'21b) is another prototype that integrates neural components with probabilistic logical rules. Scallop enables logical reasoning over raw pixels as well as an external knowledge base, and some immediate benefits are interpretable predictions and great data efficiency.