Shan Lu

Shan Lu

University of Chicago · Microsoft Research Asia (China)
3 previous affiliations
76Machine learning papers tracked by Lacuna

2 other authors named Shan Lu: Shan Lu (Amazon (United States) · 1 paper), Shan Lu (1 paper)

Is this you?

Research Overview

Shan Lu focuses on systems research, specifically the intersection of formal verification, software reliability, and large language models. Her trajectory centers on automating the generation of mathematical proofs for systems languages like Rust, bridging the gap between human expertise and AI capabilities. Currently, she investigates agent-based verification frameworks and self-evolving models to scale formal guarantees for complex software systems.

Research Trajectory

The central focus of Shan Lu’s recent work lies in the broader area of Automated Generation of Formal Specifications and Proofs. Formal verification provides mathematical guarantees that software is free of bugs, but writing the necessary annotations and proofs requires immense manual effort. To bridge this gap, her research explores how large language models (LLMs) can be adapted to automate the verification of systems languages, particularly Rust, using tools like Verus.

To ground AI development in human expertise, she collaborated on What's in a Proof? Analyzing Expert Proof-Writing Processes in F* and Verus (2025). This multilingual user study tracked how developers construct formal proofs, revealing that the most successful practitioners act as "Spec-first Planners" who prioritize early specification and maintain an error-free workspace. These insights were subsequently used to design an AI proof agent that significantly outperformed standard LLM baselines. This human-expert-inspired approach is also central to AutoVerus: Automated Proof Generation for Rust Code, a system that leverages LLMs to automatically generate correctness proofs, achieving high success rates on dedicated benchmark suites.

Applying these automated techniques to more intricate software components presents distinct challenges. She participated in the development of VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus, which addresses the difficulties LLMs face when scaling from simple functions to complex, real-world data structures. This work contributes to the research direction of Enforcing Structural Constraints on Language Model Outputs.

To further push the boundaries of automated reasoning, her research investigates multi-agent systems and self-improvement mechanisms. In VeruSAGE: A Study of Agent-Based Verification for Rust Systems, she and her collaborators benchmarked models on hundreds of real-world tasks, demonstrating that agentic frameworks can achieve unprecedented success rates in generating formal correctness proofs for complex Rust system software. This research intersects with areas such as Overcoming the Premise Selection Bottleneck in Formal Mathematics and the broader direction of Modular Task Decomposition for Multi-Agent LLM Pipelines.

A major bottleneck in training AI for formal verification is the scarcity of human-written mathematical proofs. To overcome this, she contributed to Automated Proof Generation for Rust Code via Self-Evolution. The paper introduces SAFE, a framework that synthesizes its own training data by learning from both successful proofs and verifier-rejected failures. By iteratively improving its capabilities, the system dramatically boosts automated proof generation accuracy, advancing work in the area of Scaling Formal Reasoning Through Synthetic Data Generation.

The trajectory naturally progresses from generating proofs to debugging and repairing them. In 2026, she collaborated on ExVerus: Verus Proof Repair via Counterexample Reasoning. This framework assists LLMs in repairing formal proofs by providing concrete counterexamples—specific program states where a proof fails. By bypassing the complex internal translations of verification tools and using LLMs to synthesize source-level debugging scripts, the system achieves higher proof success rates at a fraction of the computational cost of previous methods.

Current Directions

The most recent papers in the evidence address the scalability and reliability of AI-assisted formal verification. Current work investigates how large language models can be integrated into iterative reasoning loops, utilizing concrete execution feedback and counterexamples to repair failing proofs. Additionally, ongoing research explores self-evolving frameworks that bootstrap formal reasoning capabilities by synthesizing their own training data, aiming to overcome the scarcity of human-written mathematical proofs. This involves developing sophisticated multi-agent pipelines capable of modular task decomposition to handle the verification of complex, real-world systems software.

Profile updated

See something wrong? Report a mistake