About Me
Logo Ph.D. at School of Computer Science, Peking University, supervised by Prof. Zhi Jin and Prof. Ge Li
Logo Assistant Professor at School of Computer Science & Engineering, Beihang University

I am currently an Assistant Professor at School of Computer Science & Engineering, Beihang University, China. My research mainly focuses on software engineering, including AI for SE, program understanding, code generation, and program repair.


Education
  • Peking University
    Peking University
    Ph.D. in Computer Science
    Sep. 2017 - Jul. 2022
  • Chongqing University
    Chongqing University
    B.S. in Computer Science
    Sep. 2013 - Jul. 2017
Teaching
  • Compiler Technology at Beihang University(Fall)
    Compulsory Course
    2024
  • Programming in Cangjie Language(Spring)
    Elective Course
    2025
News
2025
Our paper "An Empirical Study of Parameter-Efficient Fine-Tuning in Code Change Learning and Beyond" has been accepted by TSE
Nov 12
Selected Publications (view all )
SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuning

Fang Liu, Simiao Liu, Yinghao Zhu, Xiaoli Lian, Li Zhang# (# corresponding author)

48th International Conference on Software Engineering (ICSE'26), 2026 CCF-A

SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuning

Fang Liu, Simiao Liu, Yinghao Zhu, Xiaoli Lian, Li Zhang# (# corresponding author)

48th International Conference on Software Engineering (ICSE'26), 2026 CCF-A

RepoScope: Leveraging Call Chain-Aware Multi-View Context for Repository-Level Code Generation

Yang Liu, Li Zhang, Fang Liu#, Zhuohang Wang, Donglin Wei, Zhishuo Yang, Kechi Zhang, Jia Li, Lin Shi (# corresponding author)

48th International Conference on Software Engineering (ICSE'26), 2026 CCF-A

RepoScope: Leveraging Call Chain-Aware Multi-View Context for Repository-Level Code Generation

Yang Liu, Li Zhang, Fang Liu#, Zhuohang Wang, Donglin Wei, Zhishuo Yang, Kechi Zhang, Jia Li, Lin Shi (# corresponding author)

48th International Conference on Software Engineering (ICSE'26), 2026 CCF-A

Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code

Fang Liu, Yang Liu, Lin Shi, Zhen Yang, Li Zhang#, Xiaoli Lian, Zhongqi Li, Yuchi Ma (# corresponding author)

IEEE Transactions on Software Engineering (TSE'26), 2026 CCF-A

Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code

Fang Liu, Yang Liu, Lin Shi, Zhen Yang, Li Zhang#, Xiaoli Lian, Zhongqi Li, Yuchi Ma (# corresponding author)

IEEE Transactions on Software Engineering (TSE'26), 2026 CCF-A

FASTCODER: Accelerating Repository-level Code Generation via Efficient Retrieval and Verification

Qianhui Zhao, Li Zhang, Fang Liu#, Xiaoli Lian#, Qiaoyuanhe Meng, Ziqian Jiao, Zetong Zhou, Jia Li, Lin Shi (# corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

FASTCODER: Accelerating Repository-level Code Generation via Efficient Retrieval and Verification

Qianhui Zhao, Li Zhang, Fang Liu#, Xiaoli Lian#, Qiaoyuanhe Meng, Ziqian Jiao, Zetong Zhou, Jia Li, Lin Shi (# corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

AutoPLC: Generating Vendor-Aware Structured Text for Programmable Logic Controllers

Donghao Yang*, Aolang Wu*, Tianyi Zhang*, Li Zhang, Xiaoli Lian#, Fang Liu#, Yuming Ren, Jiaji Tian, Xiaoyin Che (* equal contribution, # corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25 Industry Showcase Track), 2025 CCF-A

AutoPLC: Generating Vendor-Aware Structured Text for Programmable Logic Controllers

Donghao Yang*, Aolang Wu*, Tianyi Zhang*, Li Zhang, Xiaoli Lian#, Fang Liu#, Yuming Ren, Jiaji Tian, Xiaoyin Che (* equal contribution, # corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25 Industry Showcase Track), 2025 CCF-A

Explainable Fault Localization for Programming Assignments via LLM-Guided Annotation

Fang Liu*, Tianze Wang*, Li Zhang, Zheyu Yang, Jing Jiang#, Zian Sun (* equal contribution, # corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

Explainable Fault Localization for Programming Assignments via LLM-Guided Annotation

Fang Liu*, Tianze Wang*, Li Zhang, Zheyu Yang, Jing Jiang#, Zian Sun (* equal contribution, # corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

EfficientEdit: Accelerating Code Editing via Edit-Oriented Speculative Decoding

Peiding Wang, Li Zhang, Fang Liu#, Yinghao Zhu, Wang Xu, Lin Shi#, Xiaoli Lian, Minxiao Li, Bo Shen, An Fu (# corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

EfficientEdit: Accelerating Code Editing via Edit-Oriented Speculative Decoding

Peiding Wang, Li Zhang, Fang Liu#, Yinghao Zhu, Wang Xu, Lin Shi#, Xiaoli Lian, Minxiao Li, Bo Shen, An Fu (# corresponding author)

40th IEEE/ACM International Conference on Automated Software Engineering (ASE'25), 2025 CCF-A

Learning to Represent Code Semantics

Fang Liu, Ge Li, Qianhui Zhao, Li Zhang# (# corresponding author)

Science China Information Sciences (SCIS'25), 2025 CCF-A

Learning to Represent Code Semantics

Fang Liu, Ge Li, Qianhui Zhao, Li Zhang# (# corresponding author)

Science China Information Sciences (SCIS'25), 2025 CCF-A

LONGCODEU: Benchmarking Long-Context Language Models on Long Code Understanding

Jia Li, Xuyuan Guo, Lei Li, Kechi Zhang, Ge Li#, Zhengwei Tao, Fang Liu, Chongyang Tao, Yuqi Zhu, Zhi Jin# (# corresponding author)

The 63rd Annual Meeting of the Association for Computational Linguistics (ACL'25 main), 2025 CCF-A

LONGCODEU: Benchmarking Long-Context Language Models on Long Code Understanding

Jia Li, Xuyuan Guo, Lei Li, Kechi Zhang, Ge Li#, Zhengwei Tao, Fang Liu, Chongyang Tao, Yuqi Zhu, Zhi Jin# (# corresponding author)

The 63rd Annual Meeting of the Association for Computational Linguistics (ACL'25 main), 2025 CCF-A

On the Applicability of Code Language Models to Scientific Computing Programs

Qianhui Zhao, Fang Liu#, Xiao Long, Chengru Wu, Li Zhang# (# corresponding author)

IEEE Transactions on Software Engineering (TSE'25), 2025 CCF-A

On the Applicability of Code Language Models to Scientific Computing Programs

Qianhui Zhao, Fang Liu#, Xiao Long, Chengru Wu, Li Zhang# (# corresponding author)

IEEE Transactions on Software Engineering (TSE'25), 2025 CCF-A

Incorporating Verification Standards for Security Requirements Generation from Functional Specifications

Xiaoli Lian, Shuaisong Wang, Hanyu Zou, Fang Liu, Jiajun Wu, Li Zhang# (# corresponding author)

International Conference on the Foundations of Software Engineering (FSE'25), 2025 CCF-A

Incorporating Verification Standards for Security Requirements Generation from Functional Specifications

Xiaoli Lian, Shuaisong Wang, Hanyu Zou, Fang Liu, Jiajun Wu, Li Zhang# (# corresponding author)

International Conference on the Foundations of Software Engineering (FSE'25), 2025 CCF-A

Large Language Model-Aware In-Context Learning for Code Generation

Jia Li, Chongyang Tao, Jia Li, Ge Li#, Zhi Jin#, Huangzhao Zhang, Zheng Fang, Fang Liu (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'25), 2025 CCF-A

Large Language Model-Aware In-Context Learning for Code Generation

Jia Li, Chongyang Tao, Jia Li, Ge Li#, Zhi Jin#, Huangzhao Zhang, Zheng Fang, Fang Liu (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'25), 2025 CCF-A

PATCH: Empowering Large Language Model with Programmer-Intent Guidance and Collaborative-Behavior Simulation for Automatic Bug Fixing

Yuwei Zhang, Zhi Jin#, Ying Xing, Ge Li#, Fang Liu, Jiaxin Zhu, Wensheng Dou, Jun Wei# (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'25), 2025 CCF-A

PATCH: Empowering Large Language Model with Programmer-Intent Guidance and Collaborative-Behavior Simulation for Automatic Bug Fixing

Yuwei Zhang, Zhi Jin#, Ying Xing, Ge Li#, Fang Liu, Jiaxin Zhu, Wensheng Dou, Jun Wei# (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'25), 2025 CCF-A

Enhancing Automated Program Repair with Solution Design

Jiuang Zhao*, Donghao Yang*, Li Zhang, Xiaoli Lian#, Zitian Yang, Fang Liu (* equal contribution, # corresponding author)

Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (ASE'24), 2024 CCF-A

Enhancing Automated Program Repair with Solution Design

Jiuang Zhao*, Donghao Yang*, Li Zhang, Xiaoli Lian#, Zitian Yang, Fang Liu (* equal contribution, # corresponding author)

Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (ASE'24), 2024 CCF-A

FastFixer: An Efficient and Effective Approach for Repairing Programming Assignments

Fang Liu*, Zhenwei Liu*, Qianhui Zhao, Jing Jiang#, Li Zhang, Zian Sun, Ge Li, Zhongqi Li, Yuchi Ma (* equal contribution, # corresponding author)

Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (ASE'24), 2024 CCF-A

FastFixer: An Efficient and Effective Approach for Repairing Programming Assignments

Fang Liu*, Zhenwei Liu*, Qianhui Zhao, Jing Jiang#, Li Zhang, Zian Sun, Ge Li, Zhongqi Li, Yuchi Ma (* equal contribution, # corresponding author)

Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (ASE'24), 2024 CCF-A

Exploring and Unleashing the Power of Large Language Models in Automated Code Translation

Zhen Yang, Fang Liu#, Zhongxing Yu#, Jacky Wai Keung, Jia Li, Shuo Liu, Yifan Hong, Xiaoxue Ma, Zhi Jin, Ge Li (# corresponding author)

International Conference on the Foundations of Software Engineering (FSE'24), 2024 CCF-A

Exploring and Unleashing the Power of Large Language Models in Automated Code Translation

Zhen Yang, Fang Liu#, Zhongxing Yu#, Jacky Wai Keung, Jia Li, Shuo Liu, Yifan Hong, Xiaoxue Ma, Zhi Jin, Ge Li (# corresponding author)

International Conference on the Foundations of Software Engineering (FSE'24), 2024 CCF-A

Non-Autoregressive Line-Level Code Completion

Fang Liu, Zhiyi Fu, Ge Li, Zhi Jin, Hui Liu, Yiyang Hao, Li Zhang# (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'24), 2024 CCF-A

Non-Autoregressive Line-Level Code Completion

Fang Liu, Zhiyi Fu, Ge Li, Zhi Jin, Hui Liu, Yiyang Hao, Li Zhang# (# corresponding author)

ACM Transactions on Software Engineering and Methodology (TOSEM'24), 2024 CCF-A

Syntax and Domain Aware Model for Unsupervised Program Translation

Fang Liu, Jia Li, Li Zhang# (# corresponding author)

IEEE/ACM 45th International Conference on Software Engineering (ICSE'23), 2023 CCF-A

Syntax and Domain Aware Model for Unsupervised Program Translation

Fang Liu, Jia Li, Li Zhang# (# corresponding author)

IEEE/ACM 45th International Conference on Software Engineering (ICSE'23), 2023 CCF-A

Learning to Recommend Method Names with Global Context

Fang Liu, Ge Li#, Zhiyi Fu, Shuai Lu, Yiyang Hao, Zhi Jin# (# corresponding author)

Proceedings of the 44th International Conference on Software Engineering (ICSE'22), 2022 CCF-A

Learning to Recommend Method Names with Global Context

Fang Liu, Ge Li#, Zhiyi Fu, Shuai Lu, Yiyang Hao, Zhi Jin# (# corresponding author)

Proceedings of the 44th International Conference on Software Engineering (ICSE'22), 2022 CCF-A

Multi-task Learning based Pre-trained Language Model for Code Completion

Fang Liu, Ge Li#, Yunfei Zhao, Zhi Jin# (# corresponding author)

Proceedings of the 35th IEEE/ACM international conference on automated software engineering (ASE'20), 2020 CCF-A

Multi-task Learning based Pre-trained Language Model for Code Completion

Fang Liu, Ge Li#, Yunfei Zhao, Zhi Jin# (# corresponding author)

Proceedings of the 35th IEEE/ACM international conference on automated software engineering (ASE'20), 2020 CCF-A

A Self-Attentional Neural Architecture for Code Completion with Multi-Task Learning

Fang Liu, Ge Li#, Bolin Wei, Xin Xia, Zhiyi Fu, Zhi Jin# (# corresponding author)

IEEE/ACM 28th International Conference on Program Comprehension (ICPC'20), 2020 CCF-B Distinguished Paper Award

A Self-Attentional Neural Architecture for Code Completion with Multi-Task Learning

Fang Liu, Ge Li#, Bolin Wei, Xin Xia, Zhiyi Fu, Zhi Jin# (# corresponding author)

IEEE/ACM 28th International Conference on Program Comprehension (ICPC'20), 2020 CCF-B Distinguished Paper Award

All publications