{"id":"https://openalex.org/W4400798792","doi":"https://doi.org/10.1145/3671016.3672506","title":"T-RAP: A Template-guided Retrieval-Augmented Vulnerability Patch Generation Approach","display_name":"T-RAP: A Template-guided Retrieval-Augmented Vulnerability Patch Generation Approach","publication_year":2024,"publication_date":"2024-07-17","ids":{"openalex":"https://openalex.org/W4400798792","doi":"https://doi.org/10.1145/3671016.3672506"},"language":"en","primary_location":{"id":"doi:10.1145/3671016.3672506","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3671016.3672506","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 15th Asia-Pacific Symposium on Internetware","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5017731871","display_name":"Pei Liu","orcid":"https://orcid.org/0000-0003-1460-1467"},"institutions":[{"id":"https://openalex.org/I170215575","display_name":"National University of Defense Technology","ror":"https://ror.org/05d2yfz11","country_code":"CN","type":"education","lineage":["https://openalex.org/I170215575"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Pei Liu","raw_affiliation_strings":["National University of Defense and Technology, China"],"raw_orcid":"https://orcid.org/0000-0003-1460-1467","affiliations":[{"raw_affiliation_string":"National University of Defense and Technology, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5083554622","display_name":"Bo Lin","orcid":"https://orcid.org/0000-0001-5905-4677"},"institutions":[{"id":"https://openalex.org/I170215575","display_name":"National University of Defense Technology","ror":"https://ror.org/05d2yfz11","country_code":"CN","type":"education","lineage":["https://openalex.org/I170215575"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Bo Lin","raw_affiliation_strings":["National University of Defense and Technology, China"],"raw_orcid":"https://orcid.org/0000-0001-5905-4677","affiliations":[{"raw_affiliation_string":"National University of Defense and Technology, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5108957348","display_name":"Yihao Qin","orcid":"https://orcid.org/0009-0001-3440-9520"},"institutions":[{"id":"https://openalex.org/I170215575","display_name":"National University of Defense Technology","ror":"https://ror.org/05d2yfz11","country_code":"CN","type":"education","lineage":["https://openalex.org/I170215575"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yihao Qin","raw_affiliation_strings":["National University of Defense and Technology, China"],"raw_orcid":"https://orcid.org/0009-0001-3440-9520","affiliations":[{"raw_affiliation_string":"National University of Defense and Technology, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5104682230","display_name":"Cheng Weng","orcid":null},"institutions":[{"id":"https://openalex.org/I170215575","display_name":"National University of Defense Technology","ror":"https://ror.org/05d2yfz11","country_code":"CN","type":"education","lineage":["https://openalex.org/I170215575"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Cheng Weng","raw_affiliation_strings":["National University of Defense and Technology, China"],"raw_orcid":"https://orcid.org/0009-0005-1886-7109","affiliations":[{"raw_affiliation_string":"National University of Defense and Technology, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5075676848","display_name":"Liqian Chen","orcid":"https://orcid.org/0000-0001-8084-8009"},"institutions":[{"id":"https://openalex.org/I170215575","display_name":"National University of Defense Technology","ror":"https://ror.org/05d2yfz11","country_code":"CN","type":"education","lineage":["https://openalex.org/I170215575"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Liqian Chen","raw_affiliation_strings":["National University of Defense and Technology, China"],"raw_orcid":"https://orcid.org/0000-0001-8084-8009","affiliations":[{"raw_affiliation_string":"National University of Defense and Technology, China","institution_ids":["https://openalex.org/I170215575"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I170215575"],"apc_list":null,"apc_paid":null,"fwci":1.1263,"has_fulltext":false,"cited_by_count":4,"citation_normalized_percentile":{"value":0.79001468,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":95,"max":98},"biblio":{"volume":null,"issue":null,"first_page":"105","last_page":"114"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9994999766349792,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9994999766349792,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T12479","display_name":"Web Application Security Vulnerabilities","score":0.9983000159263611,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11241","display_name":"Advanced Malware Detection Techniques","score":0.9975000023841858,"subfield":{"id":"https://openalex.org/subfields/1711","display_name":"Signal Processing"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7074208855628967},{"id":"https://openalex.org/keywords/vulnerability","display_name":"Vulnerability (computing)","score":0.5240887999534607},{"id":"https://openalex.org/keywords/computer-security","display_name":"Computer security","score":0.09699556231498718}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7074208855628967},{"id":"https://openalex.org/C95713431","wikidata":"https://www.wikidata.org/wiki/Q631425","display_name":"Vulnerability (computing)","level":2,"score":0.5240887999534607},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.09699556231498718}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3671016.3672506","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3671016.3672506","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 15th Asia-Pacific Symposium on Internetware","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":27,"referenced_works":["https://openalex.org/W2065489029","https://openalex.org/W2895570420","https://openalex.org/W2924629359","https://openalex.org/W2954183584","https://openalex.org/W2967096374","https://openalex.org/W2972082064","https://openalex.org/W2974889942","https://openalex.org/W2980012492","https://openalex.org/W2993781365","https://openalex.org/W3091588759","https://openalex.org/W3094130708","https://openalex.org/W3100698844","https://openalex.org/W3125046082","https://openalex.org/W3156480510","https://openalex.org/W3183469243","https://openalex.org/W3198685994","https://openalex.org/W3208407575","https://openalex.org/W4238846128","https://openalex.org/W4293211675","https://openalex.org/W4308641648","https://openalex.org/W4308643152","https://openalex.org/W4384345694","https://openalex.org/W4387674316","https://openalex.org/W4389162095","https://openalex.org/W4389162178","https://openalex.org/W4389162224","https://openalex.org/W4398151485"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W2358668433","https://openalex.org/W4396701345","https://openalex.org/W2376932109","https://openalex.org/W2001405890","https://openalex.org/W4396696052","https://openalex.org/W2382290278","https://openalex.org/W4395014643"],"abstract_inverted_index":{"Vulnerabilities":[0],"exert":[1],"great":[2],"burden":[3,24],"on":[4,190],"developers":[5],"in":[6,36,199],"terms":[7],"of":[8,25,47,103,166,176],"debugging":[9],"and":[10,131,154],"maintenance.":[11],"Automated":[12],"Vulnerability":[13],"Repair(AVR)":[14],"is":[15,50,188],"considered":[16],"as":[17],"a":[18,66,114],"promising":[19],"approach":[20,84,205],"to":[21,42,52,57,88],"alleviate":[22],"the":[23,43,95,101,120,134,144,174,195,200],"developers.":[26],"Template-based":[27],"automated":[28],"program":[29],"repair":[30,55,86,92,163],"techniques":[31,77],"have":[32],"shown":[33],"their":[34],"effectiveness":[35,175],"fixing":[37],"general":[38],"bugs.":[39],"However,":[40],"due":[41],"diverse":[44],"root":[45],"causes":[46],"vulnerabilities,":[48],"it":[49],"challenging":[51],"construct":[53],"sufficient":[54],"templates":[56,87,130],"cover":[58],"various":[59],"vulnerabilities.":[60],"In":[61],"this":[62],"paper,":[63],"we":[64,111,172],"introduce":[65],"Template-guided":[67],"Retrieval-Augmented":[68],"Patch":[69],"generation":[70,204],"approach,":[71],"named":[72],"T-RAP.":[73],"Inspired":[74],"by":[75],"retrieval-augmented":[76,121,202],"that":[78,140,183],"effectively":[79],"utilize":[80],"historical":[81],"data,":[82],"our":[83,177,184,191],"leverages":[85],"extract":[89,108],"similar":[90,109],"vulnerability":[91,105,122],"patches":[93,98],"from":[94],"codebase.":[96],"These":[97],"then":[99],"guide":[100],"process":[102],"generating":[104],"patches.":[106],"To":[107],"patches,":[110],"also":[112,161],"propose":[113],"matching":[115,192],"algorithm":[116,197],"specifically":[117],"designed":[118],"for":[119],"repair.":[123],"This":[124],"involves":[125],"identifying":[126],"similarities":[127],"between":[128],"numerous":[129],"vulnerabilities":[132,151,168],"during":[133],"template-guided":[135,185],"stage.":[136],"Experimental":[137],"results":[138,181],"demonstrate":[139],"T-RAP":[141],"outperforms":[142,194],"all":[143],"studied":[145],"AVR":[146],"approaches,":[147],"repairing":[148],"56.8%":[149],"more":[150,156,164],"than":[152,157,169],"VulRepair":[153],"30.24%":[155],"VulMaster.":[158,170],"It":[159],"can":[160],"accurately":[162],"types":[165],"real-world":[167],"Additionally,":[171],"evaluated":[173],"patch":[178,203],"retriever.":[179],"The":[180],"indicate":[182],"retriever,":[186],"which":[187],"based":[189],"algorithm,":[193],"retrieval":[196],"proposed":[198],"recent":[201],"RAP-Gen.":[206]},"counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2025,"cited_by_count":2}],"updated_date":"2026-07-29T14:22:42.915294","created_date":"2025-10-10T00:00:00"}
