Xin Zhang
· 2 previous affiliations
- Microsoft (United States)Since 2022
- Researcher · Since 2022
- Peking University2019–2022
- MS student · 2019–2022
30 other authors named Xin Zhang: Xin Zhang (Chinese Academy of Sciences · 204 papers), Xin Zhang (Meta (United States) · 78 papers), Xin Zhang (Harbin Institute of Technology · Hong Kong Polytechnic University · 40 papers), Xin Zhang (San Diego State University · 38 papers), Xin Zhang (Peking University · 29 papers), and 25 more
Research Overview
Xin Zhang focuses on large language model optimization, automated software engineering, and repository-level code generation. His early work explored instruction tuning and dynamic data sequencing to improve model training efficiency and stability. Recently, his research has shifted toward developing structured representations and autonomous agents capable of navigating, evaluating, and generating complex software repositories.
Research Trajectory
Zhang's early published work centers on improving the training and fine-tuning pipelines for large language models, particularly for code generation. He contributed to WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuning, which introduced a method for stably generating diverse instruction data from open-source code to enhance the multi-task capabilities of code-specific models. Concurrently, he investigated the broader area of Strategic Data Sequencing for Neural Network Training through the development of Velocitune: A Velocity-based Dynamic Domain Reweighting Method for Continual Pre-training. This framework dynamically assesses learning velocity during continual pre-training, adjusting data proportions to favor slower-learning domains over faster ones, guided by scaling laws to reach desired learning goals.
Alongside data sequencing, Zhang explored parameter-efficient fine-tuning strategies. He co-developed Gradient-Mask Tuning Elevates the Upper Limits of LLM Performance, a method operating on the insight that gradients inherently contain task-specific information. By selectively updating parameters based on this gradient data, the work contributed to the research direction of Adaptive Gradient Clipping for Stable Optimization. He continued this line of inquiry the following year with Enhancing Large Language Model Performance with Gradient-Based Parameter Selection, further refining techniques to reduce redundant parameter updates without discarding transformer components or sacrificing scalability across different tasks.
Moving deeper into automated software engineering, Zhang's work expanded to address the complexity of multi-file codebases. He participated in the development of EpiCoder: Encompassing Diversity and Complexity in Code Generation, which extracts hierarchical feature trees of programming concepts from raw code to synthesize highly diverse training data. This work advanced the area of Scaling Code Intelligence via Seed-Grounded Synthetic Data. To improve how these models learn from errors, he collaborated on IterPref: Focal Preference Learning for Code Generation via Iterative Debugging. Addressing the limitations of previous preference learning methods that failed to pinpoint specific errors, IterPref mimics human debugging processes to align models with granular error-resolution patterns, supporting the broader direction of Scaling Code Intelligence Across Programming Paradigms. Recognizing the need for better evaluation metrics in this space, Zhang also helped introduce FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation. This benchmark assesses a model's ability to perform incremental feature development by utilizing real-world pull requests and unit tests from 83 GitHub repositories.
In his most recent work, Zhang has focused on autonomous agents and holistic repository management. He contributed to TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generation, a benchmark that shifts evaluation from fixing known bugs to discovering latent defects using documentation as the ground truth. This aligns with his interest in the research direction of Dynamic Evaluation of Reasoning Beyond Training Data Cutoffs. Finally, Zhang has been instrumental in developing graph-based representations for entire codebases. He participated in designing the RPG-Encoder framework in Closing the Loop: Universal Repository Representation with RPG-Encoder, which bridges high-level architectural intent and low-level implementation by treating code comprehension and generation as inverse processes. This concept was expanded in RPG: A Repository Planning Graph for Unified and Scalable Codebase Generation, where the ZeroRepo framework was introduced to generate complete software repositories from scratch. By replacing ambiguous natural language plans with structured, evolvable graphs, this work represents a significant contribution to the field of Multilingual and Execution Verified Software Engineering Agents.
Current Directions
The most recent papers in the evidence, published in 2026, indicate a strong focus on repository-level software engineering and autonomous coding agents. Zhang's current work investigates how to move beyond snippet-level code generation to the comprehension and synthesis of entire software repositories. This involves developing structured, graph-based representations—such as the Repository Planning Graph—that allow AI systems to map architectural intent to low-level implementation. Additionally, recent projects address the proactive discovery of software defects, exploring how models can autonomously identify latent bugs using documentation rather than relying on pre-existing error reports.
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