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.
An Empirical Study of OpenAI API Discussions on Stack Overflow
School of Artificial Intelligence and Computer Science, Nantong University(人工智能与计算机科学学院,南通大学);State Key Lab. for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);Chang Chien College, Nantong University(长进学院,南通大学);Computer School, Beijing Information Science and Technology University(计算机学院,北京信息科技大学)
本文首次对 Stack Overflow 上 2,874 个 OpenAI API 相关讨论进行实证研究,通过人工分类和主题建模识别开发人员面临的主要挑战,并为开发者、LLM 供应商和研究者提出可操作建议。
Are Large Language Models a Threat to Digital Public Goods? Evidence from Activity on Stack Overflow
Complexity Science Hub, Vienna(维也纳复杂科学中心);Harvard Kennedy School(哈佛大学肯尼迪学院);Faculty of Economics, LMU Munich(慕尼黑大学经济学院);Corvinus University of Budapest(布达佩斯考文纽斯大学);Centre for Economic and Regional Studies, Hungary(匈牙利经济与区域研究中心)
Improving Stack Overflow question title generation with copying enhanced CodeBERT model and bi-modal information
Wuhan University of Technology(武汉理工大学);Wuhan University(武汉大学);Wuhan University of Technology Chongqing Research Institute(武汉理工大学重庆研究院);Sanya Science and Education Innovation Park of Wuhan University of Technology(武汉理工大学三亚科教创新园);City University of Hong Kong(香港城市大学)
StaQC: A Systematically Mined Question-Code Dataset from Stack Overflow
The Ohio State University(俄亥俄州立大学);University of Washington(华盛顿大学);Fujitsu Labs of America(富士通美国实验室)
Stack Overflow(SO)是自然语言问题及其代码解决方案的重要来源(即,问题-代码对),这对于包括代码检索和注释在内的许多任务都是至关重要的。在大多数现有的研究中,问题代码对收集的经验教训,往往有低质量。在本文中,我们研究了一个新的问题,系统地挖掘问题代码对从堆栈溢出(相对于收集他们)。它被公式化为预测代码片段是否是问题的独立解决方案。我们提出了一种新的双视图层次神经网络,它可以捕获代码片段的编程内容和文本上下文(即,两种观点)来进行预测。在Python和SQL领域的两个手动注释数据集上,我们的框架大大优于探试法,F1和准确率至少高出15%。此外,我们还介绍了StaQC(Stack Overflow Question-Code pairs),这是迄今为止最大的数据集,包含约148 K Python和约120 K SQL问题代码对,使用我们的框架自动从SO中挖掘出来。在各种案例研究中,我们证明了StaQC可以极大地帮助开发数据饥饿的模型,将自然语言与程序设计语言相关联。
Diverse Title Generation for Stack Overflow Posts with Multiple Sampling Enhanced Transformer
Wuhan University(武汉大学);Huazhong University of Science and Technology(华中科技大学);Wuhan University of Technology(武汉理工大学);Deakin University(迪肯大学);City University of Hong Kong(香港城市大学)