
Pengfei Gao
Now: Senior Researcher, Microsoft DKI Research Group
ShanghaiTech University (PhD)
I am fortunate to have founded the ByteDance Software Engineering Lab and to have worked with the following talented researchers.

Now: Senior Researcher, Microsoft DKI Research Group
ShanghaiTech University (PhD)

Now: Senior Researcher, MiniMax
Beihang University (PhD)
Now: Independent Researcher
ShanghaiTech University (MEng)
Now: Researcher, Tencent HY
Brown University (MSc)
Now: Undergraduate Student, The University of Hong Kong
The University of Hong Kong (BSc)

Now: PhD Student, Peking University
Peking University (PhD Student)

Now: PhD Student, Tianjin University
Tianjin University (PhD Student)
Now: Researcher, MiniMax
Peking University (PhD)

Now: Researcher, Tencent HY
The Chinese University of Hong Kong, Shenzhen (PhD)
Now: Researcher, Tencent Hunyuan
Peking University (PhD)
Now: PhD Student, Zhejiang University
Zhejiang University (PhD Student)

Now: Research Intern, Tencent WXG
Harbin Institute of Technology, Shenzhen (MSc Student)
Now: Research Intern, ByteDance
Harbin Institute of Technology, Shenzhen (MEng Student)
Now: MSc Student, Imperial College London
Imperial College London (MSc)
Now: PhD Student, Huazhong University of Science and Technology
Huazhong University of Science and Technology (PhD Student)
Now: PhD Student, East China Normal University and Shanghai Innovation Institute
East China Normal University (PhD Student)
Now: MiniMax
Huazhong University of Science and Technology (MEng)
Evaluates code completion models in realistic repository contexts drawn from real-world development.
Proceedings of the 40th IEEE/ACM International Conference on Automated Software Engineering · 2025
@inproceedings{wu2025repomastereval,
title = {RepoMasterEval: Evaluating Code Completion via Real-World Repositories},
author = {Wu, Qinyun and Peng, Chao and Gao, Pengfei and Hu, Ruida and Gan, Haoyu and Jiang, Bo and Tang, Jinhe and Deng, Zhiwen and Guan, Zhanming and Gao, Cuiyun and Liu, Xia and Yang, Ping},
booktitle = {Proceedings of the 40th IEEE/ACM International Conference on Automated Software Engineering},
year = {2025},
month = {11}
}Automates repository-level bug fixing through planning, reproduction, fault localization, patch generation, and validation.
arXiv preprint arXiv:2409.00899 · 2024
@article{liu2024marscode,
title = {MarsCode Agent: AI-native Automated Bug Fixing},
author = {Liu, Yizhou and Gao, Pengfei and Wang, Xinchen and Liu, Jie and Shi, Yexuan and Zhang, Zhao and Peng, Chao},
journal = {arXiv preprint arXiv:2409.00899},
year = {2024},
month = {9}
}Systematically evaluates leading LLM agents for automated bug fixing and analyzes the factors behind their performance.
48th ACM/IEEE International Conference on Software Engineering · 2026
@inproceedings{meng2026empirical,
title = {LLM-based Agents for Automated Bug Fixing: How Far Are We?},
author = {Meng, Xiangxin and Ma, Zexiong and Gao, Pengfei and Peng, Chao},
booktitle = {48th ACM/IEEE International Conference on Software Engineering},
year = {2026},
month = {4},
url = {https://arxiv.org/abs/2411.10213}
}Trains issue localization agents to perform multi-step repository search through interactive use of retrieval tools.
48th ACM/IEEE International Conference on Software Engineering · 2026
@inproceedings{ma2026tool,
title = {Enhancing Issue Localization Agent with Tool-Interactive Training},
author = {Ma, Zexiong and Peng, Chao and Zeng, Qunhong and Gao, Pengfei and Zou, Yanzhen and Xie, Bing},
booktitle = {48th ACM/IEEE International Conference on Software Engineering},
year = {2026},
month = {4},
url = {https://arxiv.org/abs/2508.03012}
}Studies turn-control strategies that reduce the cost of coding agents while retaining task-solving effectiveness.
48th ACM/IEEE International Conference on Software Engineering · 2026
@inproceedings{gao2026more,
title = {More with Less: An Empirical Study of Turn-Control Strategies for Efficient Coding Agents},
author = {Gao, Pengfei and Peng, Chao},
booktitle = {48th ACM/IEEE International Conference on Software Engineering},
year = {2026},
month = {4},
url = {https://arxiv.org/abs/2510.16786}
}Uses agent-based ensemble reasoning to search for stronger solutions to repository-level software issues.
48th ACM/IEEE International Conference on Software Engineering · 2026
@inproceedings{tian2026agent,
title = {Agent-Based Ensemble Reasoning for Repository-Level Issue Resolution},
author = {Tian, Zhao and Gao, Pengfei and Chen, Junjie and Peng, Chao},
booktitle = {48th ACM/IEEE International Conference on Software Engineering},
year = {2026},
month = {4}
}Benchmarks fine-grained LLM capabilities across question answering, fault localization, and code editing on real issues.
arXiv preprint arXiv:2411.18019 · 2024
@article{hu2024real,
title = {A Real-World Benchmark for Evaluating Fine-Grained Issue Solving Capabilities of Large Language Models},
author = {Hu, Ruida and Peng, Chao and Ren, Jingyi and Jiang, Bo and Meng, Xiangxin and Wu, Qinyun and Gao, Pengfei and Wang, Xinchen and Gao, Cuiyun},
journal = {arXiv preprint arXiv:2411.18019},
year = {2024},
month = {11}
}Introduces CodeRepoQA, a large-scale multilingual benchmark for repository-level software engineering question answering.
Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval · 2025
@article{hu2024coderepoqa,
title = {Understanding Large Language Model Performance in Software Engineering: A Large-scale Question Answering Benchmark},
author = {Hu, Ruida and Peng, Chao and Ren, Jingyi and Jiang, Bo and Meng, Xiangxin and Wu, Qinyun and Gao, Pengfei and Wang, Xinchen and Gao, Cuiyun},
booktitle = {Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval},
pages = {3025-3029},
numpages = {5},
location = {Padua, Italy},
series = {SIGIR '25},
year = {2025},
month = {7}
}Introduces CoReQA to evaluate how well language models answer questions requiring repository-wide code understanding.
arXiv preprint arXiv:2501.03447 · 2025
@article{chen2025coreqa,
title = {CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answering},
author = {Chen, Jialiang and Zhao, Kaifa and Liu, Jie and Peng, Chao and Liu, Jierui and Zhu, Hang and Gao, Pengfei and Yang, Ping and Deng, Shuiguang},
journal = {arXiv preprint arXiv:2501.03447},
year = {2025},
month = {1}
}Trains open-source models for issue resolution through supervised and reinforcement learning over structured subtasks.
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · 2025
@inproceedings{ma2025sorft,
title = {SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-tuning},
author = {Ma, Zexiong and Peng, Chao and Gao, Pengfei and Meng, Xiangxin and Zou, Yanzhen and Xie, Bing},
booktitle = {Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
pages = {11427--11441},
year = {2025},
month = {7}
}Uses test-time scaling and agent-based ensemble reasoning to resolve repository-level software issues.
arXiv preprint arXiv:2507.23370 · 2025
More than 10k GitHub Stars
@article{gao2025trae,
title = {Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling},
author = {Gao, Pengfei and Tian, Zhao and Meng, Xiangxin and Wang, Xinchen and Hu, Ruida and Xiao, Yuanan and Liu, Yizhou and Zhang, Zhao and Chen, Junjie and Gao, Cuiyun and Lin, Yun and Xiong, Yingfei and Peng, Chao and Liu, Xia},
journal = {arXiv preprint arXiv:2507.23370},
year = {2025},
month = {7}
}Introduces instruction-aware fill-in-the-middle training to align code completion with developers' natural-language intent.
Findings of the Association for Computational Linguistics: EMNLP 2026 · 2026
@inproceedings{sun2025bridging,
title = {Extending Fill-In-the-Middle with Instructions for Steerable Code Completion},
author = {Sun, Zhensu and Yang, Chengran and Peng, Chao and Gao, Pengfei and Du, Xiaoning and Li, Li and Lo, David},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2026},
year = {2026},
month = {10}
}Automatically reproduces bugs from issue descriptions through iterative retrieval, script generation, and execution feedback.
Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering · 2025
@inproceedings{wang2025aegis,
title = {AEGIS: An Agent-based Framework for Bug Reproduction from Issue Descriptions},
author = {Wang, Xinchen and Gao, Pengfei and Meng, Xiangxin and Peng, Chao and Hu, Ruida and Lin, Yun and Gao, Cuiyun},
booktitle = {Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering},
pages = {331--342},
year = {2025},
month = {6}
}Uses a learned patch verifier to provide scalable supervision for training and evaluating software engineering agents.
Findings of the Association for Computational Linguistics: EMNLP 2026 · 2026
@inproceedings{xu2025scalable,
title = {Scalable Supervision for Software Agents via Patch Reasoning},
author = {Xu, Junjielong and Tan, Boyin and Liu, Xiaoyuan and Peng, Chao and Gao, Pengfei and He, Pinjia},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2026},
year = {2026},
month = {10}
}Benchmarks fine-grained LLM code review using enriched issue, repository, and change context from practice.
Companion Proceedings of the 34nd ACM International Conference on the Foundations of Software Engineering · 2026
@inproceedings{hu2025benchmarking,
title = {Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice},
author = {Hu, Ruida and Wang, Xinchen and Wen, Xin-Cheng and Zhang, Zhao and Jiang, Bo and Gao, Pengfei and Peng, Chao and Gao, Cuiyun},
journal = {Companion Proceedings of the 34nd ACM International Conference on the Foundations of Software Engineering},
year = {2026},
month = {7}
}Uses graph-guided causal reasoning to trace symptoms to root causes and localize all code implicated by an issue.
Proceedings of the ACM on Software Engineering · 2026
ACM SIGSOFT Distinguished Paper Award
@article{liu2026graphlocator,
title = {GraphLocator: Graph-guided Causal Reasoning for Issue Localization},
author = {Liu, Wei and Peng, Chao and Gao, Pengfei and Liu, Aofan and Zhang, Wei and Zhao, Haiyan and Jin, Zhi},
journal = {Proceedings of the ACM on Software Engineering},
number = {FSE},
year = {2026},
month = {7}
}Reduces LLM agent cost at inference time by removing useless, redundant, and expired trajectory information.
Proceedings of the ACM on Software Engineering · 2026
@article{xiao2026improving,
title = {Reducing Cost of LLM Agents with Trajectory Reduction},
author = {Xiao, Yuan-An and Gao, Pengfei and Peng, Chao and Xiong, Yingfei},
journal = {Proceedings of the ACM on Software Engineering},
number = {FSE},
year = {2026},
month = {7}
}Introduces an agent-based evaluator that gathers execution, visual, and contextual evidence for complex code generation tasks.
2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2025
@inproceedings{wang2025agent,
title = {An Agent-based Evaluation Framework for Complex Code Generation},
author = {Wang, Xinchen and Hu, Ruida and Gao, Pengfei and Peng, Chao and Gao, Cuiyun},
booktitle = {2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)},
pages = {2427--2439},
year = {2025},
month = {11},
organization = {IEEE}
}Evaluate the effectiveness of repository document via downstream tasks.
arXiv preprint arXiv:2604.06793 · 2026
@article{wang2026evaluating,
title = {Evaluating Repository-level Software Documentation via Question Answering and Feature-Driven Development},
author = {Wang, Xinchen and Hu, Ruida and Gao, Cuiyun and Gao, Pengfei and Peng, Chao},
journal = {arXiv preprint arXiv:2604.06793},
year = {2026},
month = {4}
}Surveys the full lifecycle of code foundation models and provides practical guidance for building agents and applications.
arXiv preprint arXiv:2511.18538 · 2025
@article{yang2025code,
title = {From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence},
author = {Yang, Jian and Liu, Xianglong and Lv, Weifeng and Deng, Ken and Guo, Shawn and Jing, Lin and Li, Yizhi and Liu, Shark and Luo, Xianzhen and Luo, Yuyu and Pan, Changzai and Shi, Ensheng and Tan, Yingshui and Tao, Renshuai and Wu, Jiajun and Wu, Xianjie and Wu, Zhenhe and Zan, Daoguang and Zhang, Chenchen and Zhang, Wei and Zhu, He and Yue, Terry and Cao, Kerui and Cheng, Xianfu and Dong, Jun and Fang, Shengjie and Fei, Zhiwei and Guan, Xiangyuan and Guo, Qipeng and Han, Zhiguang and James, Joseph and Luo, Tianqi and Li, Renyuan and Li, Yuhang and Liang, Yiming and Liu, Congnan and Liu, Jiaheng and Liu, Qian and Liu, Ruitong and Loakman, Tyler and Meng, Xiangxin and Peng, Chuang and Peng, Tianhao and Shi, Jiajun and Tang, Mingjie and Wang, Boyang and Wang, Haowen and Wang, Yunli and Xu, Fanglin and Xu, Zihan and Yuan, Fei and Zhang, Ge and Zhang, Jiayi and Zhang, Xinhao and Zhou, Wangchunshu and Zhu, Hualei and Zhu, King and Dai, Bryan and Liu, Aishan and Li, Zhoujun and Lin, Chenghua and Liu, Tianyu and Peng, Chao and Shen, Kai and Qin, Libo and Song, Shuangyong and Zhan, Zizheng and Zhang, Jiajun and Zhang, Jie and Zhang, Zhaoxiang and Zheng, Bo},
journal = {arXiv preprint arXiv:2511.18538},
year = {2025},
month = {11}
}Uses graph convolutional networks to compare mobile app layouts and identify visual inconsistencies.
Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · 2024
@inproceedings{tao2024neat,
title = {Neat: Mobile App Layout Similarity Comparison Based on Graph Convolutional Networks},
author = {Tao, Zhu and Gao, Yongqiang and Qi, Jiayi and Peng, Chao and Wu, Qinyun and Chen, Xiang and Yang, Ping},
booktitle = {Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering},
pages = {104--114},
year = {2024},
month = {7}
}Evaluates code completion prompting strategies by simulating developer behavior and evolving repository context.
Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering · 2024
@inproceedings{peng2024reposim,
title = {RepoSim: Evaluating Prompt Strategies for Code Completion via User Behavior Simulation},
author = {Peng, Chao and Wu, Qinyun and Liu, Jiangchao and Liu, Jierui and Jiang, Bo and Xu, Mengqian and Wang, Yinghao and Liu, Xia and Yang, Ping},
booktitle = {Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering},
pages = {2279--2283},
year = {2024},
month = {11}
}Builds executable repository environments at scale by iteratively generating Docker configurations and running tests.
The Thirty-ninth Annual Conference on Neural Information Processing Systems · 2025
Spotlight Poster
@inproceedings{hu2025reporun,
title = {Repo2Run: Automated Building Executable Environment for Code Repository at Scale},
author = {Hu, Ruida and Peng, Chao and Wang, Xinchen and Xu, Junjielong and Gao, Cuiyun},
booktitle = {The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year = {2025},
month = {12},
url = {https://openreview.net/forum?id=fZsd3KLMje}
}Introduces CLI-Tool-Bench to evaluate end-to-end, ground-up CLI software generation through black-box behavioral testing.
arXiv preprint arXiv:2604.06742 · 2026
@article{hu2026evaluating,
title = {Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios},
author = {Hu, Ruida and Wang, Xinchen and Peng, Chao and Gao, Cuiyun and Lo, David},
journal = {arXiv preprint arXiv:2604.06742},
year = {2026},
month = {4}
}Exposes Go concurrency bugs by directing interleaving exploration around synchronization primitives.
2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2023
@inproceedings{jiang2023effective,
title = {Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration},
author = {Jiang, Zongze and Wen, Ming and Yang, Yixin and Peng, Chao and Yang, Ping and Jin, Hai},
booktitle = {2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)},
pages = {1364--1376},
year = {2023},
month = {9},
organization = {IEEE}
}