{"id":"https://openalex.org/W2997847174","doi":"https://doi.org/10.1609/aaai.v34i05.6430","title":"TreeGen: A Tree-Based Transformer Architecture for Code Generation","display_name":"TreeGen: A Tree-Based Transformer Architecture for Code Generation","publication_year":2020,"publication_date":"2020-04-03","ids":{"openalex":"https://openalex.org/W2997847174","doi":"https://doi.org/10.1609/aaai.v34i05.6430","mag":"2997847174"},"language":"en","primary_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.1609/aaai.v34i05.6430","pdf_url":"https://ojs.aaai.org/index.php/AAAI/article/download/6430/6286","source":{"id":"https://openalex.org/S4210191458","display_name":"Proceedings of the AAAI Conference on Artificial Intelligence","issn_l":"2159-5399","issn":["2159-5399","2374-3468"],"is_oa":true,"is_in_doaj":false,"is_indexed_in_scopus":false,"is_core":false,"host_organization":"https://openalex.org/P4310320058","host_organization_name":"Association for the Advancement of Artificial Intelligence","host_organization_lineage":["https://openalex.org/P4310320058"],"host_organization_lineage_names":["Association for the Advancement of Artificial Intelligence"],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true},"type":"article","type_crossref":"journal-article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://ojs.aaai.org/index.php/AAAI/article/download/6430/6286","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5047965752","display_name":"Zeyu Sun","orcid":"https://orcid.org/0000-0002-9990-9120"},"institutions":[{"id":"https://openalex.org/I20231570","display_name":"Peking University","ror":"https://ror.org/02v51f717","country_code":"CN","type":"funder","lineage":["https://openalex.org/I20231570"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zeyu Sun","raw_affiliation_strings":["Peking University"],"affiliations":[{"raw_affiliation_string":"Peking University","institution_ids":["https://openalex.org/I20231570"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5047271595","display_name":"Qihao Zhu","orcid":"https://orcid.org/0000-0001-8036-2623"},"institutions":[{"id":"https://openalex.org/I20231570","display_name":"Peking University","ror":"https://ror.org/02v51f717","country_code":"CN","type":"funder","lineage":["https://openalex.org/I20231570"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Qihao Zhu","raw_affiliation_strings":["Peking University"],"affiliations":[{"raw_affiliation_string":"Peking University","institution_ids":["https://openalex.org/I20231570"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100712724","display_name":"Yingfei Xiong","orcid":"https://orcid.org/0000-0001-8991-747X"},"institutions":[{"id":"https://openalex.org/I20231570","display_name":"Peking University","ror":"https://ror.org/02v51f717","country_code":"CN","type":"funder","lineage":["https://openalex.org/I20231570"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yingfei Xiong","raw_affiliation_strings":["Peking University"],"affiliations":[{"raw_affiliation_string":"Peking University","institution_ids":["https://openalex.org/I20231570"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5091706559","display_name":"Yican Sun","orcid":null},"institutions":[{"id":"https://openalex.org/I20231570","display_name":"Peking University","ror":"https://ror.org/02v51f717","country_code":"CN","type":"funder","lineage":["https://openalex.org/I20231570"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yican Sun","raw_affiliation_strings":["Peking University"],"affiliations":[{"raw_affiliation_string":"Peking University","institution_ids":["https://openalex.org/I20231570"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5024821632","display_name":"Lili Mou","orcid":"https://orcid.org/0000-0001-7753-4295"},"institutions":[{"id":"https://openalex.org/I154425047","display_name":"University of Alberta","ror":"https://ror.org/0160cpw27","country_code":"CA","type":"funder","lineage":["https://openalex.org/I154425047"]}],"countries":["CA"],"is_corresponding":false,"raw_author_name":"Lili Mou","raw_affiliation_strings":["University of Alberta"],"affiliations":[{"raw_affiliation_string":"University of Alberta","institution_ids":["https://openalex.org/I154425047"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5100388609","display_name":"Lu Zhang","orcid":"https://orcid.org/0000-0002-1275-9247"},"institutions":[{"id":"https://openalex.org/I20231570","display_name":"Peking University","ror":"https://ror.org/02v51f717","country_code":"CN","type":"funder","lineage":["https://openalex.org/I20231570"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Lu Zhang","raw_affiliation_strings":["Peking University"],"affiliations":[{"raw_affiliation_string":"Peking University","institution_ids":["https://openalex.org/I20231570"]}]}],"institution_assertions":[],"countries_distinct_count":2,"institutions_distinct_count":2,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":18.375,"has_fulltext":true,"fulltext_origin":"pdf","cited_by_count":141,"citation_normalized_percentile":{"value":0.999818,"is_in_top_1_percent":true,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":99,"max":100},"biblio":{"volume":"34","issue":"05","first_page":"8984","last_page":"8991"},"is_retracted":false,"is_paratext":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9966,"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.9966,"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/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9875,"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/T10028","display_name":"Topic Modeling","score":0.9788,"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/python","display_name":"Python","score":0.6459142},{"id":"https://openalex.org/keywords/parse-tree","display_name":"Parse tree","score":0.50684696}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.83187914},{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.6459142},{"id":"https://openalex.org/C133162039","wikidata":"https://www.wikidata.org/wiki/Q1061077","display_name":"Code generation","level":3,"score":0.621291},{"id":"https://openalex.org/C186644900","wikidata":"https://www.wikidata.org/wiki/Q194152","display_name":"Parsing","level":2,"score":0.5665401},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5579735},{"id":"https://openalex.org/C2781466058","wikidata":"https://www.wikidata.org/wiki/Q627921","display_name":"Parse tree","level":3,"score":0.50684696},{"id":"https://openalex.org/C151578736","wikidata":"https://www.wikidata.org/wiki/Q1251793","display_name":"Redundant code","level":4,"score":0.45839795},{"id":"https://openalex.org/C118505674","wikidata":"https://www.wikidata.org/wiki/Q42586063","display_name":"Encoder","level":2,"score":0.45328385},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.43704343},{"id":"https://openalex.org/C58646249","wikidata":"https://www.wikidata.org/wiki/Q127380","display_name":"Abstract syntax tree","level":3,"score":0.41687733},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.4107272},{"id":"https://openalex.org/C80444323","wikidata":"https://www.wikidata.org/wiki/Q2878974","display_name":"Theoretical computer science","level":1,"score":0.33797556},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.10101858},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.0}],"mesh":[],"locations_count":2,"locations":[{"is_oa":true,"landing_page_url":"https://doi.org/10.1609/aaai.v34i05.6430","pdf_url":"https://ojs.aaai.org/index.php/AAAI/article/download/6430/6286","source":{"id":"https://openalex.org/S4210191458","display_name":"Proceedings of the AAAI Conference on Artificial Intelligence","issn_l":"2159-5399","issn":["2159-5399","2374-3468"],"is_oa":true,"is_in_doaj":false,"is_indexed_in_scopus":false,"is_core":false,"host_organization":"https://openalex.org/P4310320058","host_organization_name":"Association for the Advancement of Artificial Intelligence","host_organization_lineage":["https://openalex.org/P4310320058"],"host_organization_lineage_names":["Association for the Advancement of Artificial Intelligence"],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":true,"landing_page_url":"http://arxiv.org/abs/1911.09983","pdf_url":"http://arxiv.org/pdf/1911.09983","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_indexed_in_scopus":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false}],"best_oa_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.1609/aaai.v34i05.6430","pdf_url":"https://ojs.aaai.org/index.php/AAAI/article/download/6430/6286","source":{"id":"https://openalex.org/S4210191458","display_name":"Proceedings of the AAAI Conference on Artificial Intelligence","issn_l":"2159-5399","issn":["2159-5399","2374-3468"],"is_oa":true,"is_in_doaj":false,"is_indexed_in_scopus":false,"is_core":false,"host_organization":"https://openalex.org/P4310320058","host_organization_name":"Association for the Advancement of Artificial Intelligence","host_organization_lineage":["https://openalex.org/P4310320058"],"host_organization_lineage_names":["Association for the Advancement of Artificial Intelligence"],"type":"conference"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true},"sustainable_development_goals":[{"id":"https://metadata.un.org/sdg/4","score":0.66,"display_name":"Quality education"}],"grants":[],"datasets":[],"versions":[],"referenced_works_count":27,"referenced_works":["https://openalex.org/W1496189301","https://openalex.org/W2103457851","https://openalex.org/W2107878631","https://openalex.org/W2111742432","https://openalex.org/W2130942839","https://openalex.org/W2175619924","https://openalex.org/W2194775991","https://openalex.org/W2227250678","https://openalex.org/W2251673953","https://openalex.org/W2282866165","https://openalex.org/W2462831000","https://openalex.org/W2531409750","https://openalex.org/W2606974598","https://openalex.org/W2798296074","https://openalex.org/W2866343820","https://openalex.org/W2888128175","https://openalex.org/W2889467844","https://openalex.org/W2890867094","https://openalex.org/W2962728167","https://openalex.org/W2963357517","https://openalex.org/W2963617989","https://openalex.org/W2963794306","https://openalex.org/W2963868406","https://openalex.org/W2964325845","https://openalex.org/W4293569541","https://openalex.org/W4385245566","https://openalex.org/W4394666973"],"related_works":["https://openalex.org/W4376486317","https://openalex.org/W4310447811","https://openalex.org/W4200321676","https://openalex.org/W3202887988","https://openalex.org/W3122369893","https://openalex.org/W2750654225","https://openalex.org/W2165004968","https://openalex.org/W2053262616","https://openalex.org/W1977905671","https://openalex.org/W116913286"],"abstract_inverted_index":{"A":[0,49],"code":[1,7,22,26,40,47,90],"generation":[2],"system":[3],"generates":[4],"programming":[5],"language":[6,13],"based":[8],"on":[9,18,44,55,124,147,158],"an":[10,167],"input":[11],"natural":[12],"description.":[14],"State-of-the-art":[15],"approaches":[16,157],"rely":[17],"neural":[19,86,155],"networks":[20],"for":[21,52,89],"generation.":[23,91],"However,":[24],"these":[25],"generators":[27],"suffer":[28],"from":[29],"two":[30,130],"problems.":[31],"One":[32],"is":[33,69],"the":[34,94,101,119,139,151],"long":[35],"dependency":[36],"problem,":[37,103],"where":[38],"a":[39,62,83,106,125],"element":[41],"often":[42],"depends":[43,54],"another":[45],"far-away":[46],"element.":[48],"variable":[50],"reference,":[51],"example,":[53],"its":[56],"definition,":[57],"which":[58],"may":[59],"appear":[60],"quite":[61],"few":[63],"lines":[64],"before.":[65],"The":[66],"other":[67],"problem":[68],"structure":[70],"modeling,":[71],"as":[72],"programs":[73],"contain":[74],"rich":[75],"structural":[76],"information.":[77],"In":[78],"this":[79],"paper,":[80],"we":[81],"propose":[82],"novel":[84,107],"tree-based":[85],"architecture,":[87],"TreeGen,":[88],"TreeGen":[92,123,137],"uses":[93],"attention":[95],"mechanism":[96],"of":[97,175],"Transformers":[98],"to":[99,111,170],"alleviate":[100],"long-dependency":[102],"and":[104,115,129,135,149,161],"introduces":[105],"AST":[108,116],"reader":[109],"(encoder)":[110],"incorporate":[112],"grammar":[113],"rules":[114],"structures":[117],"into":[118],"network.":[120],"We":[121,164],"evaluated":[122],"Python":[126],"benchmark,":[127],"HearthStone,":[128,148],"semantic":[131],"parsing":[132],"benchmarks,":[133],"ATIS":[134,159],"GEO.":[136],"outperformed":[138],"previous":[140],"state-of-the-art":[141],"approach":[142],"by":[143],"4.5":[144],"percentage":[145],"points":[146],"achieved":[150],"best":[152],"accuracy":[153],"among":[154],"network-based":[156],"(89.1%)":[160],"GEO":[162],"(89.6%).":[163],"also":[165],"conducted":[166],"ablation":[168],"test":[169],"better":[171],"understand":[172],"each":[173],"component":[174],"our":[176],"model.":[177]},"abstract_inverted_index_v3":null,"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W2997847174","counts_by_year":[{"year":2025,"cited_by_count":5},{"year":2024,"cited_by_count":28},{"year":2023,"cited_by_count":36},{"year":2022,"cited_by_count":34},{"year":2021,"cited_by_count":33},{"year":2020,"cited_by_count":5}],"updated_date":"2025-04-09T09:42:21.948833","created_date":"2020-01-10"}