{"id":"https://openalex.org/W4389520043","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","title":"Syntax-Aware Retrieval Augmented Code Generation","display_name":"Syntax-Aware Retrieval Augmented Code Generation","alternate_titles":[],"publication_year":2023,"publication_date":"2023-01-01","ids":{"openalex":"https://openalex.org/W4389520043","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.90"},"language":"en","primary_location":{"id":"doi:10.18653/v1/2023.findings-emnlp.90","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","pdf_url":"https://aclanthology.org/2023.findings-emnlp.90.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"},"parent_works":[],"lineage":["https://openalex.org/W4389520043"],"child_works_count":0,"type":"conference-paper","is_traditional":true,"indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://aclanthology.org/2023.findings-emnlp.90.pdf","any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":null,"display_name":"Xiangyu Zhang","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I9842412","display_name":"Nanjing University of Aeronautics and Astronautics","ror":"https://ror.org/01scyh794","country_code":"CN","type":"education","lineage":["https://openalex.org/I9842412"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xiangyu Zhang","raw_affiliation_strings":["Nanjing University of Aeronautics and Astronautics"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University of Aeronautics and Astronautics","institution_ids":["https://openalex.org/I9842412"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5038150414","display_name":"Yu Zhou","orcid":"https://orcid.org/0000-0002-3723-7584","observed_orcids":["https://orcid.org/0000-0002-3723-7584"]},"institutions":[{"id":"https://openalex.org/I9842412","display_name":"Nanjing University of Aeronautics and Astronautics","ror":"https://ror.org/01scyh794","country_code":"CN","type":"education","lineage":["https://openalex.org/I9842412"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yu Zhou","raw_affiliation_strings":["Nanjing University of Aeronautics and Astronautics"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University of Aeronautics and Astronautics","institution_ids":["https://openalex.org/I9842412"]}]},{"author_position":"middle","author":{"id":null,"display_name":"Guang Yang","orcid":null,"observed_orcids":[]},"institutions":[{"id":"https://openalex.org/I9842412","display_name":"Nanjing University of Aeronautics and Astronautics","ror":"https://ror.org/01scyh794","country_code":"CN","type":"education","lineage":["https://openalex.org/I9842412"]}],"countries":["CN"],"is_corresponding":true,"raw_author_name":"Guang Yang","raw_affiliation_strings":["Nanjing University of Aeronautics and Astronautics"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University of Aeronautics and Astronautics","institution_ids":["https://openalex.org/I9842412"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5030747944","display_name":"Taolue Chen","orcid":"https://orcid.org/0000-0002-5993-1665","observed_orcids":["https://orcid.org/0000-0002-5993-1665"]},"institutions":[{"id":"https://openalex.org/I98259816","display_name":"Birkbeck, University of London","ror":"https://ror.org/02mb95055","country_code":"GB","type":"education","lineage":["https://openalex.org/I124357947","https://openalex.org/I98259816"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Taolue Chen","raw_affiliation_strings":["Birkbeck, University of London"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Birkbeck, University of London","institution_ids":["https://openalex.org/I98259816"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":2,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I9842412"],"apc_list":null,"apc_paid":null,"fwci":3.8824,"has_fulltext":true,"cited_by_count":28,"citation_normalized_percentile":{"value":0.95660391,"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":"1291","last_page":"1302"},"is_retracted":false,"is_pulled":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9926999807357788,"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.9926999807357788,"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.0044999998062849045,"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/T10533","display_name":"Teaching and Learning Programming","score":0.0005000000237487257,"subfield":{"id":"https://openalex.org/subfields/1706","display_name":"Computer Science Applications"},"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/retrieval-augmented-generation","display_name":"retrieval-augmented generation","score":0.828000009059906},{"id":"https://openalex.org/keywords/code-generation","display_name":"code generation","score":0.8930000066757202},{"id":"https://openalex.org/keywords/noise-reduction","display_name":"noise reduction","score":0.42500001192092896}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8939533233642578},{"id":"https://openalex.org/C133162039","wikidata":"https://www.wikidata.org/wiki/Q1061077","display_name":"Code generation","level":3,"score":0.6934666633605957},{"id":"https://openalex.org/C48145219","wikidata":"https://www.wikidata.org/wiki/Q1335365","display_name":"Security token","level":2,"score":0.6800038814544678},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.6650146245956421},{"id":"https://openalex.org/C60048249","wikidata":"https://www.wikidata.org/wiki/Q37437","display_name":"Syntax","level":2,"score":0.654928982257843},{"id":"https://openalex.org/C203005215","wikidata":"https://www.wikidata.org/wiki/Q79798","display_name":"Machine translation","level":2,"score":0.5922578573226929},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.5445799827575684},{"id":"https://openalex.org/C2776187449","wikidata":"https://www.wikidata.org/wiki/Q1513879","display_name":"Natural language generation","level":3,"score":0.4327435791492462},{"id":"https://openalex.org/C204321447","wikidata":"https://www.wikidata.org/wiki/Q30642","display_name":"Natural language processing","level":1,"score":0.36137157678604126},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.3389948010444641},{"id":"https://openalex.org/C195324797","wikidata":"https://www.wikidata.org/wiki/Q33742","display_name":"Natural language","level":2,"score":0.273650586605072},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.21915403008460999},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.0},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","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}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.18653/v1/2023.findings-emnlp.90","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","pdf_url":"https://aclanthology.org/2023.findings-emnlp.90.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"}],"best_oa_location":{"id":"doi:10.18653/v1/2023.findings-emnlp.90","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.90","pdf_url":"https://aclanthology.org/2023.findings-emnlp.90.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"},"sustainable_development_goals":[],"study_designs":[],"awards":[{"id":"https://openalex.org/G1018022936","display_name":null,"funder_award_id":"61972197","funder_id":"https://openalex.org/F4320322769","funder_display_name":"Natural Science Foundation of Jiangsu Province"},{"id":"https://openalex.org/G6063889794","display_name":null,"funder_award_id":"62372232","funder_id":"https://openalex.org/F4320322769","funder_display_name":"Natural Science Foundation of Jiangsu Province"},{"id":"https://openalex.org/G6641716459","display_name":null,"funder_award_id":"62272397","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G6670970210","display_name":null,"funder_award_id":"62372232","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G7740279271","display_name":"\u57fa\u4e8e\u5f00\u6e90\u8f6f\u4ef6\u7684\u4ee3\u7801\u63a8\u8350\u5173\u952e\u6280\u672f\u7814\u7a76","funder_award_id":"61972197","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G7761557567","display_name":null,"funder_award_id":"KFKT2022A03","funder_id":"https://openalex.org/F4320326895","funder_display_name":"State Key Laboratory of Novel Software Technology"},{"id":"https://openalex.org/G8855143258","display_name":null,"funder_award_id":"BK20201292","funder_id":"https://openalex.org/F4320322769","funder_display_name":"Natural Science Foundation of Jiangsu Province"}],"funders":[{"id":"https://openalex.org/F4320321001","display_name":"National Natural Science Foundation of China","ror":"https://ror.org/01h0zpd94"},{"id":"https://openalex.org/F4320321605","display_name":"Government of Jiangsu Province","ror":"https://ror.org/004svx814"},{"id":"https://openalex.org/F4320322769","display_name":"Natural Science Foundation of Jiangsu Province","ror":"https://ror.org/01h0zpd94"},{"id":"https://openalex.org/F4320324852","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760"},{"id":"https://openalex.org/F4320326895","display_name":"State Key Laboratory of Novel Software Technology","ror":"https://ror.org/04xqp3a64"}],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4389520043.pdf","grobid_xml":"https://content.openalex.org/works/W4389520043.grobid-xml"},"referenced_works_count":35,"referenced_works":["https://openalex.org/W18991458","https://openalex.org/W2101105183","https://openalex.org/W2242083635","https://openalex.org/W2593864460","https://openalex.org/W2757592053","https://openalex.org/W2809170625","https://openalex.org/W2889467844","https://openalex.org/W2890867094","https://openalex.org/W2949215742","https://openalex.org/W2981852735","https://openalex.org/W3017094847","https://openalex.org/W3021931813","https://openalex.org/W3022851392","https://openalex.org/W3089307846","https://openalex.org/W3090145300","https://openalex.org/W3098605233","https://openalex.org/W3155807546","https://openalex.org/W3170092793","https://openalex.org/W3170427498","https://openalex.org/W3174199721","https://openalex.org/W3175863856","https://openalex.org/W3177813494","https://openalex.org/W3194195934","https://openalex.org/W3198685994","https://openalex.org/W4221166942","https://openalex.org/W4226242393","https://openalex.org/W4226383415","https://openalex.org/W4286750487","https://openalex.org/W4321855134","https://openalex.org/W4322717205","https://openalex.org/W4327810158","https://openalex.org/W4376167329","https://openalex.org/W4384918448","https://openalex.org/W4385572795","https://openalex.org/W4389519352"],"related_works":["https://openalex.org/W2949734169","https://openalex.org/W2968959040","https://openalex.org/W2963617989","https://openalex.org/W4312107449","https://openalex.org/W4407580437","https://openalex.org/W2997847174","https://openalex.org/W4309700390","https://openalex.org/W7002194860","https://openalex.org/W4404781658","https://openalex.org/W3038202168"],"abstract_inverted_index":{"Neural":[0],"code":[1,10,36,85,97],"generation":[2,37,52,86,98],"models":[3,18,61],"are":[4],"nowadays":[5],"widely":[6],"adopted":[7],"to":[8,35,50,72],"generate":[9],"from":[11],"natural":[12],"language":[13],"descriptions":[14],"automatically.Recently,":[15],"pre-trained":[16],"neural":[17,29],"equipped":[19],"with":[20],"tokenlevel":[21],"retrieval":[22,83,105],"capabilities":[23],"have":[24],"exhibited":[25],"great":[26],"potentials":[27],"in":[28,55,91],"machine":[30],"translation.However,":[31],"applying":[32],"them":[33],"directly":[34],"experience":[38],"challenges:":[39],"the":[40,43,51,66,96,104,110,122,126],"use":[41],"of":[42,65,106,112,128],"retrievalbased":[44],"mechanism":[45],"inevitably":[46],"introduces":[47],"extraneous":[48],"noise":[49],"process,":[53],"resulting":[54],"even":[56],"syntactically":[57],"incorrect":[58],"code.Computationally,":[59],"such":[60],"necessitate":[62],"frequent":[63],"searches":[64,90],"cached":[67],"datastore,":[68],"which":[69,108],"turns":[70],"out":[71],"be":[73],"time-consuming.To":[74],"address":[75],"these":[76],"issues,":[77],"we":[78],"propose":[79],"kNN-TRANX,":[80],"a":[81],"token-level":[82],"augmented":[84],"method.kNN-TRANX":[87],"allows":[88],"for":[89,95,103],"smaller":[92],"datastores":[93],"tailored":[94],"task.It":[99],"leverages":[100],"syntax":[101],"constraints":[102],"datastores,":[107],"reduces":[109],"impact":[111],"retrieve":[113],"noise.We":[114],"evaluate":[115],"kNN-TRANX":[116],"on":[117],"two":[118],"public":[119],"datasets":[120],"and":[121],"experimental":[123],"results":[124],"confirm":[125],"effectiveness":[127],"our":[129],"approach.":[130]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4389520043","counts_by_year":[{"year":2026,"cited_by_count":10},{"year":2025,"cited_by_count":13},{"year":2024,"cited_by_count":5}],"updated_date":"2026-11-16T12:05:36.265796","created_date":"2023-12-11T00:00:00"}
