Microsoft Research | LLM for Code

Joined January 2024
12 Photos and videos
Pinned Tweet
26 Sep 2025
🔥 Breaking: we just beat Claude Code on repo-level generation. Today we’re releasing Repository Planning Graph (RPG) — a unified graph linking requirements → files → dataflows → functions, for controllable & verifiable repo-scale codegen. 📄 arxiv.org/abs/2509.16198
7
1
21
414
🔥Stop repo agents from reasoning on fragmented docs/graphs. Building on prior RPG/ZeroRepo, we propose RPG-Encoder: a unified repository planning graph that integrates semantic intent with static structure into one navigable representation.
7
1
99
[7/7] Ablations: (1) Understanding: dropping semantics hurts function-level localization most; dropping dependencies also lowers retrieval. (2) Reconstruction: removing file/function metadata collapses hierarchy, reducing code volume and pass rate. RPG still beats docs.
39
[6 / 7] To analyze agent behavior, we see a “search-then-zoom” pattern: traverse RPG first, then fetch details. To diagnose failures, we sample failed runs and group errors (tool/execution, search, reasoning, context) to pinpoint breakpoints.
33
[5 / 7] To analyze representational efficiency, we report Steps, Cost, and Eff.=Acc@5/Cost on SWE-bench Verified. RPG-Encoder is most cost-effective: ~6–7 steps, $0.18–$0.22 per task, best Eff. (4.63 on GPT-4.1; 4.15 on GPT-5), suggesting less redundant exploration.
28
4/7] To study RPG evolution, we compare full reconstruction against diff-based incremental updates across repository commits. To our finding, incremental maintenance reduces overhead by 95.7% while keeping the representation lightweight as the repo evolves.
25
[3/7](1) Repo understanding: evaluated on SWE-bench Verified/Live; 93.7% Acc@5 (Verified) and > 10% over best baseline (Live), showing stronger repo-scale localization. (2) Repo reconstruction: evaluated on RepoCraft; 98.5% coverage, showing RPG is a faithful semantic blueprint.
1
44
Repo understanding means localization task.
33
[2/7] building on RPG/ZeroRepo, we generalize RPG into RPG-Encoder. (i) Encode: code → RPG, fusing lifted semantics static dependencies. (ii) Evolve: incrementally update graph topology from diffs. (iii) Operate: unify search/fetch/explore for repo-scale navigation.
20
[1/7] Today's repo agents rely on fragmented artifacts (flat context, docs, partial graphs), losing global consistency. This makes repo-scale navigation/planning brittle—motivating one actionable representation for the whole pipeline.
1
28
🎉"FEA-Bench" is accepted at ACL 2025! We introduce a new benchmark of repo-level code generation for feature implementation. LLMs still struggle at, but models like R1 show promise. 📄 arxiv.org/abs/2503.06680 🔗 github.com/microsoft/FEA-Ben… 🤗 huggingface.co/datasets/micr… #LLM #ACL2025
1
8
478
Exciting news! The data from our paper is now open source. Dive into the details and explore the insights. Paper link: arxiv.org/pdf/2501.04694 Huggingface Dataset: microsoft/EpiCoder-func-380k · Datasets at Hugging Face Get the latest open-source data & code first! Follow us now

🚀 Introducing EpiCoder: a hierarchical feature tree-based framework for diverse and intricate code generation. 🔍 Outperforming benchmarks, it handles everything from simple functions to multi-file projects deftly. 📢 Open source release soon! 🔗 arxiv.org/abs/2501.04694
2
16
1,327
🚀 Introducing EpiCoder: a hierarchical feature tree-based framework for diverse and intricate code generation. 🔍 Outperforming benchmarks, it handles everything from simple functions to multi-file projects deftly. 📢 Open source release soon! 🔗 arxiv.org/abs/2501.04694
8
11
48
13,805
XinZZZ retweeted
17 Aug 2024
Nice experience on #ACL2024 , and glad to know that WaveCoder-Ultra-6.7B win the 9th place in DS-1000 Leaderboard. Now everyone can download it on huggingface.co/microsoft/wav… Check out our repo: github.com/microsoft/WaveCod…
26 Dec 2023
Microsoft announces WaveCoder Widespread And Versatile Enhanced Instruction Tuning with Refined Data Generation paper page: huggingface.co/papers/2312.1… introduce CodeOcean, a dataset comprising 20,000 instruction instances across 4 universal code-related tasks,which is aimed at augmenting the effectiveness of instruction tuning and improving the generalization ability of fine-tuned model. Subsequently, we present WaveCoder, a fine-tuned Code LLM with Widespread And Versatile Enhanced instruction tuning
1
6
25
17,250
15 Jul 2024
(1/3) Quite interesting work!Evol-Instruct has recently undergone a significant update and upgrade, introducing the brand-new automatic evolutionary framework, Auto Evol.
15 Jul 2024
🔥 Excited to share the other key Technology of WizardLM-2! 📙AutoEvol: Automatic Instruction Evolving for Large Language Models 🚀We build a fully automated Evol-Instruct pipeline to create high-quality, highly complex instruction tuning data: -------- 🧵 -------- 👉Motivation First: Over the past six months, we have dedicated ourselves to exploring methods to scale up synthetic training for LLMs. Although Evol-Instruct has demonstrated excellent performance in creating powerful post-training data, it relies too heavily on the efforts of human experts to design specific evolutionary methods for specific tasks. Once Evol-Instruct is applied to an entirely new complex task, the methods for executing evolution need to be redesigned. This limitation of Evol-Instruct makes scaling up extremely challenging, prompting us to develop a new method, 💻Auto Evol-Insturct💻, that can evolve instruction data automatically. Auto Evol allows the training of WizardLM2 to be conducted with nearly an unlimited number and variety of synthetic data. Let's see: 🧐 1. Limitations of Evol-Instruct: Evol-Instruct takes the high-quality data as a starting point, and further iteratively refines it using LLMs, improving its complexity and diversity. It has demonstrated superior performance across a broad range of public benchmarks that evaluate diverse capabilities, including instruction following (WizardLM), code generation (WizardCoder), and mathematical reasoning (WizardMath). While Evol-Instruct exhibits outstanding performance, its heavy reliance on heuristic efforts presents notable challenges. Whenever it is used for a completely new task, the methods for execution evolution need to be redesigned. Such a process requires a high level of expertise and considerable costs, hindering its adaptation to a wider spectrum of capabilities. 2. We want to build a fully automated Evol-Instruct pipeline Auto Evol-Instruct automatically designs evolving methods that make given instruction data more complex, enabling almost cost-free adaptation to different tasks by only changing the input data of the framework. From below figure, we can see the iterative process of optimizing the initial evolving method e0 into the optimal evolving method e∗, which specifically outlines the transition from et−1 to et. We refer to the model used for evolution as the evol LLM, and the model used for optimization as the optimizer LLM. This optimization process involves two critical stages: (1) Evol Trajectory Analysis: The optimizer LLM carefully analyzes the potential issues and failures exposed in instruction evolution performed by evol LLM, generating feedback for subsequent optimization. (2) Evolving Method Optimization: The optimizer LLM optimizes the evolving method by addressing these identified issues in feedback. These stages alternate and repeat to progressively develop an effective evolving method using only a subset of the instruction data. Once the optimal evolving method is identified, it directs the evol LLM to convert the entire instruction dataset into more diverse and complex forms, thus facilitating improved instruction tuning. 3. Fully AI-driven Evol-Instruct can outperform the Evol-Instruct used by human experts. Our experiments show that the evolving methods designed by Auto Evol-Instruct outperform the Evol-Instruct methods designed by human experts in instruction tuning across various capabilities, including instruction following, mathematical reasoning, and code generation. As shown in the below table, on the instruction following task, Auto Evol-Instruct can achieve a improvement of 10.44% over the Evol method used by WizardLM-1 on MT-bench; on the code task HumanEval, it can achieve a 12% improvement over the method used by WizardCoder; on the math task GSM8k, it can achieve a 6.9% improvement over the method used by WizardMath. 4. Scaling Evol-Instruct to various domains and tasks With the new technology of Auto Evol-Instruct, the evolutionary synthesis data of WizardLM-2 has scaled up from the three domains of chat, code, and math in WizardLM-1 to dozens of domains, covering tasks in all aspects of large language models. This allows Arena Learning to train and learn from an almost infinite pool of high-difficulty instruction data, fully unlocking all the potential of Arena Learning. For more details, please refer to: Paper: arxiv.org/pdf/2406.00770 Project: github.com/nlpxucan/WizardLM We are working with our legal team to publicly release the code of Auto Evol-Instruct.
1
3
14
3,546
15 Jul 2024
(2/3) Given any task data in any domain, Auto Evol can automatically plan and design methods for instruction evolution(enhancing the complexity and quality of instruction data to improve the post-training effects of large language models).
1
4
231
15 Jul 2024
(3/3) Auto Evol eliminates the need for human efforts and expert knowledge. With it, anyone can create high-quality instruction fine-tuning data and fine-tune a large language model with excellent performance.
4
211
17 Jan 2024
🌊🌊🌊Introduce WaveCoder-Ultra-6.7B with the closest capabilities to GPT-4 so far. Arxiv:arxiv.org/abs/2312.14187 WaveCoder-Ultra-6.7B is the newest SOTA open-source Code LLM on mutiple tasks.
20
72
431
81,913
17 Jan 2024
We are in the process of preparing for open-source related matters. Please stay tuned. Once everything is ready, we will announce the latest updates through this account.
7
23
4,225
17 Jan 2024
WaveCoder-DS-6.7B=DeepseekCoder-6.7B CodeOcean WaveCoder-Pro-6.7B=DeepseekCoder-6.7B GPT-4 enhanced CodeOcean WaveCoder-Ultra-6.7B=DeepseekCoder-6.7B GPT-4 enhanced CodeOcean Code Evol-instruct
2
2
13
4,284