Sen Fang

NC State University

avatar.jpg

Engineering Building II, Room 3228

890 Oval Dr

Raleigh NC, USA

I am a Ph.D. Candidate in the Department of Computer Science at NC State University, advised by Prof. Bowen Xu (SoftMax Lab). Before joining NC State, I was a research engineer at KTH Royal Institute of Technology, under the guidance of Prof. Martin Monperrus. In summer 2025, I interned at Hedra as a Machine Learning Engineer. I obtained my M.Sc. from Central China Normal University.

My research lies at the intersection of large language models and software engineering. I work on both sides of this relationship: applying LLMs to automate software engineering tasks such as program repair, code optimization, and vulnerability detection (AI4SE), and studying the reliability and robustness of LLMs themselves when deployed for code-related tasks (SE4AI). I am broadly interested in building more trustworthy and capable AI systems for software development.

In my leisure time, I enjoy Japanese Anime and channeling my creativity into writing novels. Additionally, I have a passion for exploring different computer games. A heartfelt thanks to my sweetheart Kiki, whose generosity has expanded my gaming adventures with numerous new additions to my collection.

news

Jun 11, 2025 Our work RepairLLaMA got accepted by TSE!
May 01, 2025 Started a Machine Learning Engineer internship at Hedra, working on generative video models!
Jan 15, 2025 Our work Deep Smart Contract Intent Detection got accepted by SANER 2025!
Dec 01, 2024 Our work Enhancing Android Malware Detection got accepted by ACM TOSEM!
Aug 19, 2024 Started my Ph.D. journey at NC State University, advised by Prof. Bowen Xu!
Jul 08, 2024 Our work Supersonic got accepted by IEEE TSE!
Jun 28, 2024 Our work Generative AI to Generate Test Data Generators got accepted by IEEE Software!
Apr 30, 2024 I finally decided to accept PhD offer from NC State University and start my PhD career at 2024 Fall.

selected publications

  1. Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation
    Sen Fang ,  Weiyuan Ding ,  Antonio Mastropaolo ,  and  Bowen Xu
    arXiv preprint arXiv:2508.20086, 2025
  2. EVALOOP: Assessing LLM Robustness in Programming from a Self-consistency Perspective
    Sen Fang ,  Weiyuan Ding ,  and  Bowen Xu
    arXiv preprint arXiv:2505.12185, 2025
  3. Enhancing Android Malware Detection: The Influence of ChatGPT on Decision-centric Tasks
    Yao Li ,  Sen FangTao Zhang ,  and  Haipeng Cai
    ACM Transactions on Software Engineering and Methodology, 2025
  4. Generative AI to Generate Test Data Generators
    Benoit BaudryKhashayar EtemadiSen FangYogya Gamage ,  Yi Liu , and 5 more authors
    IEEE Software, 2024
  5. Supersonic: Learning to Generate Source Code Optimizations in C/C++
    Zimin ChenSen Fang ,  and  Martin Monperrus
    IEEE Transactions on Software Engineering, 2024
  6. RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair
    André SilvaSen Fang ,  and  Martin Monperrus
    IEEE Transactions on Software Engineering, 2025
  7. RepresentThemAll: A Universal Learning Representation of Bug Reports
    Sen FangTao Zhang ,  Youshuai Tan ,  He Jiang ,  Xin Xia , and 1 more author
    In 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) , 2023