{"id":"https://openalex.org/W4411523098","doi":"https://doi.org/10.1145/3728938","title":"Causality-Aided Evaluation and Explanation of Large Language Model-Based Code Generation","display_name":"Causality-Aided Evaluation and Explanation of Large Language Model-Based Code Generation","publication_year":2025,"publication_date":"2025-06-22","ids":{"openalex":"https://openalex.org/W4411523098","doi":"https://doi.org/10.1145/3728938"},"language":"en","primary_location":{"id":"doi:10.1145/3728938","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3728938","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://doi.org/10.1145/3728938","any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5072001009","display_name":"Zhenlan Ji","orcid":"https://orcid.org/0000-0003-3167-0480"},"institutions":[{"id":"https://openalex.org/I200769079","display_name":"Hong Kong University of Science and Technology","ror":"https://ror.org/00q4vv597","country_code":"HK","type":"education","lineage":["https://openalex.org/I200769079"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Zhenlan Ji","raw_affiliation_strings":["Hong Kong University of Science and Technology, Hong Kong, China"],"raw_orcid":"https://orcid.org/0000-0003-3167-0480","affiliations":[{"raw_affiliation_string":"Hong Kong University of Science and Technology, Hong Kong, China","institution_ids":["https://openalex.org/I200769079"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101728918","display_name":"Pingchuan Ma","orcid":"https://orcid.org/0000-0001-7680-2817"},"institutions":[{"id":"https://openalex.org/I200769079","display_name":"Hong Kong University of Science and Technology","ror":"https://ror.org/00q4vv597","country_code":"HK","type":"education","lineage":["https://openalex.org/I200769079"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Pingchuan Ma","raw_affiliation_strings":["Hong Kong University of Science and Technology, Hong Kong, China"],"raw_orcid":"https://orcid.org/0000-0001-7680-2817","affiliations":[{"raw_affiliation_string":"Hong Kong University of Science and Technology, Hong Kong, China","institution_ids":["https://openalex.org/I200769079"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101884078","display_name":"Zongjie Li","orcid":"https://orcid.org/0000-0002-9897-4086"},"institutions":[{"id":"https://openalex.org/I200769079","display_name":"Hong Kong University of Science and Technology","ror":"https://ror.org/00q4vv597","country_code":"HK","type":"education","lineage":["https://openalex.org/I200769079"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Zongjie Li","raw_affiliation_strings":["Hong Kong University of Science and Technology, Hong Kong, China"],"raw_orcid":"https://orcid.org/0000-0002-9897-4086","affiliations":[{"raw_affiliation_string":"Hong Kong University of Science and Technology, Hong Kong, China","institution_ids":["https://openalex.org/I200769079"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5044493129","display_name":"Zhaoyu Wang","orcid":"https://orcid.org/0009-0009-6892-1264"},"institutions":[{"id":"https://openalex.org/I200769079","display_name":"Hong Kong University of Science and Technology","ror":"https://ror.org/00q4vv597","country_code":"HK","type":"education","lineage":["https://openalex.org/I200769079"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Zhaoyu Wang","raw_affiliation_strings":["Hong Kong University of Science and Technology, Hong Kong, China"],"raw_orcid":"https://orcid.org/0009-0009-6892-1264","affiliations":[{"raw_affiliation_string":"Hong Kong University of Science and Technology, Hong Kong, China","institution_ids":["https://openalex.org/I200769079"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5100328264","display_name":"Shuai Wang","orcid":"https://orcid.org/0000-0002-0866-0308"},"institutions":[{"id":"https://openalex.org/I200769079","display_name":"Hong Kong University of Science and Technology","ror":"https://ror.org/00q4vv597","country_code":"HK","type":"education","lineage":["https://openalex.org/I200769079"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Shuai Wang","raw_affiliation_strings":["Hong Kong University of Science and Technology, Hong Kong, China"],"raw_orcid":"https://orcid.org/0000-0002-0866-0308","affiliations":[{"raw_affiliation_string":"Hong Kong University of Science and Technology, Hong Kong, China","institution_ids":["https://openalex.org/I200769079"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I200769079"],"apc_list":null,"apc_paid":null,"fwci":2.0267,"has_fulltext":false,"cited_by_count":1,"citation_normalized_percentile":{"value":0.87419866,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":94,"max":97},"biblio":{"volume":"2","issue":"ISSTA","first_page":"1374","last_page":"1397"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998000264167786,"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"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998000264167786,"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/T10028","display_name":"Topic Modeling","score":0.9994000196456909,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/T10181","display_name":"Natural Language Processing Techniques","score":0.998199999332428,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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.7176758646965027},{"id":"https://openalex.org/keywords/causality","display_name":"Causality (physics)","score":0.6551194787025452},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.5841205716133118},{"id":"https://openalex.org/keywords/causal-model","display_name":"Causal model","score":0.5416415929794312},{"id":"https://openalex.org/keywords/code-generation","display_name":"Code generation","score":0.5033783316612244},{"id":"https://openalex.org/keywords/natural-language-generation","display_name":"Natural language generation","score":0.43840572237968445},{"id":"https://openalex.org/keywords/representation","display_name":"Representation (politics)","score":0.42918357253074646},{"id":"https://openalex.org/keywords/transparency","display_name":"Transparency (behavior)","score":0.4245930314064026},{"id":"https://openalex.org/keywords/data-science","display_name":"Data science","score":0.3907761871814728},{"id":"https://openalex.org/keywords/natural-language","display_name":"Natural language","score":0.3647077679634094},{"id":"https://openalex.org/keywords/key","display_name":"Key (lock)","score":0.3477209806442261},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.3220735788345337},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.3204197883605957},{"id":"https://openalex.org/keywords/computer-security","display_name":"Computer security","score":0.1429067850112915}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7176758646965027},{"id":"https://openalex.org/C64357122","wikidata":"https://www.wikidata.org/wiki/Q1149766","display_name":"Causality (physics)","level":2,"score":0.6551194787025452},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.5841205716133118},{"id":"https://openalex.org/C11671645","wikidata":"https://www.wikidata.org/wiki/Q5054567","display_name":"Causal model","level":2,"score":0.5416415929794312},{"id":"https://openalex.org/C133162039","wikidata":"https://www.wikidata.org/wiki/Q1061077","display_name":"Code generation","level":3,"score":0.5033783316612244},{"id":"https://openalex.org/C2776187449","wikidata":"https://www.wikidata.org/wiki/Q1513879","display_name":"Natural language generation","level":3,"score":0.43840572237968445},{"id":"https://openalex.org/C2776359362","wikidata":"https://www.wikidata.org/wiki/Q2145286","display_name":"Representation (politics)","level":3,"score":0.42918357253074646},{"id":"https://openalex.org/C2780233690","wikidata":"https://www.wikidata.org/wiki/Q535347","display_name":"Transparency (behavior)","level":2,"score":0.4245930314064026},{"id":"https://openalex.org/C2522767166","wikidata":"https://www.wikidata.org/wiki/Q2374463","display_name":"Data science","level":1,"score":0.3907761871814728},{"id":"https://openalex.org/C195324797","wikidata":"https://www.wikidata.org/wiki/Q33742","display_name":"Natural language","level":2,"score":0.3647077679634094},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.3477209806442261},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.3220735788345337},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.3204197883605957},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.1429067850112915},{"id":"https://openalex.org/C71924100","wikidata":"https://www.wikidata.org/wiki/Q11190","display_name":"Medicine","level":0,"score":0.0},{"id":"https://openalex.org/C121332964","wikidata":"https://www.wikidata.org/wiki/Q413","display_name":"Physics","level":0,"score":0.0},{"id":"https://openalex.org/C199539241","wikidata":"https://www.wikidata.org/wiki/Q7748","display_name":"Law","level":1,"score":0.0},{"id":"https://openalex.org/C62520636","wikidata":"https://www.wikidata.org/wiki/Q944","display_name":"Quantum mechanics","level":1,"score":0.0},{"id":"https://openalex.org/C142724271","wikidata":"https://www.wikidata.org/wiki/Q7208","display_name":"Pathology","level":1,"score":0.0},{"id":"https://openalex.org/C94625758","wikidata":"https://www.wikidata.org/wiki/Q7163","display_name":"Politics","level":2,"score":0.0},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0},{"id":"https://openalex.org/C17744445","wikidata":"https://www.wikidata.org/wiki/Q36442","display_name":"Political science","level":0,"score":0.0}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1145/3728938","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3728938","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"},{"id":"pmh:oai:repository.hkust.edu.hk:1783.1-168519","is_oa":false,"landing_page_url":"http://repository.hkust.edu.hk/ir/Record/1783.1-168519","pdf_url":null,"source":{"id":"https://openalex.org/S4306401796","display_name":"Rare & Special e-Zone (The Hong Kong University of Science and Technology)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I200769079","host_organization_name":"Hong Kong University of Science and Technology","host_organization_lineage":["https://openalex.org/I200769079"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Article"}],"best_oa_location":{"id":"doi:10.1145/3728938","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3728938","pdf_url":null,"source":{"id":"https://openalex.org/S4404663975","display_name":"Proceedings of the ACM on software engineering.","issn_l":"2994-970X","issn":["2994-970X"],"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the ACM on Software Engineering","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":37,"referenced_works":["https://openalex.org/W1551377873","https://openalex.org/W1593271688","https://openalex.org/W2037237472","https://openalex.org/W2117613972","https://openalex.org/W2131647182","https://openalex.org/W2276356546","https://openalex.org/W2489487449","https://openalex.org/W2612560781","https://openalex.org/W2885305518","https://openalex.org/W2890118063","https://openalex.org/W2963532001","https://openalex.org/W3032405843","https://openalex.org/W3109716606","https://openalex.org/W3165173494","https://openalex.org/W3198685994","https://openalex.org/W4205807230","https://openalex.org/W4210323358","https://openalex.org/W4224249875","https://openalex.org/W4226377756","https://openalex.org/W4237307340","https://openalex.org/W4251088168","https://openalex.org/W4284664028","https://openalex.org/W4287173283","https://openalex.org/W4288055447","https://openalex.org/W4288057765","https://openalex.org/W4302423442","https://openalex.org/W4308643061","https://openalex.org/W4310823839","https://openalex.org/W4353055393","https://openalex.org/W4384345745","https://openalex.org/W4384347367","https://openalex.org/W4385570141","https://openalex.org/W4386001521","https://openalex.org/W4388505012","https://openalex.org/W4388867283","https://openalex.org/W4400690920","https://openalex.org/W4403428563"],"related_works":["https://openalex.org/W2018580387","https://openalex.org/W4312269093","https://openalex.org/W2955859849","https://openalex.org/W2152921782","https://openalex.org/W382594479","https://openalex.org/W2470045054","https://openalex.org/W3170261037","https://openalex.org/W2575772232","https://openalex.org/W4210420802","https://openalex.org/W2151245229"],"abstract_inverted_index":{"While":[0],"code":[1,17,35,66,121,134,253],"generation":[2,67],"has":[3,22],"been":[4,23],"widely":[5],"used":[6,180],"in":[7,27,88,122,170,234],"various":[8],"software":[9,93],"development":[10],"scenarios,":[11],"the":[12,15,28,65,75,80,156,159,166,171,183,187,190,195,220,248,251,257],"quality":[13,249],"of":[14,30,69,77,82,155,216,222,250],"generated":[16,160],"is":[18,71,163,178],"not":[19],"guaranteed.":[20],"This":[21],"a":[24,40,49,55,99,123,150],"particular":[25],"concern":[26],"era":[29],"large":[31],"language":[32,52],"models":[33],"(LLM)-based":[34],"generation,":[36],"where":[37],"LLMs,":[38],"deemed":[39],"complex":[41],"and":[42,63,79,91,120,133,136,158,189,231],"powerful":[43],"black-box":[44],"model,":[45],"are":[46],"instructed":[47],"by":[48,85,202,254],"high-level":[50,131],"natural":[51],"specification,":[53],"namely":[54],"prompt,":[56],"to":[57,102,181,225,246],"generate":[58],"code.":[59,192],"Nevertheless,":[60],"effectively":[61],"evaluating":[62],"explaining":[64],"capability":[68],"LLMs":[70,78,207],"inherently":[72],"challenging,":[73],"given":[74],"complexity":[76],"lack":[81],"transparency.":[83],"Inspired":[84],"recent":[86],"progress":[87],"causality":[89],"analysis":[90],"its":[92],"engineering":[94],"applications,":[95],"this":[96,109],"paper":[97],"proposes":[98],"causality-driven":[100],"approach":[101,242],"systematically":[103,138],"analyze":[104],"prompt-code":[105],"causal":[106,128,152,176,184],"relationships.":[107],"However,":[108],"endeavor":[110],"faces":[111],"three":[112],"key":[113],"technical":[114],"challenges:":[115],"(1)":[116],"representing":[117],"textual":[118],"prompts":[119],"canonical":[124],"form,":[125],"(2)":[126],"establishing":[127],"relations":[129,185],"between":[130,186],"concepts":[132,169],"features,":[135],"(3)":[137],"analyzing":[139],"diverse":[140],"prompt":[141,157,188,211],"variations.":[142],"To":[143],"address":[144],"these":[145,217],"challenges,":[146],"we":[147,238],"first":[148],"propose":[149],"novel":[151],"graph-based":[153],"representation":[154],"code,":[161],"which":[162],"established":[164],"over":[165,204,209],"fine-grained,":[167],"human-understandable":[168],"input":[172],"prompts.":[173],"The":[174,214],"formed":[175],"graph":[177],"then":[179],"identify":[182],"derived":[191],"We":[193],"illustrate":[194,219],"insights":[196,227,245],"that":[197,240],"our":[198,223,241],"framework":[199],"can":[200],"provide":[201,226],"studying":[203],"four":[205],"popular":[206],"with":[208],"12":[210],"adjustment":[212],"strategies.":[213],"results":[215],"studies":[218],"potential":[221],"technique":[224],"into":[228],"LLM":[229],"effectiveness":[230],"aid":[232],"end-users":[233],"understanding":[235],"predictions.":[236],"Additionally,":[237],"demonstrate":[239],"provides":[243],"actionable":[244],"improve":[247],"LLM-generated":[252],"properly":[255],"calibrating":[256],"prompt.":[258]},"counts_by_year":[{"year":2026,"cited_by_count":1}],"updated_date":"2026-05-21T06:26:12.895304","created_date":"2025-10-10T00:00:00"}
