Chuyue Sun
· 1 previous affiliation
- Stanford UniversityCurrent
- Current
- PhD student · 2022–2026
Research Overview
Chuyue Sun focuses on the intersection of formal verification and large language models, exploring how machine learning can accelerate rigorous software and hardware analysis. Her trajectory spans from translating natural language into hardware assertions to developing closed-loop systems for verifiable code generation. Recently, her work emphasizes proof-based evaluation and machine-to-machine interfaces for automated theorem proving.
Research Trajectory
Her early research explored the application of large language models to hardware verification, aiming to bridge the gap between informal specifications and formal constraints. She introduced a framework called nl2sva in Towards Improving Verification Productivity with Circuit-Aware Translation of Natural Language to SystemVerilog Assertions, which leverages language models to automatically translate natural language circuit requirements into SystemVerilog Assertions (SVA). This approach was designed to reduce the manual effort required from engineers, contributing to the broader area of Granular Verification via Atomic Fact Decomposition.
Expanding into software correctness, she developed the Clover paradigm, detailed in Clover: Closed-Loop Verifiable Code Generation. As the use of language models for code generation grew, the need for robust correctness filters became apparent. Clover addresses this by integrating formal verification tools with language models to perform consistency checks across a triad of software artifacts: the code itself, its docstrings, and formal annotations. To systematically measure the capabilities of models in this domain, she subsequently collaborated on DafnyBench: A Benchmark for Formal Software Verification. This large-scale benchmark evaluated how well models could automatically generate necessary verification hints, such as loop invariants and assertions. The study revealed that even advanced models struggled with complex code verification, highlighting significant open challenges in automated software assurance.
Alongside her focus on verification, she participated in systems-level research to optimize the execution of the underlying models. She contributed to SGLang: Efficient Execution of Structured Language Model Programs, a system that co-designs a Python-based frontend with a high-performance runtime featuring "RadixAttention." This architecture accelerates complex, multi-step language model programs, advancing the research directions of Prefix Aware KV Cache Sharing for Efficient LLM Inference and Hierarchical KV Cache Management for Long-Context LLMs.
Returning to the challenge of specification generation, she introduced ClassInvGen: Class Invariant Synthesis using Large Language Models. Formal program specifications—such as preconditions, postconditions, and class invariants—are critical for program understanding and can be enforced dynamically or statically. ClassInvGen utilizes language models to synthesize these high-quality specifications, addressing the persistent difficulty of articulating declarative constraints within programming languages.
In the domain of machine-assisted theorem proving, she co-developed Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4. Pantograph provides a versatile interface to the Lean 4 proof assistant, facilitating efficient proof search through algorithms like Monte Carlo Tree Search and enabling more robust handling of Lean 4’s inference steps. This tool supports broader research in areas such as Agent Computer Interfaces for Autonomous Software Interaction, Bridging Informal Mathematical Intuition and Formal Verification, and Recursive Subgoal Decomposition for Automated Formal Verification.
Most recently, she collaborated on a position paper that reexamines how AI coding capabilities are measured. In AI Coding Benchmarks Need Proofs, Not Just Tests, the authors argue that as frontier models saturate traditional test suites, passing a set of tests is no longer a reliable signal of true code correctness. The work advocates for a fundamental shift toward proof-based evaluation, requiring models to provide machine-checkable formal proofs to guarantee that their code satisfies a specification across all possible inputs.
Current Directions
Recent work investigates the transition from test-based evaluation to rigorous, proof-based guarantees for AI-generated code. A major theme in the most recent papers in the evidence is the integration of large language models with interactive theorem provers, particularly Lean 4. This involves building robust machine-to-machine interfaces that allow autonomous agents to perform complex proof searches and high-level mathematical reasoning. Additionally, ongoing research explores automated methods for synthesizing formal program specifications, such as class invariants, to bridge the gap between informal intent and formal verification.
Profile updated
| Title | Venue | Year |
|---|---|---|
| VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Verus | Tacas | 2026 |
| An AI Approach to Verified Production Cryptographic Libraries | arXiv | 2026 |
| AI Coding Benchmarks Need Proofs, Not Just Tests | DL4C @ ICML | 2026 |
| ClassInvGen: Class Invariant Synthesis using Large Language Models | arXiv | 2025 |
| DafnyBench: A Benchmark for Formal Software Verification | TMLR | 2025 |
| Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4 | International Conference on Tools and Algorithms for the Construction and Analysis of Systems | 2025 |
| SGLang: Efficient Execution of Structured Language Model Programs | NeurIPS | 2024 |
| Clover: Closed-Loop Verifiable Code GenerationGitHub resource | Saiv | 2024 |
| Towards Improving Verification Productivity with Circuit-Aware Translation of Natural Language to SystemVerilog Assertions | DAV @ CAV | 2023 |
| Paper | Venue | Year |
|---|---|---|
| Clover: Closed-Loop Verifiable Code GenerationGitHubChuyueSun/ | Saiv | 2024 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake