{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,8,21]],"date-time":"2025-08-21T16:58:06Z","timestamp":1755795486496,"version":"3.44.0"},"reference-count":50,"publisher":"World Scientific Pub Co Pte Ltd","issue":"08","funder":[{"name":"Defense Industrial Technology Development Program of China","award":["JCKY2022415C003"],"award-info":[{"award-number":["JCKY2022415C003"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Int. J. Soft. Eng. Knowl. Eng."],"published-print":{"date-parts":[[2025,8]]},"abstract":"<jats:p> Code summarization aims to automatically generate natural language descriptions for code snippets, thereby enhancing programmers\u2019 comprehension of the code and significantly improving code maintainability and development efficiency. Code reuse is a prevalent practice in software development, and information retrieval approaches, which leverage similar summaries from a corpus, have shown promising results. However, these approaches often heavily rely on the quality of the corpus, and discrepancies between retrieved and target summaries may result in inaccuracies or incomplete descriptions. In this paper, we propose RAPRSUM, a retrieval-augmented code summarization framework that integrates information retrieval and deep learning techniques. Specifically, RAPRSUM refines retrieved summary prototypes using a deep learning model to preserve essential information while eliminating redundancy. A pretrained large language model is then employed to generate the final summary by jointly considering the input code and the refined prototype. We evaluated RAPRSUM on three public datasets, demonstrating its significant improvement over existing baseline methods. Additional ablation studies confirm the effectiveness of the proposed modules. Finally, through case analysis and robustness verification, we highlight RAPRSUM\u2019s superior performance in generating high-quality code summaries. <\/jats:p>","DOI":"10.1142\/s0218194025500317","type":"journal-article","created":{"date-parts":[[2025,6,27]],"date-time":"2025-06-27T08:53:34Z","timestamp":1751014414000},"page":"1121-1147","source":"Crossref","is-referenced-by-count":0,"title":["RAPRSUM: Retrieval-Augmented Code Summarization with Advanced Prototype Refinement"],"prefix":"10.1142","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-1208-0787","authenticated-orcid":false,"given":"Yangbo","family":"Lin","sequence":"first","affiliation":[{"name":"School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, P. R. China"},{"name":"Zhejiang Key Laboratory of New Industrial Internet Control Technology, Zhejiang Province, Hangzhou 310018, P. R. China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3689-0581","authenticated-orcid":false,"given":"Xingqi","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, P. R. China"},{"name":"Zhejiang Key Laboratory of New Industrial Internet Control Technology, Zhejiang Province, Hangzhou 310018, P. R. China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-3248-7121","authenticated-orcid":false,"given":"Shanggui","family":"Zhan","sequence":"additional","affiliation":[{"name":"School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, P. R. China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7413-7275","authenticated-orcid":false,"given":"Dan","family":"Wei","sequence":"additional","affiliation":[{"name":"School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, P. R. China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7805-0337","authenticated-orcid":false,"given":"Bin","family":"Chen","sequence":"additional","affiliation":[{"name":"School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, P. R. China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"219","published-online":{"date-parts":[[2025,7,28]]},"reference":[{"key":"S0218194025500317BIB001","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2017.2734091"},{"key":"S0218194025500317BIB002","doi-asserted-by":"publisher","DOI":"10.1145\/1085313.1085331"},{"key":"S0218194025500317BIB003","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2006.116"},{"key":"S0218194025500317BIB004","doi-asserted-by":"publisher","DOI":"10.1109\/32.6171"},{"key":"S0218194025500317BIB005","first-page":"215","volume-title":"Proc. 5th Int. Conf. Software Engineering","author":"Woodfield S. N.","year":"1981"},{"key":"S0218194025500317BIB006","doi-asserted-by":"publisher","DOI":"10.1109\/VST.2018.8327148"},{"key":"S0218194025500317BIB007","doi-asserted-by":"publisher","DOI":"10.1145\/585058.585065"},{"key":"S0218194025500317BIB008","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2013.6613829"},{"key":"S0218194025500317BIB009","doi-asserted-by":"publisher","DOI":"10.1109\/WCRE.2010.13"},{"key":"S0218194025500317BIB010","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2013.6693113"},{"key":"S0218194025500317BIB011","first-page":"746","volume-title":"Proc. 35th IEEE\/ACM Int. Conf. Automated Software Engineering","author":"Gros D.","year":"2020"},{"key":"S0218194025500317BIB012","doi-asserted-by":"publisher","DOI":"10.1016\/j.knosys.2021.107858"},{"key":"S0218194025500317BIB013","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2009.5070524"},{"key":"S0218194025500317BIB014","doi-asserted-by":"publisher","DOI":"10.1145\/1858996.1859006"},{"key":"S0218194025500317BIB015","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2013.6613830"},{"key":"S0218194025500317BIB016","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2017.7884622"},{"key":"S0218194025500317BIB017","doi-asserted-by":"publisher","DOI":"10.1145\/3212695"},{"key":"S0218194025500317BIB018","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2002.1019480"},{"key":"S0218194025500317BIB019","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2012.6240510"},{"key":"S0218194025500317BIB020","doi-asserted-by":"publisher","DOI":"10.1145\/2597008.2597799"},{"key":"S0218194025500317BIB021","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2015.7081848"},{"issue":"7","key":"S0218194025500317BIB022","first-page":"1999","volume":"35","author":"Wang J.","year":"2015","journal-title":"J. Comput. Appl."},{"key":"S0218194025500317BIB024","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P16-1195"},{"key":"S0218194025500317BIB026","doi-asserted-by":"publisher","DOI":"10.1145\/3196321.3196334"},{"key":"S0218194025500317BIB027","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v32i1.11963"},{"key":"S0218194025500317BIB028","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC58990.2023.00026"},{"issue":"6","key":"S0218194025500317BIB029","first-page":"3472","volume":"49","author":"Shi C.","year":"2023","journal-title":"IEEE Trans. Software Eng."},{"key":"S0218194025500317BIB030","doi-asserted-by":"publisher","DOI":"10.1109\/ASE51524.2021.9678724"},{"key":"S0218194025500317BIB031","doi-asserted-by":"publisher","DOI":"10.1109\/SANER53432.2022.00126"},{"key":"S0218194025500317BIB032","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3238161"},{"key":"S0218194025500317BIB033","first-page":"6000","volume-title":"Proc. 31st Int. Conf. Neural Information Processing Systems","author":"Vaswani A.","year":"2017"},{"key":"S0218194025500317BIB040","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639183"},{"key":"S0218194025500317BIB041","first-page":"3043","volume-title":"Proc. 31st Int. Conf. Computational Linguistics","author":"Cao L.","year":"2025"},{"key":"S0218194025500317BIB042","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380383"},{"issue":"6","key":"S0218194025500317BIB044","first-page":"380","volume-title":"Proc. Int. Multiconf. Engineers and Computer Scientists","volume":"1","author":"Niwattanakul S.","year":"2013"},{"key":"S0218194025500317BIB045","doi-asserted-by":"publisher","DOI":"10.1109\/DSA52907.2021.00013"},{"key":"S0218194025500317BIB046","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2007.1078"},{"key":"S0218194025500317BIB047","first-page":"3283","volume-title":"Proc. 29th Int. Joint Conf. Artificial Intelligence","author":"Zhuang Y.","year":"2021"},{"key":"S0218194025500317BIB048","doi-asserted-by":"publisher","DOI":"10.24963\/ijcai.2018\/314"},{"key":"S0218194025500317BIB049","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238206"},{"key":"S0218194025500317BIB050","first-page":"314","volume-title":"Proc. 8th Int. Joint Conf. Natural Language Processing","author":"Miceli Barone A. V.","year":"2017"},{"key":"S0218194025500317BIB051","doi-asserted-by":"publisher","DOI":"10.1145\/3631975"},{"key":"S0218194025500317BIB053","first-page":"1","volume":"32","author":"Gao S.","year":"2021","journal-title":"ACM Trans. Software Eng. Methodol."},{"key":"S0218194025500317BIB054","first-page":"311","volume-title":"Proc. 40th Annual Meeting of the Association for Computational Linguistics","author":"Papineni K.","year":"2002"},{"key":"S0218194025500317BIB055","first-page":"65","volume-title":"Proc. ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and\/or Summarization","author":"Banerjee S.","year":"2005"},{"key":"S0218194025500317BIB056","first-page":"74","volume-title":"Text Summarization Branches Out","author":"Lin C.-Y.","year":"2004"},{"key":"S0218194025500317BIB057","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2015.7299087"},{"key":"S0218194025500317BIB058","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238190"},{"key":"S0218194025500317BIB059","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09730-9"},{"key":"S0218194025500317BIB060","doi-asserted-by":"publisher","DOI":"10.1145\/3468264.3468588"}],"container-title":["International Journal of Software Engineering and Knowledge Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.worldscientific.com\/doi\/pdf\/10.1142\/S0218194025500317","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,18]],"date-time":"2025-08-18T01:05:13Z","timestamp":1755479113000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.worldscientific.com\/doi\/10.1142\/S0218194025500317"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,7,28]]},"references-count":50,"journal-issue":{"issue":"08","published-print":{"date-parts":[[2025,8]]}},"alternative-id":["10.1142\/S0218194025500317"],"URL":"https:\/\/doi.org\/10.1142\/s0218194025500317","relation":{},"ISSN":["0218-1940","1793-6403"],"issn-type":[{"type":"print","value":"0218-1940"},{"type":"electronic","value":"1793-6403"}],"subject":[],"published":{"date-parts":[[2025,7,28]]}}}