Zeyu Sun
· 3 previous affiliations
- Institute of SoftwareSince 2023
- Researcher · Since 2023
- Zhongguancun Laboratory2022–2023
- Researcher · 2022–2023
- Peking University2019–2022
- PhD student · 2019–2022
2 other authors named Zeyu Sun: Zeyu Sun (15 papers), Zeyu Sun (1 paper)
Research Overview
Zeyu Sun focuses on neural code generation, software testing, and graph representation learning. His early work developed structural architectures for generating syntactically valid code and automated frameworks for testing machine translation systems. Recently, his research investigates the capabilities and limitations of large language models in complex software engineering tasks, including code editing and formal program specification.
Research Trajectory
Zeyu Sun's research trajectory began with a focus on improving neural architectures for source code generation. Recognizing that programs contain significantly more tokens and richer structural information than natural language, he introduced A Grammar-Based Structural CNN Decoder for Code Generation in 2019. This work predicted grammar rules rather than raw tokens, contributing to the research direction of Tree Based Positional Encodings for Hierarchical Data and the broader area of Evaluating Functional Equivalence in AI Generated Code. He expanded on this structural approach the following year with TreeGen: A Tree-Based Transformer Architecture for Code Generation, which integrated Transformer attention mechanisms with tree-based modeling to capture long-range dependencies in code, advancing work in Multi-Level Hierarchical Representation Learning. During this period, he also collaborated on applying neural networks to combinatorial problems, participating in the development of NLocalSAT: Boosting Local Search with Solution Prediction. This project used neural solution prediction to initialize stochastic local search for Boolean satisfiability, addressing challenges in the area of The Search Inference Tradeoff in Learned Solvers.
Parallel to his work in code generation, Sun established a sustained research program in the automated testing and evaluation of AI systems, particularly machine translation. In 2020, he developed Automatic testing and improvement of machine translation, a framework combining mutation and metamorphic testing to detect and repair inconsistency bugs without human oracles. He refined these testing methodologies in Improving Machine Translation Systems via Isotopic Replacement, which introduced controlled word-replacement techniques to better isolate translation errors. This line of evaluation research later culminated in Fairness Testing of Machine Translation Systems, addressing bias and equitable performance in translation models.
Around 2021, Sun's focus broadened to include foundational challenges in graph representation learning. He identified that existing graph neural networks (GNNs) struggled with unattributed nodes, often relying on random labels or uniform embeddings that failed to distinguish nodes effectively. To resolve this, he authored Dynamic Labeling for Unlabeled Graph Neural Networks, which analyzed the undesired equivariance properties of standard GNNs on such data. This work, alongside the subsequent Generalized Equivariance and Preferential Labeling for GNN Node Classification, made significant contributions to the research direction of Soft and Adaptive Equivariance for Imperfect Symmetries.
Sun also continued to apply advanced representations to software engineering tasks. He collaborated on FIRA: Fine-Grained Graph-Based Code Change Representation for Automated Commit Message Generation, which utilized graph-based models to capture code evolution more precisely than coarse-grained text baselines. He further explored collaborative software development challenges by participating in Merge Conflict Resolution: Classification or Generation?, an empirical evaluation of deep learning strategies for automatically resolving code conflicts.
Current Directions
The most recent papers in the evidence indicate a strong focus on the capabilities, limitations, and specialized pre-training of Large Language Models (LLMs) for complex software engineering tasks. Recent work investigates how frontier models handle edge cases and formal logic, moving beyond standard code generation. In LLMs are Bug Replicators: An Empirical Study on LLMs' Capability in Completing Bug-prone Code, Sun and collaborators demonstrated that LLMs frequently replicate historical bugs verbatim when completing bug-prone code, highlighting a critical gap between normal code completion and robust software generation.
To better align models with the actual process of software evolution, he co-developed Directional Diffusion-Style Code Editing Pre-Training (DivoT5), which simulates step-by-step human code editing using directional diffusion tasks. Furthermore, his research addresses the intersection of LLMs and formal verification; in How Powerful are LLMs in Generating Formal Program Specifications?, he participated in evaluating models against concrete execution cases rather than mathematical equivalences, revealing that generating precise, bug-free formal specifications remains a significant open problem for current AI systems.
Profile updated
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