Publications

Detailed Information

ReACC: A Retrieval-Augmented Code Completion Framework

DC Field Value Language
dc.contributor.authorLu, Shuai-
dc.contributor.authorDuan, Nan-
dc.contributor.authorHan, Hojae-
dc.contributor.authorGuo, Daya-
dc.contributor.authorHwang, Seung-won-
dc.contributor.authorSvyatkovskiy, Alexey-
dc.date.accessioned2022-10-11T00:30:38Z-
dc.date.available2022-10-11T00:30:38Z-
dc.date.created2022-09-30-
dc.date.issued2022-05-
dc.identifier.citationPROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), pp.6227-6240-
dc.identifier.urihttps://hdl.handle.net/10371/185665-
dc.description.abstractCode completion, which aims to predict the following code token(s) according to the code context, can improve the productivity of software development. Recent work has proved that statistical language modeling with transformers can greatly improve the performance in the code completion task via learning from large-scale source code datasets. However, current approaches focus only on code context within the file or project, i.e. internal context. Our distinction is utilizing "external" context, inspired by human behaviors of copying from the related code snippets when writing code. Specifically, we propose a retrieval-augmented code completion framework, leveraging both lexical copying and referring to code with similar semantics by retrieval. We adopt a stage-wise training approach that combines a source code retriever and an auto-regressive language model for programming language. We evaluate our approach in the code completion task in Python and Java programming languages, achieving a state-of-the-art performance on CodeXGLUE benchmark.-
dc.language영어-
dc.publisherASSOC COMPUTATIONAL LINGUISTICS-ACL-
dc.titleReACC: A Retrieval-Augmented Code Completion Framework-
dc.typeArticle-
dc.citation.journaltitlePROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS)-
dc.identifier.wosid000828702306027-
dc.citation.endpage6240-
dc.citation.startpage6227-
dc.description.isOpenAccessN-
dc.contributor.affiliatedAuthorHwang, Seung-won-
dc.type.docTypeProceedings Paper-
dc.description.journalClass1-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share