Matches in SemOpenAlex for { <https://semopenalex.org/work/W4384155659> ?p ?o ?g. }
Showing items 1 to 88 of
88
with 100 items per page.
- W4384155659 abstract "General-purpose code generation aims to automatically convert the natural language description to code snippets in a general-purpose programming language (GPL) such as Python. In the process of code generation, it is essential to guarantee the generated code satisfies grammar constraints of GPL. However, existing sequence-to-sequence (Seq2Seq) approaches neglect grammar rules when generating GPL code. In this paper, we devise a pushdown automaton (PDA)-based methodology to make the first attempt to consider grammatical Seq2Seq models for general-purpose code generation, exploiting the principle that PL is a subset of PDA recognizable language and code accepted by PDA is grammatical. Specifically, we construct a PDA module and design an algorithm to constrain the generation of Seq2Seq models to ensure grammatical correctness. Guided by this methodology, we further propose CODEP, a code generation framework equipped with a PDA module, to integrate the deduction of PDA into deep learning. This framework leverages the state of PDA deduction (including state representation, state prediction task, and joint prediction with state) to assist models in learning PDA deduction. To comprehensively evaluate CODEP, we construct a PDA for Python and conduct extensive experiments on four public benchmark datasets. CODEP can employ existing sequence-based models as base models, and we show that it achieves 100% grammatical correctness percentage on these benchmark datasets. Consequently, CODEP relatively improves 17% CodeBLEU on CONALA, 8% EM on DJANGO, and 15% CodeBLEU on JUICE-10K compared to base models. Moreover, PDA module also achieves significant improvements on the pre-trained models." @default.
- W4384155659 created "2023-07-14" @default.
- W4384155659 creator A5049100391 @default.
- W4384155659 creator A5077542599 @default.
- W4384155659 creator A5081083643 @default.
- W4384155659 date "2023-07-12" @default.
- W4384155659 modified "2023-09-25" @default.
- W4384155659 title "CODEP: Grammatical Seq2Seq Model for General-Purpose Code Generation" @default.
- W4384155659 cites W1560050268 @default.
- W4384155659 cites W2064675550 @default.
- W4384155659 cites W2962728167 @default.
- W4384155659 cites W2963655793 @default.
- W4384155659 cites W2963794306 @default.
- W4384155659 cites W2963868406 @default.
- W4384155659 cites W2970004377 @default.
- W4384155659 cites W2997847174 @default.
- W4384155659 cites W3005855585 @default.
- W4384155659 cites W3172275282 @default.
- W4384155659 cites W3198685994 @default.
- W4384155659 cites W4205749957 @default.
- W4384155659 cites W4308648312 @default.
- W4384155659 doi "https://doi.org/10.1145/3597926.3598048" @default.
- W4384155659 hasPublicationYear "2023" @default.
- W4384155659 type Work @default.
- W4384155659 citedByCount "0" @default.
- W4384155659 crossrefType "proceedings-article" @default.
- W4384155659 hasAuthorship W4384155659A5049100391 @default.
- W4384155659 hasAuthorship W4384155659A5077542599 @default.
- W4384155659 hasAuthorship W4384155659A5081083643 @default.
- W4384155659 hasBestOaLocation W43841556591 @default.
- W4384155659 hasConcept C13280743 @default.
- W4384155659 hasConcept C133162039 @default.
- W4384155659 hasConcept C137293760 @default.
- W4384155659 hasConcept C138885662 @default.
- W4384155659 hasConcept C154945302 @default.
- W4384155659 hasConcept C169590947 @default.
- W4384155659 hasConcept C177264268 @default.
- W4384155659 hasConcept C185798385 @default.
- W4384155659 hasConcept C199360897 @default.
- W4384155659 hasConcept C204321447 @default.
- W4384155659 hasConcept C205649164 @default.
- W4384155659 hasConcept C26022165 @default.
- W4384155659 hasConcept C26517878 @default.
- W4384155659 hasConcept C2776760102 @default.
- W4384155659 hasConcept C2780801425 @default.
- W4384155659 hasConcept C38652104 @default.
- W4384155659 hasConcept C41008148 @default.
- W4384155659 hasConcept C41895202 @default.
- W4384155659 hasConcept C43126263 @default.
- W4384155659 hasConcept C519991488 @default.
- W4384155659 hasConcept C55439883 @default.
- W4384155659 hasConceptScore W4384155659C13280743 @default.
- W4384155659 hasConceptScore W4384155659C133162039 @default.
- W4384155659 hasConceptScore W4384155659C137293760 @default.
- W4384155659 hasConceptScore W4384155659C138885662 @default.
- W4384155659 hasConceptScore W4384155659C154945302 @default.
- W4384155659 hasConceptScore W4384155659C169590947 @default.
- W4384155659 hasConceptScore W4384155659C177264268 @default.
- W4384155659 hasConceptScore W4384155659C185798385 @default.
- W4384155659 hasConceptScore W4384155659C199360897 @default.
- W4384155659 hasConceptScore W4384155659C204321447 @default.
- W4384155659 hasConceptScore W4384155659C205649164 @default.
- W4384155659 hasConceptScore W4384155659C26022165 @default.
- W4384155659 hasConceptScore W4384155659C26517878 @default.
- W4384155659 hasConceptScore W4384155659C2776760102 @default.
- W4384155659 hasConceptScore W4384155659C2780801425 @default.
- W4384155659 hasConceptScore W4384155659C38652104 @default.
- W4384155659 hasConceptScore W4384155659C41008148 @default.
- W4384155659 hasConceptScore W4384155659C41895202 @default.
- W4384155659 hasConceptScore W4384155659C43126263 @default.
- W4384155659 hasConceptScore W4384155659C519991488 @default.
- W4384155659 hasConceptScore W4384155659C55439883 @default.
- W4384155659 hasLocation W43841556591 @default.
- W4384155659 hasOpenAccess W4384155659 @default.
- W4384155659 hasPrimaryLocation W43841556591 @default.
- W4384155659 hasRelatedWork W1487643886 @default.
- W4384155659 hasRelatedWork W1596995840 @default.
- W4384155659 hasRelatedWork W2044422526 @default.
- W4384155659 hasRelatedWork W2184391316 @default.
- W4384155659 hasRelatedWork W2519339279 @default.
- W4384155659 hasRelatedWork W283806354 @default.
- W4384155659 hasRelatedWork W2996838589 @default.
- W4384155659 hasRelatedWork W4309804142 @default.
- W4384155659 hasRelatedWork W53584863 @default.
- W4384155659 hasRelatedWork W1774384314 @default.
- W4384155659 isParatext "false" @default.
- W4384155659 isRetracted "false" @default.
- W4384155659 workType "article" @default.