Mingwei Zheng

Amazon (United States) · Purdue University West Lafayette
4 previous affiliations
21Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mingwei Zheng focuses on software reliability, program analysis, and the application of large language models to automated software engineering. His early work investigated empirical software practices and static analysis for network protocol parsers. More recently, he develops LLM-based agents designed to rigorously validate protocol implementations against formal specifications and improve code reasoning capabilities.

Research Trajectory

His early research examined empirical software engineering practices, specifically investigating the adoption and subsequent removal of functional programming features in object-oriented codebases. This work is detailed in Why Do Developers Remove Lambda Expressions in Java?, which highlighted how the collateral side effects of lambdas, such as memory leaks and performance degradation, often compromise their intended benefits in real-world Java projects.

He subsequently shifted his focus to the reliability and security of network protocol implementations. With collaborators, he developed techniques for Lifting Network Protocol Implementation to Precise Format Specification with Security Applications. Building on this foundation, he introduced ParDiff: Practical Static Differential Analysis of Network Protocol Parsers, advancing static analysis methods to identify discrepancies and vulnerabilities in complex parsing logic.

As large language models emerged as powerful tools for software engineering, his research evolved to bridge the gap between natural language protocol standards (RFCs) and source code implementations. He explored this intersection in Large Language Models for Validating Network Protocol Parsers and further refined these techniques in Validating Network Protocol Parsers with Traceable RFC Document Interpretation. To automate the detection of functional bugs where implementations diverge from RFC specifications, he developed An LLM Agent for Functional Bug Detection in Network Protocols. This work introduced an autonomous system capable of deep semantic analysis across both documentation and code, bypassing the limitations of traditional static analysis tools.

Beyond network protocols, he has investigated the broader capabilities and limitations of LLMs in software engineering. He contributed to the creation of CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks, a benchmark designed to rigorously evaluate models on fundamental data and control dependencies. He also participated in the development of PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust, a framework that utilizes a decision-tree prompting strategy to refactor unsafe raw pointers into idiomatic Rust abstractions. This work intersects with the broader research direction of Semantic Intent Inference for Robust Program Analysis.

His recent work also addresses the reliability of LLM agents when interacting with external tools and APIs. He contributed to TAI3: Testing Agent Integrity in Interpreting User Intent, a stress-testing framework that uncovers subtle functional bugs in API-calling agents by combining semantic partitioning with a strategy memory. This research advances the broader area of Systematic Linguistic Perturbations for Robustness Evaluation, ensuring models correctly interpret and execute user intent in complex environments.

Current Directions

The most recent papers in the evidence indicate a strong focus on building reliable and effective LLM-based agents for complex software engineering tasks. Recent work investigates how autonomous agents can be leveraged to audit network protocol implementations against natural language RFC specifications, moving beyond the limitations of traditional static analysis to detect deep functional bugs. Additionally, his current research addresses the fundamental reasoning capabilities of LLMs, exploring how to benchmark their understanding of code dependencies and how to stress-test agent integrity when interpreting user intent for API interactions. This trajectory points toward a unified goal of utilizing advanced language models to ensure software correctness, robustness, and security.

Profile updated

See something wrong? Report a mistake