Pengyu Nie
· 2 previous affiliations
- University of WaterlooSince 2023
- Assistant Professor · Since 2023
- The University of Texas at Austin2017–2023
- PhD student · 2017–2023
Research Overview
Pengyu Nie focuses on the intersection of software engineering and machine learning, developing techniques to automate code comprehension, test generation, and software maintenance. His trajectory spans from applying natural language processing to code comments and documentation drift, to leveraging large language models for code editing and test completion. Recently, his work investigates multi-step reasoning capabilities and data privacy in code-specialized language models.
Research Trajectory
His early research focused on extracting semantic value from often-neglected artifacts in software repositories. In 2018, he introduced techniques combining natural language processing and program analysis to help developers maintain todo comments as software evolves, contributing to the broader area of Mapping Natural Language to Source Code Semantics with the publication of Natural Language Processing and Program Analysis for Supporting Todo Comments as Software Evolves.
By 2020, this focus on software documentation and naming conventions expanded into several distinct projects. He developed statistical language models to automatically generate idiomatic lemma names in proof assistants, addressing the unique challenges of the Coq language's powerful extension facilities in Deep Generation of Coq Lemma Names Using Elaborated Terms. Concurrently, he investigated how natural language artifacts fall out of sync with source code. With collaborators, he formulated a novel task to automatically update existing comments based on concurrent code modifications in Learning to Update Natural Language Comments Based on Code Changes. This work advanced the research direction of Modeling Code and Text Changes as Structural Edits and addressed challenges in the area of Automated Detection of Software Documentation Drift. In a related effort to improve code comprehension, he participated in designing a deep learning framework that leverages class hierarchies to generate specific, context-aware comments for overriding methods in Leveraging Class Hierarchy for Code Comprehension.
Alongside his work on code semantics, he also explored the practical performance of software testing infrastructure. In Debugging the performance of Maven's test isolation: experience report (2020), he analyzed the substantial overhead introduced by running tests in isolated processes, providing insights into how different build systems handle test execution and shared state pollution.
As machine learning models for code became more prevalent, his research shifted toward improving their evaluation, pretraining, and application to complex software tasks. In 2022, he examined the methodological flaws in how code summarization models are assessed. His findings in Impact of Evaluation Methodologies on Code Summarization highlighted the critical need for rigorous experimental design, contributing to the research area of Temporal Data Partitioning for Realistic Machine Learning Evaluation. That same year, he collaborated on CoditT5: Pretraining for Source Code and Natural Language Editing, which proposed a novel pretraining objective explicitly designed to model edits rather than standard generation, improving performance on downstream tasks like bug fixing and automated code review.
His subsequent work increasingly leveraged deep semantics and large language models to assist developers. In 2023, he formalized the task of test completion to predict the next statement in a test method. Recognizing that syntax-level data is insufficient for this task, he developed the TECO model to reason about code execution in Learning Deep Semantics for Test Completion. He also addressed the maintenance burden of multi-language software projects, collaborating on Multilingual Code Co-evolution using Large Language Models to translate code changes across different programming languages, advancing the broader area of Multilingual and Repository Level Code Intelligence.
In 2024, he continued to focus on automated testing by participating in the development of the exLong framework, detailed in Generating Exceptional Behavior Tests with Reasoning Augmented Large Language Models. This work utilized language models to automatically generate tests for "unhappy paths" and error handling, contributing to the research direction of Human Readable Automated Unit Test Generation.
Current Directions
The most recent papers in the evidence, published in 2026, indicate a dual focus on the fundamental reasoning capabilities and the security implications of large language models. Recent work investigates how to move beyond brittle, token-level chain-of-thought prompting by performing complex inference entirely within a model's continuous hidden state space. This is exemplified by his participation in developing a step-wise persistent latent reasoner for explicit multi-step reasoning in Learning Multi-step Reasoning via Persistent Latent State Propagation.
Concurrently, he is examining the privacy risks associated with AI coding assistants. Recent studies evaluate state-of-the-art code models to quantify their memorization behavior, as seen in When AI Coding Assistants Leak Training Data: Study Memorization in Code LLMs. This work demonstrates how code-specialized models can inadvertently leak sensitive training data, including licensed code and proprietary information, through data extraction attacks, highlighting critical vulnerabilities in modern code generation 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