{"id":"https://openalex.org/W4402457614","doi":"https://doi.org/10.1145/3650212.3680381","title":"One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair","display_name":"One Size Does Not Fit All: Multi-granularity Patch Generation for Better Automated Program Repair","publication_year":2024,"publication_date":"2024-09-11","ids":{"openalex":"https://openalex.org/W4402457614","doi":"https://doi.org/10.1145/3650212.3680381"},"language":"en","primary_location":{"id":"doi:10.1145/3650212.3680381","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3650212.3680381","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis","raw_type":"proceedings-article"},"type":"article","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/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":true,"raw_author_name":"Bo Lin","raw_affiliation_strings":["National University of Defense Technology, Changsha, China"],"affiliations":[{"raw_affiliation_string":"National University of Defense Technology, Changsha, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5081197883","display_name":"Shangwen Wang","orcid":"https://orcid.org/0000-0003-1469-2063"},"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":"Shangwen Wang","raw_affiliation_strings":["National University of Defense Technology, Changsha, China"],"affiliations":[{"raw_affiliation_string":"National University of Defense Technology, Changsha, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5003031253","display_name":"Ming Wen","orcid":"https://orcid.org/0000-0001-5588-9618"},"institutions":[{"id":"https://openalex.org/I47720641","display_name":"Huazhong University of Science and Technology","ror":"https://ror.org/00p991c53","country_code":"CN","type":"education","lineage":["https://openalex.org/I47720641"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Ming Wen","raw_affiliation_strings":["Huazhong University of Science and Technology, Wuhan, China"],"affiliations":[{"raw_affiliation_string":"Huazhong University of Science and Technology, Wuhan, China","institution_ids":["https://openalex.org/I47720641"]}]},{"author_position":"middle","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 Technology, Changsha, China"],"affiliations":[{"raw_affiliation_string":"National University of Defense Technology, Changsha, China","institution_ids":["https://openalex.org/I170215575"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5080183182","display_name":"Xiaoguang Mao","orcid":"https://orcid.org/0000-0003-4204-7424"},"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":"Xiaoguang Mao","raw_affiliation_strings":["National University of Defense Technology, Changsha, China"],"affiliations":[{"raw_affiliation_string":"National University of Defense Technology, Changsha, China","institution_ids":["https://openalex.org/I170215575"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":5,"corresponding_author_ids":["https://openalex.org/A5083554622"],"corresponding_institution_ids":["https://openalex.org/I170215575"],"apc_list":null,"apc_paid":null,"fwci":4.5187,"has_fulltext":false,"cited_by_count":9,"citation_normalized_percentile":{"value":0.95651274,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":97,"max":99},"biblio":{"volume":null,"issue":null,"first_page":"1554","last_page":"1566"},"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.9998000264167786,"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.9998000264167786,"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/T10054","display_name":"Parallel Computing and Optimization Techniques","score":0.9965000152587891,"subfield":{"id":"https://openalex.org/subfields/1708","display_name":"Hardware and Architecture"},"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/T12423","display_name":"Software Reliability and Analysis Research","score":0.9962999820709229,"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"}}],"keywords":[{"id":"https://openalex.org/keywords/granularity","display_name":"Granularity","score":0.8792592287063599},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6764483451843262},{"id":"https://openalex.org/keywords/operating-system","display_name":"Operating system","score":0.1951548159122467}],"concepts":[{"id":"https://openalex.org/C177774035","wikidata":"https://www.wikidata.org/wiki/Q1246948","display_name":"Granularity","level":2,"score":0.8792592287063599},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6764483451843262},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.1951548159122467}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3650212.3680381","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3650212.3680381","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis","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":60,"referenced_works":["https://openalex.org/W2060333670","https://openalex.org/W2063387237","https://openalex.org/W2065489029","https://openalex.org/W2098549348","https://openalex.org/W2122947685","https://openalex.org/W2145373440","https://openalex.org/W2153418968","https://openalex.org/W2156723666","https://openalex.org/W2344180913","https://openalex.org/W2344973853","https://openalex.org/W2373227884","https://openalex.org/W2400994325","https://openalex.org/W2604348044","https://openalex.org/W2736762043","https://openalex.org/W2740646481","https://openalex.org/W2784445699","https://openalex.org/W2795030435","https://openalex.org/W2795866244","https://openalex.org/W2851896161","https://openalex.org/W2867448323","https://openalex.org/W2895570420","https://openalex.org/W2907705732","https://openalex.org/W2911282308","https://openalex.org/W2924629359","https://openalex.org/W2967591898","https://openalex.org/W2972082064","https://openalex.org/W2981852735","https://openalex.org/W2998011150","https://openalex.org/W3011411500","https://openalex.org/W3043761819","https://openalex.org/W3089621332","https://openalex.org/W3091588759","https://openalex.org/W3094130708","https://openalex.org/W3098605233","https://openalex.org/W3100698844","https://openalex.org/W3103170042","https://openalex.org/W3103458892","https://openalex.org/W3121734253","https://openalex.org/W3125046082","https://openalex.org/W3134686229","https://openalex.org/W3156480510","https://openalex.org/W3161027892","https://openalex.org/W3183469243","https://openalex.org/W3193682477","https://openalex.org/W3198685994","https://openalex.org/W3208407575","https://openalex.org/W4244452926","https://openalex.org/W4281479826","https://openalex.org/W4284670965","https://openalex.org/W4284705844","https://openalex.org/W4288089799","https://openalex.org/W4288614128","https://openalex.org/W4308641648","https://openalex.org/W4308643152","https://openalex.org/W4308643319","https://openalex.org/W4308731473","https://openalex.org/W4313563660","https://openalex.org/W4386436496","https://openalex.org/W4386566638","https://openalex.org/W4389162178"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2748952813","https://openalex.org/W2931688134","https://openalex.org/W2377919138","https://openalex.org/W2378857091","https://openalex.org/W2999756192","https://openalex.org/W103652678","https://openalex.org/W4226090359","https://openalex.org/W2059697060","https://openalex.org/W936373746"],"abstract_inverted_index":{"Automated":[0],"program":[1,47,239,271],"repair":[2,48,83,178,227,240,272],"aims":[3],"to":[4,102,119,139,165,246],"automate":[5],"bug":[6,267],"correction":[7],"and":[8,23,133,188,199,265],"alleviate":[9],"the":[10,65,121,171,194,205,218,232,248],"burden":[11],"of":[12,124,207,220,234,251],"manual":[13],"debugging,":[14],"which":[15,183],"plays":[16],"a":[17,51,55,96,113,158,163,213,243],"crucial":[18],"role":[19],"in":[20,209,217,238,262],"software":[21,253],"development":[22],"maintenance.":[24],"Recent":[25],"studies":[26],"reveal":[27],"that":[28,175],"learning-based":[29,40],"approaches":[30],"have":[31],"outperformed":[32],"conventional":[33],"APR":[34,41],"techniques":[35,42,241],"(e.g.,":[36],"search-based":[37],"APR).":[38],"Existing":[39],"mainly":[43],"center":[44],"on":[45,68,162,170,181],"treating":[46],"either":[49],"as":[50,71,256],"translation":[52],"task":[53],"or":[54,88],"cloze":[56],"task.":[57],"The":[58,147],"former":[59],"primarily":[60],"emphasizes":[61],"statement-level":[62],"repair,":[63,70],"while":[64],"latter":[66],"concentrates":[67],"token-level":[69,134],"per":[72],"our":[73],"observations.":[74],"In":[75],"practice,":[76],"however,":[77],"patches":[78,94,142,152,222],"may":[79],"manifest":[80],"at":[81,143],"various":[82,154,270],"granularity,":[84],"including":[85],"statement,":[86],"expression,":[87],"token":[89],"levels.":[90],"Consequently,":[91],"merely":[92],"generating":[93,150],"from":[95,153],"single":[97],"granularity":[98],"would":[99],"be":[100],"ineffective":[101],"tackle":[103],"real-world":[104,125,252],"defects.":[105,254],"Motivated":[106],"by":[107,157],"this":[108],"observation,":[109],"we":[110],"propose":[111],"Mulpor,":[112,255],"multi-granularity":[114],"patch":[115],"generation":[116],"approach":[117,148],"designed":[118],"address":[120,247],"diverse":[122,249,266],"nature":[123,250],"bugs.":[126],"Mulpor":[127,176,208],"comprises":[128],"three":[129],"components:":[130],"statement-level,":[131],"expression-level,":[132],"generator,":[135],"each":[136],"is":[137],"pre-trained":[138],"generate":[140],"correct":[141],"its":[144],"respective":[145],"granularity.":[146],"involves":[149],"candidate":[151],"granularities,":[155],"followed":[156],"re-ranking":[159],"process":[160],"based":[161],"heuristic":[164],"prioritize":[166],"patches.":[167],"Experimental":[168],"results":[169,261],"Defects4J":[172],"dataset":[173],"demonstrate":[174],"correctly":[177],"92":[179],"bugs":[180],"Defects4J-v1.2,":[182],"achieves":[184],"27.0%":[185],"(20":[186],"bugs)":[187,191],"12.2%":[189],"(10":[190],"improvement":[192],"over":[193],"previous":[195],"state-of-the-art":[196,225],"NMT-style":[197],"Rap-Gen":[198],"Cloze-style":[200],"GAMMA.":[201],"We":[202],"also":[203],"studied":[204],"generalizability":[206],"repairing":[210],"vulnerabilities,":[211],"revealing":[212],"notable":[214],"51%":[215],"increase":[216],"number":[219],"correctly-fixed":[221],"compared":[223],"with":[224],"vulnerability":[226],"approaches.":[228],"This":[229],"paper":[230],"underscores":[231],"importance":[233],"considering":[235],"multiple":[236],"granularities":[237],"for":[242],"comprehensive":[244],"strategy":[245],"proposed":[257],"herein,":[258],"exhibits":[259],"promising":[260],"achieving":[263],"effective":[264],"fixes":[268],"across":[269],"scenarios.":[273]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":4},{"year":2024,"cited_by_count":4}],"updated_date":"2026-03-13T16:22:10.518609","created_date":"2025-10-10T00:00:00"}
