arrow
返回

Representation Learning for Stack Overflow Posts: How Far Are We?

堆栈溢出帖子的表示学习: 我们还有多远?

delete2024-03-15
delete5
delete
OA
AI
J
Junda He
X
Xin Zhou
B
Bowen Xu *
T
Ting Zhang
K
Kisub Kim *
Z
Zhou Yang
F
Ferdian Thung
I
Ivana Clairine Irsan
David Lo 封面图
David Lo (David Lo)
DOI:10.1145/3635711delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
The tremendous success of Stack Overflow has accumulated an extensive corpus of software engineering knowledge, thus motivating researchers to propose various solutions for analyzing its content. The performance of such solutions hinges significantly on the selection of representation models for Stack Overflow posts. As the volume of literature on Stack Overflow continues to burgeon, it highlights the need for a powerful Stack Overflow post representation model and drives researchers' interest in developing specialized representation models that can adeptly capture the intricacies of Stack Overflow posts. The state-of-the-art (SOTA) Stack Overflow post representation models are Post2Vec and BERTOverflow, which are built upon neural networks such as convolutional neural network and transformer architecture (e.g., BERT). Despite their promising results, these representation methods have not been evaluated in the same experimental setting. To fill the research gap, we first empirically compare the performance of the representation models designed specifically for Stack Overflow posts (Post2Vec and BERTOverflow) in a wide range of related tasks (i.e., tag recommendation, relatedness prediction, and API recommendation). The results show that Post2Vec cannot further improve the SOTA techniques of the considered downstream tasks, and BERTOverflow shows surprisingly poor performance. To find more suitable representation models for the posts, we further explore a diverse set of transformer-based models, including (1) general domain language models (RoBERTa, Longformer, and GPT2) and (2) language models built with software engineering related textual artifacts (CodeBERT, GraphCodeBERT, seBERT, CodeT5, PLBart, and CodeGen). This exploration shows that models like CodeBERT and RoBERTa are suitable for representing Stack Overflow posts. However, it also illustrates the No Silver Bullet concept, as none of the models consistently wins against all the others. Inspired by the findings, we propose SOBERT, which employs a simple yet effective strategy to improve the representation models of Stack Overflow posts by continuing the pre-training phase with the textual artifact from Stack Overflow. The overall experimental results demonstrate that SOBERT can consistently outperform the considered models and increase the SOTA performance significantly for all the downstream tasks.
Keyword:
Stack Overflow
transformers
pre-trained models
PTM4Tag+: Tag recommendation of stack overflow posts with pre-trained modelsPTM4Tag: 带有预训练模型的stack overflow帖子的标签推荐
err2024-11-20
err0
PREAI
errHe, Junda; Xu, Bowen; Yang, Zhou; Han, Donggyun; Yang, Chengran; Liu, Jiakun; Zhao, Zhipeng; Lo, David
err分享
err收藏
err分享
err收藏
err分享
err收藏
An empirical study of IoT topics in IoT developer discussions on Stack Overflow关于Stack Overflow的讨论
err2021-09-06
err21
PREAI
errUddin, Gias; Sabir, Fatima; Gueheneuc, Yann-Gael; Alam, Omar; Khomh, Foutse
err分享
err收藏

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.4K
被引数:
4.5K

机构

新
新加坡管理大学
学者数:
229
论文数: 159
被引数: 2.3K
N
North Carolina State University
学者数:
1.5K
论文数: 646
被引数: 1.7W
引用论文

引用论文

What do developers search for on the web?
err2017-04-09
err132
PREAI
errXia, Xin; Bao, Lingfeng; Lo, David; Kochhar, Pavneet Singh; Hassan, Ahmed E.; Xing, Zhenchang
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收藏
YAC transgene-mediated olfactory receptor gene choiceYAC转基因介导的嗅觉受体基因选择
err2000-02-01
err0
errOAAI
errFarah A.W. Ebrahimi; James Edmondson; Rodney Rothstein; Andrew Chess
err分享
err收藏
err分享
err收藏
Cyclin-dependent kinases in cancer: Role, regulation, and therapeutic targeting
err2023-01-01
err0
PREAI
errAshna Gupta; Gunjan Dagar; Ravi Chauhan; Hana Q. Sadida; Sara K. Almarzooqi; Sheema Hashem; Shahab Uddin; Muzafar A. Macha; Ammira S. Al-Shabeeb Akil; Tej K. Pandita; Ajaz A. Bhat; Mayank Singh
err分享
err收藏
学者 查看更多内容