{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,1]],"date-time":"2026-07-01T04:20:52Z","timestamp":1782879652745,"version":"3.54.5"},"publisher-location":"New York, NY, USA","reference-count":35,"publisher":"ACM","license":[{"start":{"date-parts":[[2024,7,24]],"date-time":"2024-07-24T00:00:00Z","timestamp":1721779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2024,7,24]]},"DOI":"10.1145\/3671016.3672506","type":"proceedings-article","created":{"date-parts":[[2024,7,17]],"date-time":"2024-07-17T20:19:32Z","timestamp":1721247572000},"page":"105-114","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["T-RAP: A Template-guided Retrieval-Augmented Vulnerability Patch Generation Approach"],"prefix":"10.1145","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1460-1467","authenticated-orcid":false,"given":"Pei","family":"Liu","sequence":"first","affiliation":[{"name":"National University of Defense and Technology, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5905-4677","authenticated-orcid":false,"given":"Bo","family":"Lin","sequence":"additional","affiliation":[{"name":"National University of Defense and Technology, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-3440-9520","authenticated-orcid":false,"given":"Yihao","family":"Qin","sequence":"additional","affiliation":[{"name":"National University of Defense and Technology, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-1886-7109","authenticated-orcid":false,"given":"Cheng","family":"Weng","sequence":"additional","affiliation":[{"name":"National University of Defense and Technology, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8084-8009","authenticated-orcid":false,"given":"Liqian","family":"Chen","sequence":"additional","affiliation":[{"name":"National University of Defense and Technology, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,7,24]]},"reference":[{"key":"e_1_3_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3324884.3416566"},{"key":"e_1_3_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3475960.3475985"},{"key":"e_1_3_2_1_3_1","volume-title":"APR4Vul: an empirical study of automatic program repair techniques on real-world Java vulnerabilities. Empirical software engineering 29, 1","author":"Bui Quang-Cuong","year":"2024","unstructured":"Quang-Cuong Bui, Ranindya Paramitha, Duc-Ly Vu, Fabio Massacci, and Riccardo Scandariato. 2024. APR4Vul: an empirical study of automatic program repair techniques on real-world Java vulnerabilities. Empirical software engineering 29, 1 (2024), 18."},{"key":"e_1_3_2_1_4_1","volume-title":"Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)","author":"Cai Deng","unstructured":"Deng Cai, Yan Wang, Huayang Li, Wai Lam, and Lemao Liu. 2021. Neural Machine Translation with Monolingual Translation Memory. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli (Eds.). Association for Computational Linguistics, Online, 7307\u20137318."},{"key":"e_1_3_2_1_5_1","volume-title":"Source Code(ESEC\/FSE","author":"Chakraborty Saikat","year":"2022","unstructured":"Saikat Chakraborty, Toufique Ahmed, Yangruibo Ding, Premkumar\u00a0T. Devanbu, and Baishakhi Ray. 2022. NatGen: Generative Pre-Training by \u201cnaturalizing\u201d Source Code(ESEC\/FSE 2022). Association for Computing Machinery, New York, NY, USA, 18\u201330."},{"key":"e_1_3_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2022.3147265"},{"key":"e_1_3_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2022.3156637"},{"key":"e_1_3_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE48619.2023.00022"},{"key":"e_1_3_2_1_9_1","unstructured":"CWE. 2024. Common Weakness Enumeration. Website. https:\/\/cwe.mitre.org."},{"key":"e_1_3_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2642937.2642982"},{"key":"e_1_3_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/3379597.3387501"},{"key":"e_1_3_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549098"},{"key":"e_1_3_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2017.2755013"},{"key":"e_1_3_2_1_14_1","volume-title":"Search engine guided neural machine translation(AAAI\u201918\/IAAI\u201918\/EAAI\u201918)","author":"Gu Jiatao","unstructured":"Jiatao Gu, Yong Wang, Kyunghyun Cho, and Victor\u00a0O.K. Li. 2018. Search engine guided neural machine translation(AAAI\u201918\/IAAI\u201918\/EAAI\u201918). AAAI Press, Article 629, 8\u00a0pages."},{"key":"e_1_3_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/3327546.3327670"},{"key":"e_1_3_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2019.00071"},{"key":"e_1_3_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09780-z"},{"key":"e_1_3_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549081"},{"key":"e_1_3_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616339"},{"key":"e_1_3_2_1_20_1","volume-title":"Predictive Comment Updating with Heuristics and AST-Path-Based Neural Learning: A Two-Phase Approach","author":"Lin Bo","year":"2022","unstructured":"Bo Lin, Shangwen Wang, Zhongxin Liu, Xin Xia, and Xiaoguang Mao. 2022. Predictive Comment Updating with Heuristics and AST-Path-Based Neural Learning: A Two-Phase Approach. IEEE Transactions on Software Engineering (06 2022)."},{"key":"e_1_3_2_1_21_1","volume-title":"Context-Aware Code Change Embedding for Better Patch Correctness Assessment. ACM Transactions on Software Engineering and Methodology (12","author":"Lin Bo","year":"2021","unstructured":"Bo Lin, Shangwen Wang, Ming Wen, and Xiaoguang Mao. 2021. Context-Aware Code Change Embedding for Better Patch Correctness Assessment. ACM Transactions on Software Engineering and Methodology (12 2021), 1."},{"key":"e_1_3_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330577"},{"key":"e_1_3_2_1_23_1","volume-title":"Vurle: Automatic vulnerability detection and repair by learning from examples. In Computer Security\u2013ESORICS 2017: 22nd European Symposium on Research in Computer Security","author":"Ma Siqi","year":"2017","unstructured":"Siqi Ma, Ferdian Thung, David Lo, Cong Sun, and Robert\u00a0H Deng. 2017. Vurle: Automatic vulnerability detection and repair by learning from examples. In Computer Security\u2013ESORICS 2017: 22nd European Symposium on Research in Computer Security, Oslo, Norway, September 11-15, 2017, Proceedings, Part II 22. Springer, 229\u2013246."},{"key":"e_1_3_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3340455"},{"key":"e_1_3_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2019.2946148"},{"key":"e_1_3_2_1_26_1","unstructured":"S.\u00a0M Towhidul\u00a0Islam Tonmoy S\u00a0M\u00a0Mehedi Zaman Vinija Jain Anku Rani Vipula Rawte Aman Chadha and Amitava Das. 2024. A Comprehensive Survey of Hallucination Mitigation Techniques in Large Language Models."},{"key":"e_1_3_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3340544"},{"key":"e_1_3_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Shangwen Wang Mingyang Geng Bo Lin Zhensu Sun Ming Wen Yepang Liu Li Li Tegawend\u00e9 Bissyand\u00e9 and Xiaoguang Mao. 2023. Natural Language to Code: How Far Are We?","DOI":"10.1145\/3611643.3616323"},{"key":"e_1_3_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3403042"},{"key":"e_1_3_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3622815"},{"key":"e_1_3_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616256"},{"key":"e_1_3_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"e_1_3_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00063"},{"key":"e_1_3_2_1_34_1","volume-title":"The probabilistic relevance framework: BM25 and beyond(Article). Foundations and Trends in Information Retrieval","author":"Hugo Zaragoza Stephen","year":"2009","unstructured":"Stephen E.\u00a0Robertson;Hugo Zaragoza. 2009. The probabilistic relevance framework: BM25 and beyond(Article). Foundations and Trends in Information Retrieval (2009), 333\u2013389. Issue No.4."},{"key":"e_1_3_2_1_35_1","volume-title":"International Conference on Software Engineering.","author":"Zhou Xin","year":"2024","unstructured":"Xin Zhou, Kisub Kim, Bowen Xu, Donggyun Han, and David Lo. 2024. Out of Sight, Out of Mind: Better Automatic Vulnerability Repair by Broadening Input Ranges and Sources. In International Conference on Software Engineering."}],"event":{"name":"Internetware 2024: 15th Asia-Pacific Symposium on Internetware","location":"Macau China","acronym":"Internetware 2024","sponsor":["SIGSOFT ACM Special Interest Group on Software Engineering"]},"container-title":["Proceedings of the 15th Asia-Pacific Symposium on Internetware"],"original-title":[],"link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3671016.3672506","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3671016.3672506","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,23]],"date-time":"2025-08-23T00:37:29Z","timestamp":1755909449000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3671016.3672506"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7,24]]},"references-count":35,"alternative-id":["10.1145\/3671016.3672506","10.1145\/3671016"],"URL":"https:\/\/doi.org\/10.1145\/3671016.3672506","relation":{},"subject":[],"published":{"date-parts":[[2024,7,24]]},"assertion":[{"value":"2024-07-24","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}