paper-with-me

Papers

Retrieval Augmented Code Generation and Summarization

2021-08-26 · Findings (EMNLP) 2021 11 · Md Rizwan Parvez, Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, Kai-Wei Chang

Software developers write a lot of source code and documentation during software development. Intrinsically, developers often recall parts of source code or code summaries that they had written in the past while implementing software or documenting them. To mimic developers' code or summary generation behavior, we propose a retrieval augmented framework, REDCODER, that retrieves relevant code or summaries from a retrieval database and provides them as a supplement to code generation or summarization models. REDCODER has a couple of uniqueness. First, it extends the state-of-the-art dense retrieval technique to search for relevant code or summaries. Second, it can work with retrieval databases that include unimodal (only code or natural language description) or bimodal instances (code-description pairs). We conduct experiments and extensive analysis on two benchmark datasets of code generation and summarization in Java and Python, and the promising results endorse the effectiveness of our proposed retrieval augmented framework.

📄 PDF Abstract BibTeX arXiv:2108.11601

Code (2)

rizwan09/redcoder 공식 구현 pytorch
kagnlp/CodeGenerator

Tasks

Code GenerationCode SummarizationRetrieval

Similar Papers 제목 키워드 기반

Retrieval-Augmented Generation for Code Summarization via Hybrid GNN

2020-06-09 · ICLR 2021 1 · Shangqing Liu, Yu Chen, Xiaofei Xie, JingKai Siow 외

Source code summarization aims to generate natural language summaries from structured code snippets for better understanding code functionalities. However, automatic code summarization is challenging due to the complexit…

Code SummarizationRetrievalRetrieval-augmented GenerationSource Code Summarization

Building A Coding Assistant via the Retrieval-Augmented Language Model

2024-10-21 · Xinze Li, Hanbin Wang, Zhenghao Liu, Shi Yu 외

Pretrained language models have shown strong effectiveness in code-related tasks, such as code retrieval, code generation, code summarization, and code completion tasks. In this paper, we propose COde assistaNt viA retri…

Code CompletionCode GenerationCode SummarizationLanguage Modeling+3

Retrieval Augmented Generation and Representative Vector Summarization for large unstructured textual data in Medical Education

2023-08-01 · S. S. Manathunga, Y. A. Illangasekara

Large Language Models are increasingly being used for various tasks including content generation and as chatbots. Despite their impressive performances in general tasks, LLMs need to be aligned when applying for domain s…

Abstractive Text SummarizationHallucinationRAGRetrieval+1

Towards a Robust Retrieval-Based Summarization System

2024-03-29 · ShengJie Liu, Jing Wu, Jingyuan Bao, Wenyi Wang 외

This paper describes an investigation of the robustness of large language models (LLMs) for retrieval augmented generation (RAG)-based summarization tasks. While LLMs provide summarization capabilities, their performance…

RAGRetrievalRetrieval-augmented Generation

Tram: A Token-level Retrieval-augmented Mechanism for Source Code Summarization

2023-05-18 · Tong Ye, Lingfei Wu, Tengfei Ma, Xuhong Zhang 외

Automatically generating human-readable text describing the functionality of a program is the intent of source code summarization. Although neural language models achieve significant performance in this field, they are l…

Code SummarizationDecoderRetrievalSentence+1