arrow
返回

Post2Vec: Learning Distributed Representations of Stack Overflow Posts

delete2022-09-01
delete18
delete
OA
AI
B
Bowen Xu *
T
Thong Hoang
A
Abhishek Sharma
C
Chengran Yang
X
Xin Xia
D
David Lo
DOI:10.1109/TSE.2021.3093761delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Past studies have proposed solutions that analyze Stack Overflow content to help users find desired information or aid various downstream software engineering tasks. A common step performed by those solutions is to extract suitable representations of posts; typically, in the form of meaningful vectors. These vectors are then used for different tasks, for example, tag recommendation, relatedness prediction, post classification, and API recommendation. Intuitively, the quality of the vector representations of posts determines the effectiveness of the solutions in performing the respective tasks. In this work, to aid existing studies that analyze Stack Overflow posts, we propose a specialized deep learning architecture Post2Vec which extracts distributed representations of Stack Overflow posts. Post2Vec is aware of different types of content present in Stack Overflow posts, i.e., title, description, and code snippets, and integrates them seamlessly to learn post representations. Tags provided by Stack Overflow users that serve as a common vocabulary that captures the semantics of posts are used to guide Post2Vec in its task. To evaluate the quality of Post2Vec's deep learning architecture, we first investigate its end-to-end effectiveness in tag recommendation task. The results are compared to those of state-of-the-art tag recommendation approaches that also employ deep neural networks. We observe that Post2Vec achieves 15-25 percent improvement in terms of F1-score@5 at a lower computational cost. Moreover, to evaluate the value of representations learned by Post2Vec, we use them for three other tasks, i.e., relatedness prediction, post classification, and API recommendation. We demonstrate that the representations can be used to boost the effectiveness of state-of-the-art solutions for the three tasks by substantial margins (by 10, 7, and 10 percent in terms of F1-score, F1-score, and correctness, respectively). We release our replication package at https://github.com/maxxbw/Post2Vec.
Keyword:
Task analysis
Feature extraction
Semantics
Computer architecture
Encoding
Deep learning
Computational modeling

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

H
huawei technologies
学者数:
3.3K
论文数: 2.9K
被引数: 1
S
Singapore Management University
学者数:
1.5K
论文数: 2.5K
被引数: 3.5K
引用论文

引用论文

Firefighting Acutely Increases Airway Responsiveness消防急性增加气道反应性
err1989-07-01
err0
PREAI
errCharles B. Sherman; Scott Barnhart; Mary F. Miller; Mark R. Segal; Moira Aitken; Robert Schoene; William Daniell; Linda Rosenstock
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收藏
A Solution-Focused Approach to Shared Athlete Leadership Development Using Mixed Methods
err2022-06-01
err0
PREAI
errChristopher Maechel; Todd M. Loughead; V. Vanessa Wergin; Tom Kossak; Jürgen Beckmann
err分享
err收藏
err分享
err收藏
Disruption of a primary health care domestic violence and abuse service in two London boroughs: interrupted time series evaluation
err2020-06-22
err0
errOAAI
errJasmina Panovska-Griffiths; Alex Hardip Sohal; Peter Martin; Estela Barbosa Capelas; Medina Johnson; Annie Howell; Natalia V Lewis; Gene Feder; Chris Griffiths; Sandra Eldridge
err分享
err收藏
err分享
err收藏
Episodic nyctohemeral secretion of melatonin in adult humans: Lack of relation with LH pulsatile pattern
err1990-01-01
err0
PREAI
errAlberto de Leiva; Federico Tortosa; Miguel A. Peinado; José Serrano; José Rodriguez-Espinosa; Manuel Puig-Domingo
err分享
err收藏
学者 查看更多内容