Write a Blog >>
ICPC 2021
Tue 18 - Thu 20 May 2021
co-located with ICSE 2021
Thu 20 May 2021 02:20 - 02:30 at ICPC Main Room - Code Summarization Chair(s): David Lo

Automatic code summarization frees software developers from the heavy burden of manual commenting and benefits software development and maintenance. Abstract Syntax Tree (AST), which depicts the source code’s syntactic structure, has been incorporated to guide the generation of code summaries. However, existing AST based methods suffer from the difficulty of training and generate inadequate code summaries. In this paper, we present the Block-wise Abstract Syntax Tree Splitting method (BASTS for short), which fully utilizes the rich tree-form syntax structure in ASTs, for improving code summarization. BASTS splits the code of a method based on the blocks in the dominator tree of the Control Flow Graph, and generates a split AST for each code split. Each split AST is then modeled by a Tree-LSTM using a pre-training strategy to capture local non-linear syntax encoding. The learned syntax encoding is combined with code encoding, and fed into Transformer to generate high-quality code summaries. Comprehensive experiments on benchmarks have demonstrated that BASTS significantly outperforms state-of-the-art approaches in terms of various evaluation metrics. To facilitate reproducibility, our implementation is available at https://github.com/XMUDM/BASTS.

Thu 20 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

02:00 - 02:30
Code SummarizationResearch at ICPC Main Room
Chair(s): David Lo Singapore Management University
02:00
10m
Paper
Exploiting Method Names to Improve Code Summarization: A Deliberation Multi-Task Learning Approach
Research
Rui Xie Peking University, Wei Ye Peking University, Jinan Sun , Shikun Zhang Peking University
Pre-print Media Attached
02:10
10m
Paper
A Multi-Modal Transformer-based Code Summarization Approach for Smart Contracts
Research
Zhen Yang City University of Hong Kong, China, Jacky Keung City University of Hong Kong, Xiao Yu Wuhan University of Technology, Xiaodong Gu Shanghai Jiao Tong University, China, Zhengyuan Wei City University of Hong Kong, Hong Kong, Xiaoxue Ma , Miao ZHANG City University of Hong Kong
Pre-print Media Attached
02:20
10m
Paper
Improving Code Summarization with Block-wise Abstract Syntax Tree Splitting
Research
Chen Lin , Zhichao Ouyang , Junqing Zhuang , Jianqiang Chen , Hui Li Department of Computer Science, Xiamen University, Rongxin Wu Xiamen University
Pre-print Media Attached

Information for Participants
Thu 20 May 2021 02:00 - 02:30 at ICPC Main Room - Code Summarization Chair(s): David Lo
Info for room ICPC Main Room:

Go directly to this room on Clowdr