Nan Jiang

Nan Jiang

Microsoft (United States)
2 previous affiliations
17Machine learning papers tracked by Lacuna

6 other authors named Nan Jiang: Nan Jiang (University of Illinois Urbana-Champaign · 89 papers), Nan Jiang (The University of Texas at El Paso · 27 papers), Nan Jiang (Peking University · 10 papers), Nan Jiang (8 papers), Nan Jiang (Modal · University of Chicago · 6 papers), and 1 more

Is this you?

Research Overview

Nan Jiang focuses on automated program repair, neural code intelligence, and the application of large language models to software engineering tasks. His trajectory spans from integrating domain knowledge into early neural machine translation models for bug fixing to developing sophisticated frameworks for repository-level code generation and binary analysis. Recently, his focus has expanded to include grounded language models and computer-using agents.

Research Trajectory

Initial work concentrated on improving automated program repair (APR) through deep learning architectures. He introduced CURE: Code-Aware Neural Machine Translation for Automatic Program Repair, which leveraged code-specific knowledge within neural machine translation models and employed a code-aware search strategy to outperform existing APR techniques. Recognizing that deep learning models often generate syntactically or semantically incorrect patches, he subsequently developed KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repair. This approach directly incorporated syntactic and semantic domain knowledge into a tree decoder to guide patch generation. To assess the practical viability of these emerging techniques, he also evaluated their performance on critical software flaws in How Effective Are Neural Networks for Fixing Security Vulnerabilities.

As large language models (LLMs) became central to code intelligence, the research shifted toward harnessing their capabilities for more precise and context-aware software engineering. In A Deep Dive into Large Language Models for Automated Bug Localization and Repair, he introduced the "Toggle" framework, which operates at the token level rather than the traditional line level. This prevented models from regenerating unchanged code and enabled more precise targeting of bugs, aligning with the area of Targeted Model Editing and Incremental Adaptation. To further improve model reliability, he developed LeDex: Training LLMs to Better Self-Debug and Explain Code. By combining an automated data collection pipeline with a novel reinforcement learning strategy that rewards both code correctness and explanation quality, LeDex taught open-source LLMs to identify and fix their own mistakes. This work advanced the research direction of Execution Feedback for Training Code Language Models and touched upon the broader area of Internal Signatures of Model Failure.

Concurrently, a significant portion of the trajectory has focused on applying generative models to low-level and compiled code. He explored the recovery of human-readable information from compiled binaries in ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries. This was expanded upon with GENNM in Unleashing the Power of Generative Model in Recovering Variable Names from Stripped Binary, which utilized global program context and a Symbol Preference Optimization technique to significantly outperform classification-based methods. This focus on global program understanding contributes to the research direction of Structural Context for Repository Level Code Intelligence. Addressing the unique challenges of low information density in compiled languages, he also engineered Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning, which utilized hierarchical attention mechanisms to improve binary decompilation and similarity detection.

Moving beyond isolated code snippets, recent work has tackled complex, real-world software environments. He introduced a rigorous benchmark for multi-dependency coding tasks in Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet', revealing the limitations of top-tier models in complex environments and highlighting open challenges in the area of Repository Level Code Completion with Cross File Context. He also conducted an empirical study on generating software documentation in How Effective are Large Language Models in Generating Software Specifications?, demonstrating that few-shot learning with open-source models can match or surpass traditional methods. To assist developers in verifying automated repairs, he developed interactive tools in Show Me Why It's Correct: Saving 1/3 of Debugging Time in Program Repair with Interactive Runtime Comparison. Alongside these software engineering tasks, he addressed specialized multimodal recognition challenges in LATTE: Improving Latex Recognition for Tables and Formulae with Iterative Refinement.

Most recently, the research has expanded into agentic systems, applying language models to physical and digital environments. He explored embodied AI in SELP: Generating Safe and Efficient Task Plans for Robot Agents with Large Language Models. Further work in this domain includes contributions to CUA-Skill: Developing Computer Using Agents with a Skill Framework, which introduced a structured library of parameterized skills to move digital agents away from brittle click sequences toward reusable procedural knowledge. These projects reflect a growing engagement with the broader area of Why Reinforcement Learning for Large Models Is Computationally Expensive.

Current Directions

Recent work investigates the application of large language models to agentic systems and complex, repository-scale software environments. The most recent papers in the evidence address the development of structured skill frameworks for computer-using agents, moving beyond low-level actions to reusable procedural knowledge for digital navigation. Concurrently, ongoing research evaluates and benchmarks the capacity of generative models to handle multi-dependency, real-world coding tasks, while also exploring interactive tools that help developers verify automated repairs. This trajectory highlights a shift from isolated code generation toward grounded, verifiable, and interactive AI systems capable of operating in complex digital environments.

Profile updated

See something wrong? Report a mistake