Automatic Source Code Summarization via Reinforcement Learning
Due to the fast development of computer and software, the volume of today's code has reached an unprecedented level. For large-scale systems (e.g., cloud computing systems) with billions lines of codes, the majority of its maintenance effort is code management. And much of this effort is spent on understanding related source codes. With high-quality code summaries, one can quickly understand what a function does (even without reading the code). However, it’s nontrivial for a programmer to write good comments for source codes. If the code summary can be automatically generated, then we can greatly accelerate the whole pipeline of software development. To this end, in this project we develop a reinforcement learning framework to enhance the automatic generation of code summarization. By properly defining the key modules, we employ an actor-critic network to solve this problem. Experimental results demonstrate that our model outperforms vallina sequence to sequence model by a noticeable margin.
Code (0)
등록된 구현이 없습니다.
Tasks
Cloud ComputingCode SummarizationManagementreinforcement-learningReinforcement LearningReinforcement Learning (RL)Source Code SummarizationSimilar Papers 제목 키워드 기반
Automatic Text Summarization Using Reinforcement Learning with Embedding Features
An automatic text summarization system can automatically generate a short and brief summary that contains a main concept of an original document. In this work, we explore the advantages of simple embedding features in Re…
ARCInformation Retrievalreinforcement-learningReinforcement Learning+2Automatic Source Code Summarization with Extended Tree-LSTM
Neural machine translation models are used to automatically generate a document from given source code since this can be regarded as a machine translation task. Source code summarization is one of the components for auto…
Code SummarizationMachine TranslationSource Code SummarizationTranslationSelf-Attention Recurrent Summarization Network with Reinforcement Learning for Video Summarization Task
With the exponential growth of video data, video summarization techniques are urgently needed for reducing people’s efforts in the videos' content exploration by generating succinct but informative summaries from origina…
reinforcement-learningReinforcement LearningSupervised Video SummarizationUnsupervised Video Summarization+1Improving Automatic Source Code Summarization via Deep Reinforcement Learning
Code summarization provides a high level natural language description of the function performed by code, as it can benefit the software maintenance, code categorization and retrieval. To the best of our knowledge, most s…
Code SummarizationDecoderDeep Reinforcement Learningreinforcement-learning+4Improved Code Summarization via a Graph Neural Network
Automatic source code summarization is the task of generating natural language descriptions for source code. Automatic code summarization is a rapidly expanding research area, especially as the community has taken greate…
Code SummarizationGraph Neural NetworkSource Code Summarization