{"title":"Leveraging multi-task learning to fine-tune RoBERTa for self-admitted technical debt identification and classification","authors":"Yihang Xu, Dongjin Yu, Xin Chen, Quanxin Yang, Sixuan Wang, Wangliang Yan","doi":"10.1016/j.jss.2025.112629","DOIUrl":null,"url":null,"abstract":"<div><div>Self-Admitted Technical Debt (SATD) detection aims to identify whether a code comment explicitly admits technical debt and classify its specific type. Existing research largely treats identification and classification as separate tasks, with classification-focused approaches suffering from Out-Of-Vocabulary (OOV) issues and relatively low macro-averaged <span><math><msub><mrow><mi>F</mi></mrow><mrow><mn>1</mn></mrow></msub></math></span>-score. To address these challenges, this paper presents FRoM, a unified and efficient approach that integrates SATD identification and classification into a single pipeline. Specifically, FRoM employs a byte-level tokenizer to effectively mitigate OOV problems and leverages multi-task learning to fine-tune a pre-trained model for improved classification performance. Additionally, FRoM incorporates a novel undersampling technique to remove semantically similar non-SATD samples, reducing the time required for fine-tuning. Empirical evaluations on two datasets, comprising 38,902 and 2,528 comments respectively, demonstrate that FRoM achieves state-of-the-art performance in both identification and classification tasks. Furthermore, a case study highlights that our deployed tool, FRoMD, exhibits competitive performance compared to ChatGPT-4o. The dataset and the code are available at <span><span>https://github.com/HduDBSI/FRoM</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":51099,"journal":{"name":"Journal of Systems and Software","volume":"231 ","pages":"Article 112629"},"PeriodicalIF":4.1000,"publicationDate":"2025-09-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Systems and Software","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0164121225002985","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Self-Admitted Technical Debt (SATD) detection aims to identify whether a code comment explicitly admits technical debt and classify its specific type. Existing research largely treats identification and classification as separate tasks, with classification-focused approaches suffering from Out-Of-Vocabulary (OOV) issues and relatively low macro-averaged -score. To address these challenges, this paper presents FRoM, a unified and efficient approach that integrates SATD identification and classification into a single pipeline. Specifically, FRoM employs a byte-level tokenizer to effectively mitigate OOV problems and leverages multi-task learning to fine-tune a pre-trained model for improved classification performance. Additionally, FRoM incorporates a novel undersampling technique to remove semantically similar non-SATD samples, reducing the time required for fine-tuning. Empirical evaluations on two datasets, comprising 38,902 and 2,528 comments respectively, demonstrate that FRoM achieves state-of-the-art performance in both identification and classification tasks. Furthermore, a case study highlights that our deployed tool, FRoMD, exhibits competitive performance compared to ChatGPT-4o. The dataset and the code are available at https://github.com/HduDBSI/FRoM.
期刊介绍:
The Journal of Systems and Software publishes papers covering all aspects of software engineering and related hardware-software-systems issues. All articles should include a validation of the idea presented, e.g. through case studies, experiments, or systematic comparisons with other approaches already in practice. Topics of interest include, but are not limited to:
•Methods and tools for, and empirical studies on, software requirements, design, architecture, verification and validation, maintenance and evolution
•Agile, model-driven, service-oriented, open source and global software development
•Approaches for mobile, multiprocessing, real-time, distributed, cloud-based, dependable and virtualized systems
•Human factors and management concerns of software development
•Data management and big data issues of software systems
•Metrics and evaluation, data mining of software development resources
•Business and economic aspects of software development processes
The journal welcomes state-of-the-art surveys and reports of practical experience for all of these topics.