Lingfeng Bao

Zhejiang University
1 previous affiliation
37Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Lingfeng Bao focuses on software engineering, human-computer interaction in development environments, and the application of machine learning to code analysis. His early work pioneered techniques for extracting developer behavior and code from programming screencasts to better understand software practices. More recently, his research investigates the quality and security of evolving software systems, alongside enhancing the code reasoning capabilities of large language models.

Research Trajectory

Bao’s early research concentrated on understanding developer behavior by analyzing screen-captured task videos, a rich but difficult-to-process source of human-computer interaction data. He developed methods to extract time-series interaction data—such as software usage and application content—directly from these videos, addressing the bottleneck of manual transcription in Reverse engineering time-series interaction data from screen-captured videos. He expanded on this methodology in Extracting and analyzing time-series HCI data from screen-captured task videos, providing a comprehensive survey and extraction framework for studying software engineering practices from a human perspective. Recognizing the practical difficulty of instrumenting every tool a developer uses (such as web browsers and documentation software), he subsequently introduced techniques to infer development activities directly from interactions with uninstrumented applications in Inference of development activities from interaction with uninstrumented applications.

Building on his expertise in programming videos, Bao designed systems to improve how procedural knowledge is documented and consumed by developers. Because the streaming nature of video limits a viewer's ability to interact with code and program outputs, he developed an interactive programming video tutorial system in VT-Revolution: Interactive Programming Video Tutorial Authoring and Watching System. To further enhance developer interactions with screencasts, he introduced denoising techniques for accurate code extraction, detailed in psc2code: Denoising Code Extraction from Programming Screencasts and Enhancing developer interactions with programming screencasts through accurate code extraction.

Parallel to his work on developer behavior, Bao contributed to software reliability, debugging, and automated repair. He proposed algorithms for comparing system execution logs using statistical hypothesis testing in Statistical Log Differencing, allowing engineers to control the sensitivity of log analysis. Additionally, he collaborated on evaluating the reliability of patch correctness assessments, contributing to the broader research direction of Overfitting in Automated Program Repair with the empirical study On reliability of patch correctness assessment, which demonstrated that manual author annotations are significantly more reliable than automated test suite-based labeling.

As his trajectory progressed, Bao's focus expanded to the evolution, maintenance, and security of large-scale software ecosystems. He investigated open-source sustainability by modeling the transition of newcomers to long-term contributors across hundreds of GitHub projects in A Large Scale Study of Long-Time Contributor Prediction for GitHub Projects. Recognizing that machine learning systems possess heavier data dependencies and more complex team compositions than traditional software, his research group conducted a comprehensive empirical study to identify maintenance issues specific to deep learning software, presented in Code Smells in Machine Learning Systems. He also contributed to software security by formulating fine-grained vulnerability type prediction as a hierarchical multi-label classification problem, utilizing the Common Weakness Enumeration (CWE) tree structure in Fine-grained Commit-level Vulnerability Type Prediction by CWE Tree Structure.

More recently, Bao has participated in empirical research within the area of Behavioral Incompatibility in Evolving Software Libraries. This work included analyzing syntactic and behavioral breaking changes in JavaScript and TypeScript projects in Towards Better Comprehension of Breaking Changes in the NPM Ecosystem, revealing that a significant portion of documented breaking changes evade standard regression testing. In 2025, his research group explored the intersection of large language models and software engineering, proposing reinforcement learning techniques to improve LLM execution prediction in CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learning.

Current Directions

The most recent papers in the evidence address the application of advanced machine learning paradigms, particularly reinforcement learning, to improve the fundamental code reasoning capabilities of large language models. This work focuses on overcoming the limitations and data quality issues associated with supervised fine-tuning, aiming to better predict program execution behavior and outputs. This direction is critical for improving the reliability of automated models in downstream software engineering tasks such as debugging, code generation, and program repair. Additionally, ongoing themes in the evidence point to a continued interest in the maintenance, security, and evolution of complex software ecosystems, ranging from deep learning systems to popular package registries like NPM.

Profile updated

See something wrong? Report a mistake