ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarization
Chunrong Fang, Weisong Sun, Yuchen Chen, Xiao Chen, Zhao, Wei, Quanjun Zhang, Yudu You, Bin Luo, Yang Liu, Zhenyu Chen

TL;DR
This paper introduces ESALE, a multi-task learning approach that improves code summarization by enhancing code-summary alignment through three summary-focused tasks, leading to significant performance gains.
Contribution
It proposes a novel multi-task training paradigm with three specific tasks to better capture code-summary alignment in source code summarization.
Findings
Outperforms baselines on four datasets across BLEU, METEOR, ROUGE-L metrics
Effectively learns code-action word and code-summary alignments
Demonstrates significant improvements over existing pre-trained models
Abstract
(Source) code summarization aims to automatically generate succinct natural language summaries for given code snippets. Such summaries play a significant role in promoting developers to understand and maintain code. Inspired by neural machine translation, deep learning-based code summarization techniques widely adopt an encoder-decoder framework, where the encoder transforms given code snippets into context vectors, and the decoder decodes context vectors into summaries. Recently, large-scale pre-trained models for source code are equipped with encoders capable of producing general context vectors and have achieved substantial improvements on code summarization. However, although they are usually trained mainly on code-focused tasks and can capture general code features, they still fall short in capturing specific features that need to be summarized. This paper proposes a novel…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Data Mining and Analysis · Natural Language Processing Techniques · Software Engineering Research
