Sen Fang

NC State University

avatar.jpg

Engineering Building II, Room 3228

890 Oval Dr

Raleigh NC, USA

Hello! I’m now a second-year Ph.D. student in NC State University, advised by Prof. Bowen Xu. Before joining NC State, I was a research engineer at the KTH Royal Institute of Technology, under the guidance of Prof. Martin Monperrus. I obtained a Master’s degree from Central China Normal University. I am deeply fascinated by the intersection of machine learning and software engineering, with a particular focus on AI4SE, LLM4Code, and SE4AI.

My current research addresses a critical gap in LLM evaluation: how to fairly assess robustness without relying on biased adversarial attacks. We developed EvaLooop, a novel framework that evaluates LLM stability through iterative self-consistency loops. By testing how models maintain semantic integrity across repeated code generation and summarization cycles, we have evaluated 100+ mainstream LLMs and discovered that high initial accuracy does not guarantee sustained reliability. Explore our comprehensive leaderboard for detailed rankings and insights.

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!
Apr 30, 2024 I finally decided to accept PhD offer from NC State University and start my PhD career at 2024 Fall.
Mar 04, 2023 Start a internship at KTH Royal Institute of Technology!
Dec 09, 2022 One paper got accepted by ICSE 2023!

selected publications

  1. Supersonic: Learning to generate source code optimisations in c/c++
    Zimin ChenSen Fang ,  and  Martin Monperrus
    arXiv preprint arXiv:2309.14846, 2023
  2. RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair
    André SilvaSen Fang ,  and  Martin Monperrus
    arXiv preprint arXiv:2312.15698, 2023
  3. RepresentThemAll: A Universal Learning Representation of Bug Reports
    Sen FangTao Zhang ,  Youshuai Tan , and 3 more authors
    In 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) , 2023
  4. Generative AI to Generate Test Data Generators
    Benoit BaudryKhashayar EtemadiSen Fang , and 7 more authors
    arXiv preprint arXiv:2401.17626, 2024
  5. EvaLooop: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programming
    Sen Fang ,  Weiyuan Ding ,  and  Bowen Xu
    arXiv preprint arXiv:2505.12185, 2025