arrow
返回

Diverse title generation for Stack Overflow posts with multiple-sampling-enhanced transforme

delete2023-06-01
delete6
delete
OA
AI
Z
Zhang, Fengji
J
Jin Liu *
Y
Yao Wan
X
Xiao Yu *
刘笑 封面图
刘笑 (Xiao Liu)
J
Jacky Keung
DOI:10.1016/j.jss.2023.111672delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Stack Overflow is one of the most popular programming communities where developers can seek help for their encountered problems. Nevertheless, if inexperienced developers fail to describe their problems clearly, it is hard for them to attract sufficient attention and get the anticipated answers. To address such a problem, we propose M3NSCT5, a novel approach to automatically generate multiple post titles from the given code snippets. Developers may take advantage of the generated titles to find closely related posts and complete their problem descriptions. M3NSCT5 employs the CodeT5 backbone, which is a pre-trained Transformer model with an excellent language understanding and generation ability. To alleviate the ambiguity issue that the same code snippets could be aligned with different titles under varying contexts, we propose the maximal marginal multiple nucleus sampling strategy to generate multiple high-quality and diverse title candidates at a time for the developers to choose from. We build a large-scale dataset with 890,000 question posts covering eight programming languages to validate the effectiveness of M3NSCT5. The automatic evaluation results on the BLEU and ROUGE metrics demonstrate the superiority of M3NSCT5 over six state-of-the-art baseline models. Moreover, a human evaluation with trustworthy results also demonstrates the great potential of our approach for real-world applications.(c) 2023 Elsevier Inc. All rights reserved.
Keyword:
Stack Overflow
Title generation
CodeT5
Nucleus sampling
Maximal marginal ranking
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
8.4K

机构

C
City University of Hong Kong
学者数:
2.3W
论文数: 3.0W
被引数: 6.1W
W
Wuhan University of Technology
学者数:
3.4W
论文数: 2.4W
被引数: 4.4W
D
Deakin University
学者数:
2.0W
论文数: 2.1W
被引数: 2.8W
W
wuhan university
学者数:
8.1W
论文数: 5.8W
被引数: 70
学者 查看更多机构
引用论文

引用论文

SCALING WITH KNOWN UNCERTAINTY: A SYNTHESIS
err2006-01-01
err0
PREAI
errJIANGUO WU; HARBIN LI; K. BRUCE JONES; ORIE L. LOUCKS
err分享
err收藏
EnTagRec++: An enhanced tag recommendation system for software information sites
err2017-07-21
err60
errOAAI
errWang, Shaowei; Lo, David; Vasilescu, Bogdan; Serebrenik, Alexander
err分享
err收藏
Caveolin-1 and -2 regulate cell motility in castration-resistant prostate cancer
err2018-10-01
err0
errOAAI
errToyoharu Kamibeppu; Koji Yamasaki; Kozue Nakahara; Takahiro Nagai; Naoki Terada; Hiromasa Tsukino; Shoichiro Mukai; Toshiyuki Kamoto
err分享
err收藏
Environmental Performance Index to Assess the Situation in Regions of Ukraine in Terms of their Competitiveness
err2021-03-01
err0
errOAAI
errWladyslawa Luczka; Nadiia Shmygol; Irina Varlamova; Joanna Smoluk-Sikorska; Mariusz Malinowski
err分享
err收藏
err分享
err收藏
Automatic source code summarization with graph attention networks
err2022-06-01
err26
errOAAI
errZhou, Yu; Shen, Juanjuan; Zhang, Xiaoqing; Yang, Wenhua; Han, Tingting; Chen, Taolue
err分享
err收藏
SeCNN: A semantic CNN parser for code comment generation
err2021-11-01
err30
PREAI
errLi, Zheng; Wu, Yonghao; Peng, Bin; Chen, Xiang; Sun, Zeyu; Liu, Yong; Yu, Deli
err分享
err收藏
Anthelmintic efficacy of cranberry vine extracts on ovine Haemonchus contortus
err2018-04-01
err0
errOAAI
errCarly D. Barone; Anne M. Zajac; Laura A. Manzi-Smith; Amy B. Howell; Jess D. Reed; Christian G. Krueger; Katherine H. Petersson
err分享
err收藏
学者 查看更多内容