Bibliographic Details
| Title: |
PSCSelector: Appropriate Program Slicing Criteria Selection Based on Parameter‐Efficient Lightweight LLM. |
| Authors: |
Chang, Jianming1 (AUTHOR), Wang, Lulu1 (AUTHOR) wanglulu@seu.edu.cn, Zhang, Zaixing1 (AUTHOR), Han, Mei1 (AUTHOR), Ren, Jiahao1 (AUTHOR), Li, Bixin1 (AUTHOR) |
| Source: |
Journal of Software: Evolution & Process. Mar2026, Vol. 38 Issue 3, p1-15. 15p. |
| Subjects: |
Software engineering, Defect tracking (Computer software development), Language models, Modeling languages (Computer science), Deep learning |
| Abstract: |
Program slicing is widely used in downstream software engineering tasks, such as bug localization and code feature extraction in deep learning. For program slicing, existing research focuses on dependency analysis during slicing while lacking the selection of slicing criteria before slicing. As the starting point of dependency analysis, the slicing criterion directly determines the results of the program slicing application. However, existing criterion selection is only based on empirical judgment and lacks an effective slicing criterion selection method. In this paper, we propose PSCSelector, an appropriate Program Slicing Criterion Selection framework based on a popular lightweight LLM CodeBERT. PSCSelector first constructs the detailed substatement level system dependency graph to obtain the context of the slicing criterion. CodeBERT is then fine‐tuned in a parameter‐efficient way to jointly embed the slicing criterion context and the application texts to capture the appropriate criterion pattern. To validate the effectiveness of PSCSelector in downstream tasks, we choose bug localization as the example application and build the corresponding PSCSelector. In the experiment, we evaluate the effectiveness of PSCSelector in bug dataset Defects4J by calculating the number of searched bugs and the size of the search scope. The experimental results show that the PSCSelector‐selected slicing criterion can effectively search 74% of bugs and reduce 69% of the original slice, which uses the bug‐triggering statement as the slicing criterion. [ABSTRACT FROM AUTHOR] |
|
Copyright of Journal of Software: Evolution & Process is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |