Haibo Wang

haibo.wang@mail.concordia.ca | Google Scholar

prof_pic.jpg

I am a Ph.D. candidate in Computer Science at Concordia University, Montréal, Canada, supervised by Prof. Shin Hwei Tan. My research lies broadly in software engineering, with a focus on automated software testing, software refactoring, AI for software engineering, green and sustainable software engineering, and human aspects of software engineering.

Before relocating to Concordia University, I was part of the Joint Ph.D. Program between the Southern University of Science and Technology, China, and the University of Leeds, United Kingdom, under the supervision of Prof. Shin Hwei Tan and Prof. Zheng Wang. I received my M.Sc. in Computer Technology from Beijing University of Posts and Telecommunications, China, and my B.Sc. in Software Engineering from China University of Petroleum, China.

My research is driven by a central goal: making software evolution reliable, trustworthy, and sustainable in an AI-assisted world. Modern software is increasingly written, changed, tested, and maintained with the help of large language models, program transformation tools, and automated testing frameworks. These tools can significantly improve developer productivity, but they also introduce new risks: program transformation tools may silently change program behavior, Code LLMs may generate incorrect or unsafe code, and AI-assisted development workflows may consume substantial computational resources at scale.

Methodologically, my work combines empirical software engineering, program analysis, automated testing, and AI-based techniques. Across these methods, my research follows a common principle: starting from real failures in real software tools, understanding why these failures happen, and building practical techniques to test, validate, and improve modern software development systems.

My research is organized around three connected directions:

  1. Reliable software evolution and transformation.
    I study the reliability of software transformation tools, especially refactoring engines. My work investigates refactoring engine bugs in widely used IDEs such as Eclipse, IntelliJ IDEA, and NetBeans, and develops techniques for testing refactoring engines using historical bug reports and LLM-generated program variants. More broadly, I am interested in behavior-preserving program transformations, program simplification, refactoring precondition inference, and repository-scale refactoring support.

  2. Trustworthy AI-enabled software development.
    I focus on the reliability, safety, and trustworthiness of Code LLMs and AI-assisted development tools. Instead of evaluating AI-generated code only by whether it compiles or passes tests, my work asks whether the generated code is correct, safe, responsible, and aligned with developer intent. This direction includes harmfulness testing for Code LLMs, structured safety auditing of LLM-generated code, ethics testing for generative AI systems, and intent-centered validation of AI-generated software.

  3. Green and sustainable software engineering.
    I am interested in the energy impact of software systems and AI-assisted development workflows. My work investigates how refactoring affects software energy consumption, and how LLM-based development tools can be designed to balance correctness, safety, and energy efficiency. More broadly, I aim to build practical techniques for energy-aware software development and green AI for software engineering.

My work has been published in top-tier software engineering and programming languages venues, including FSE, ASE, PLDI, and TOSEM. Beyond publications, my research has contributed to the open-source community by revealing hundreds of new bugs in widely used software tools and systems, including Eclipse, IntelliJ IDEA, NetBeans, RefactoringMiner, and JavaScript engines such as Google V8.

More broadly, my long-term research goal is to build practical, reliable, and sustainable software engineering techniques that help developers build, evolve, and maintain high-quality software systems in the age of AI.

news

Jun 18, 2026 Our paper working on balancing code correctness and safety in LLM code generation was accepted to ASE 2026. Congratulations to honghao :tada: !
Aug 10, 2025 Our paper working on code harmfulness testing for LLM was accepted to ASE 2025. Congratulations to honghao :tada: !
May 10, 2025 Our paper working on LLM-based refactoring engine bug detection was accepted to FORGE 2025!
May 10, 2025 Our paper working on refactoring engine bug study was accepted at TOSEM!
Jan 15, 2025 Our paper working on program simplification was accepted at FSE 2025!

selected publications

  1. Towards Automated Detection of Unethical Behavior in Open-Source Software Projects
    Hsu Myat Win, Haibo Wang, and Shin Hwei Tan
    In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, San Francisco, CA, USA, 2023
  2. Towards Understanding Refactoring Engine Bugs
    Haibo Wang, Zhuolin Xu, Huaien Zhang, and 2 more authors
    ACM Trans. Softw. Eng. Methodol., Apr 2025
  3. Testing Refactoring Engine via Historical Bug Report driven LLM
    Haibo Wang, Zhuolin Xu, and Shin Hwei Tan
    In 2025 IEEE/ACM Second International Conference on AI Foundation Models and Software Engineering (Forge), 2025
  4. Towards Diverse Program Transformations for Program Simplification
    Haibo Wang, Zezhong Xing, Chengnian Sun, and 2 more authors
    Proc. ACM Softw. Eng., Jun 2025
  5. Coverage-Based Harmfulness Testing for LLM Code Transformation
    Honghao Tan, Haibo Wang, Diany Pressato, and 2 more authors
    In 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2025
  6. ASE 2026
    Structured Safety Auditing for Balancing Code Correctness and Content Safety in LLM-Generated Code
    Honghao Tan, Haibo Wang, and Shin Hwei Tan
    arXiv preprint arXiv:2604.12088, 2026