Bowen Xu
· 4 previous affiliations
- North Carolina State UniversitySince 2023
- Assistant Professor · Since 2023
- Southern Medical University2017–2022
- PhD student · 2017–2022
- Singapore Management University2017–2022
- Doctor of Philosophy - PhD, Computer Software Engineering · 2017–2022
- Zhejiang University2014–2017
- Master of Engineering - MEng, Computer Software Engineering · 2014–2017
2 other authors named Bowen Xu: Bowen Xu (Alibaba Group (China) · 4 papers), Bowen Xu (TikTok · 1 paper)
Research Overview
Bowen Xu focuses on software engineering, specifically the application of machine learning and large language models to code and developer Q&A platforms. Early work emphasized representation learning for platforms like Stack Overflow, while recent research investigates the reliability, security, and practical deployment of generative AI in software development. Current efforts address the vulnerabilities of code models and their potential for automated program repair.
Research Trajectory
Xu’s research initially concentrated on extracting structured, actionable knowledge from crowdsourced developer platforms. A central challenge in analyzing software question-and-answer (Q&A) sites like Stack Overflow is converting informal, heterogeneous text and code snippets into formats suitable for downstream machine learning tasks. In 2022, Xu led the development of Post2Vec: Learning Distributed Representations of Stack Overflow Posts, proposing a specialized representation learning approach to generate meaningful vectors for posts. This work established a foundation for improving automated tasks such as tag recommendation and API prediction by providing higher-quality input representations. During this period, Xu also contributed significantly to Aspect-Based API Review Classification: How Far Can Pre-Trained Transformer Model Go? (2022), which evaluated the efficacy of pre-trained transformer models in categorizing developer discussions about APIs into specific aspects like performance and security.
As large language models (LLMs) began to disrupt traditional software engineering workflows, Xu’s focus shifted toward evaluating and adapting these generative models for developer assistance. In 2023, following the rapid adoption of tools like ChatGPT, Xu led an empirical study titled Are We Ready to Embrace Generative AI for Software Q&A?. This research provided a timely comparative evaluation between human-written Stack Overflow answers and those generated by ChatGPT. The study highlighted that while AI-generated responses achieved high semantic similarity, human answers consistently outperformed them across multiple quality metrics, underscoring the limitations of early generative AI in providing reliable software engineering solutions.
Parallel to evaluating generative AI in Q&A contexts, Xu expanded into automated program repair (APR) and the robustness of neural models of code. A major bottleneck in APR is the overfitting problem, where generated patches pass existing tests but remain fundamentally incorrect in real-world deployment. Xu was a key contributor to PatchZero: Zero-Shot Automatic Patch Correctness Assessment (2023), which introduced a zero-shot approach to automatically evaluate patch correctness without requiring extensive manually labeled datasets for new APR tools.
By 2024, Xu’s research trajectory increasingly addressed the security vulnerabilities inherent in deploying large code models. As models like CodeBERT and CodeT5 became foundational to automated software engineering tasks, they also became targets for adversarial manipulation. Xu contributed to Stealthy Backdoor Attack for Code Models (2024), investigating how adaptive, stealthy triggers could be injected into training data to manipulate model outputs while evading standard detection methods.
Most recently, Xu has continued to refine the integration of pre-trained models into developer platforms. This is evidenced by PTM4Tag+: Tag recommendation of stack overflow posts with pre-trained models (2025), which leverages advancements in natural language processing to mitigate issues like tag ambiguity and explosion on Stack Overflow, bringing the trajectory full circle back to the optimization of developer knowledge bases.
Current Directions
The most recent papers in the evidence indicate a dual focus on the security of code models and the integration of LLMs into active software maintenance. Recent work investigates the vulnerabilities of foundational code models to stealthy backdoor attacks, highlighting a growing need for robust defense mechanisms in automated software engineering pipelines. Additionally, Xu is participating in research exploring the use of LLMs as dynamic runtime error handlers, moving beyond static code generation to investigate how generative models might enable adaptive self-healing in software systems. Alongside these advanced applications, there remains an ongoing effort to improve the organization of developer knowledge through sophisticated tag recommendation frameworks powered by pre-trained models.
Profile updated
| Title | Venue | Year |
|---|---|---|
| PTM4Tag+: Tag recommendation of stack overflow posts with pre-trained models | Empir. Softw. Eng | 2025 |
| Finding Safety Violations of AI-Enabled Control Systems through the Lens of Synthesized Proxy ProgramsGitHub resource | ACM Trans. Softw. Eng. Methodol | 2025 |
| Greening Large Language Models of Code | Icse (seis) | 2024 |
| Stealthy Backdoor Attack for Code Models | IEEE Trans. Software Eng | 2024 |
| Representation Learning for Stack Overflow Posts: How Far Are We? | ACM Trans. Softw. Eng. Methodol | 2024 |
| LLM as Runtime Error Handler: A Promising Pathway to Adaptive Self-Healing of Software Systems | arXiv | 2024 |
| Leveraging Large Language Model for Automatic Patch Correctness Assessment | IEEE Trans. Software Eng | 2024 |
| SEA4DQ 2024 Workshop Summary | ACM Sigsoft Softw. Eng. Notes | 2024 |
| Multi-LLM Collaboration + Data-Centric Innovation = 2x Better Vulnerability Repair | arXiv | 2024 |
| Out of Sight, Out of Mind: Better Automatic Vulnerability Repair by Broadening Input Ranges and Sources | ICSE | 2024 |
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