Shengyu Fu
· 6 previous affiliations
- Microsoft (United States)Since 2008
- Partner Applied Science Manager · Since 2025
- Principal Researcher · Since 2015
- Principal Applied Science Manager, CoreAI · 2016–2025
- Senior Development Lead · 2008–2015
- Wedo China Consulting Ltd.2015–2016
- CTO · 2015–2016
- One Network Enterprises2005–2008
- Senior Software Architect · 2005–2008
- Oracle | PeopleSoft2003–2005
- Senior Software Engineer · 2003–2005
- Ph.D, Engineering · 1999–2003
- M.S., Computer Science · 1999–2001
- Tianjin University1992–1996
- Undergrad student · 1992–1996
Research Overview
Shengyu Fu focuses on machine learning for software engineering, code representation learning, and the rigorous evaluation of code generation models. His early collaborative work contributed to foundational pre-trained models and large-scale benchmarks for code understanding. More recently, his research emphasizes realistic, interaction-grounded evaluation frameworks and generative representation learning through semantic-preserving code transformations.
Research Trajectory
Shengyu Fu’s research trajectory begins with foundational contributions to how machine learning models represent and understand programming languages. In 2021, he collaborated on the development of GraphCodeBERT: Pre-training Code Representations with Data Flow. Unlike prior models that treated code snippets merely as sequences of tokens, this work incorporated data flow—a semantic-level structure—into the pre-training stage. This approach significantly improved performance on downstream tasks such as code search and summarization, advancing the research area of Graph-Based Code Representation for Software Engineering and the broader domain of Graph Masked Attention for Structural Transformers. The project also touched upon the direction of Enforcing Structural Constraints on Language Model Outputs. Concurrently, he was part of the large consortium that introduced CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation. By consolidating ten diverse tasks across fourteen datasets and providing baseline models, CodeXGLUE aimed to standardize evaluation and foster the development of more robust artificial intelligence for software engineering.
Following these foundational pre-training and benchmarking efforts, his focus expanded to include the dynamic runtime behavior of generated code. In 2023, he participated in research exploring Code Execution with Pre-trained Language Models, investigating the intersection of static language modeling and active code execution.
By 2025, a major theme in his collaborative work became the critical need for ecologically valid and scalable evaluation frameworks, moving beyond static datasets to dynamic, real-world scenarios. He contributed to SWE-bench Goes Live!, a project designed to address the limitations of existing issue-resolving benchmarks. By creating a live-updatable framework featuring nearly two thousand tasks derived from recent GitHub issues, the work reduced the reliance on manual test construction and improved scalability. In parallel, he co-authored Beyond Accuracy: Realistic and Diagnostic Evaluation of Code Generation Models, which introduced a telemetry-driven benchmark designed to assess large language models on realistic code completion tasks. This evaluation framework utilized real developer telemetry—such as API usage and code purpose understanding—across multiple programming languages, combining functional correctness metrics with assessments of usefulness and contextual relevance.
In 2026, this trajectory culminated in further refinements of interaction-grounded evaluation and advanced representation learning. He contributed to DevBench: An Interaction-Grounded Benchmark for Code Completion Models, which analyzed over a billion code completion events to capture realistic difficulty patterns. This research highlighted a critical tension between functional correctness and perceived helpfulness in current models, contributing to the research directions of Multi-turn Iterative Code Generation and Refinement and Functional Correctness via Execution-Based Evaluation. Finally, he participated in the development of SemRep : Generative Code Representation Learning with Code Transformations. This framework was designed to teach large language models to reason about code equivalence by decoupling the understanding of code semantics from the mechanics of code transformation. The work advanced the area of Learning Functional Invariance through Semantic Preserving Transformations, demonstrating that smaller models could be trained to outperform much larger counterparts on complex tasks like algorithmic discovery and GPU kernel optimization.
Current Directions
The most recent papers in the evidence indicate a dual focus on ecologically valid evaluation and advanced representation learning for code. One major direction involves creating benchmarks grounded in real-world developer interactions and telemetry, moving beyond simple functional correctness to assess the perceived helpfulness and contextual relevance of code completion models. A complementary focus lies in generative code representation, specifically teaching models to understand functional invariance and code equivalence. By decoupling the understanding of code semantics from the mechanics of code transformation, this work aims to optimize complex algorithmic tasks and improve the efficiency of smaller language models.
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