arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.10763cs.CLcs.AIcs.SE
收藏

基于注意力的Stack Overflow问题相关度预测模型

Attention-based model for predicting question relatedness on Stack Overflow

South China University of Technology(华南理工大学);Research Institute of SCUT in Yangjiang(华南理工大学阳江研究院)

Jiayan Pei, Yimin Wu, Zishan Qin, Yao Cong, Jingtao Guan

摘要:

Stack Overflow是最受欢迎的基于编程社区的问答(PCQA)网站之一,近年来吸引了越来越多的用户。当用户在Stack Overflow中提出或询问问题时,提供相关问题可以帮助他们解决问题。虽然有许多基于深度学习的方法可以自动预测问题之间的相关性,但这些方法是有限的,因为两个问题之间的交互信息可能会丢失。本文采用深度学习技术,提出了一种基于注意力的句对交互模型(ASIM),用于自动预测Stack Overflow上问题之间的相关度。我们采用注意力机制来捕捉问句之间的语义交互信息。此外,我们已经为这个任务预先训练并发布了特定于软件工程领域的词嵌入,这也可能有助于其他相关任务。实验结果表明,ASIM在精确度,召回率和Micro-F1评估指标方面比基线方法有了显着的改进,在这项任务中实现了最先进的性能。我们的模型在AskUbuntu的重复问题检测任务中也表现良好,这是一个类似但不同的任务,证明了它的通用性和鲁棒性。

英文摘要:

Stack Overflow is one of the most popular Programming Community-based Question Answering (PCQA) websites that has attracted more and more users in recent years. When users raise or inquire questions in Stack Overflow, providing related questions can help them solve problems. Although there are many approaches based on deep learning that can automatically predict the relatedness between questions, those approaches are limited since interaction information between two questions may be lost. In this paper, we adopt the deep learning technique, propose an Attention-based Sentence pair Interaction Model (ASIM) to predict the relatedness between questions on Stack Overflow automatically. We adopt the attention mechanism to capture the semantic interaction information between the questions. Besides, we have pre-trained and released word embeddings specific to the software engineering domain for this task, which may also help other related tasks. The experiment results demonstrate that ASIM has made significant improvement over the baseline approaches in Precision, Recall, and Micro-F1 evaluation metrics, achieving state-of-the-art performance in this task. Our model also performs well in the duplicate question detection task of AskUbuntu, which is a similar but different task, proving its generalization and robustness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑