|
Persistent Identifier
|
perma:LIST.8HHF4I |
|
Publication Date
|
2026-07-06 |
|
Title
| CodeS+: Towards Assessing the Generalization Ability of Code Models Under Distribution Shift [* Cross-Reference *] |
|
Other Identifier
| https://doi.org/10.1109/TSE.2026.3668096
SCOPUS_ID:105032759646 |
|
Author
| Shi, Ziyue (Tianjin University)
Wang, Junjie (Tianjin University)
Guo, Yuejun (Luxembourg Institute of Science and Technology)Luxembourg Institute of Science and TechnologyORCID0000-0002-5535-2420
Xie, Xiaofei (Singapore Management University)Singapore Management UniversityORCID0000-0002-1288-6502
Hu, Qiang (Tianjin University)Tianjin UniversityORCID0000-0002-8251-1669
Cordy, Maxime (University of Luxembourg)University of LuxembourgORCID0000-0001-8312-1358
Chen, Sen (Nankai University)Nankai UniversityORCID0000-0001-9477-4100
Papadakis, Mike (University of Luxembourg)University of LuxembourgORCID0000-0003-1852-2547
Le Traon, Yves (University of Luxembourg)University of LuxembourgORCID0000-0002-1045-4861
Lyu, Yongqiang (Tianjin University, Tsinghua University)Tianjin University, Tsinghua UniversityORCID0000-0003-2573-963X |
|
Point of Contact
|
Use email button above to contact.
LIST RDS (LIST) |
|
Description
| Distribution shift poses a significant challenge for deep learning (DL) models in source code analysis, where test data often follows different distributions from training data, leading to unexpected performance degradation and hindering the practical usage of code models. While our previous work CodeS introduced the first benchmark for studying distribution shift in source code analysis, it has limitations in covering more fine-grained types of real-world distribution shifts and lacks the study of the effectiveness of shift mitigation strategies. In this paper, we present CodeS++, an enhanced benchmark that addresses these limitations through two key contributions, (1) expanded shift types, we design more fine-grained distribution shift types, that is, shift introduced by different program element complexity (e.g., different node number of control flow graphs), and (2) investigate the usefulness of fine-tuning based shift mitigation techniques, such as Core-Set. Comprehensive experiments on different pre-trained code models demonstrated that code models significantly suffer from distribution shift, out-of-distribution detectors from other domains (e.g., computer vision) do not generalize to source code, and existing fine-tuning based shift mitigation techniques have limited benefits in enhancing the generalization ability of code models. Our findings highlight the need to pay more attention to OOD issues for code models. (2026-04-01)
***This entry has been automatically imported via Infodoc(ASO) CSV by LIST harvest scripts. Please refer to https://doi.org/10.1109/TSE.2026.3668096 for the original and latest version of the dataset and data downloads*** (2026-06-04) |
|
Subject
| Computer and Information Science |
|
Keyword
| distribution shift
model generalization
out-of-distribution detection
Source code learning |
|
Funding Information
| National Natural Science Foundation of China: U24A6009 |
|
Deposit Date
| 2026-04-01 |
|
Data Type
| Article |
|
Data Source
| IEEE Transactions on Software Engineering; ISSN: 00985589, eISSN: 19393520, vol. 52, n° 4, pp. 1515-1530, 2026 |