Code Generation as a Dual Task of Code Summarization
Wei, Bolin, Li, Ge, Xia, Xin, Fu, Zhiyi, Jin, Zhi
–Neural Information Processing Systems
Code summarization (CS) and code generation (CG) are two crucial tasks in the field of automatic software development. Various neural network-based approaches are proposed to solve these two tasks separately. However, there exists a specific intuitive correlation between CS and CG, which has not been exploited in previous work. In this paper, we apply the relations between two tasks to improve the performance of both tasks. In other words, exploiting the duality between the two tasks, we propose a dual training framework to train the two tasks simultaneously.
Neural Information Processing Systems
Mar-18-2020, 23:16:01 GMT
- Technology: