2023/05/26 by Bonan Kou, Muhao Chen, Kou, Bonan +3 · 2 citations
Computer Science · #FOS: Computer and information sciences #Social and Information Networks (cs.SI) #Software Engineering (cs.SE) #Software Engineering Research #Software Engineering Techniques and Practices #Topic Modeling
paper · pdf · doi:10.48550/arxiv.2305.16680
openalex publication_date 2023/05/26 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
Software developers often resort to Stack Overflow (SO) to fill their programming needs. Given the abundance of relevant posts, navigating them and comparing different solutions is tedious and time-consuming. Recent work has proposed to automatically summarize SO posts to concise text to facilitate the navigation of SO posts. However, these techniques rely only on information retrieval methods or heuristics for text summarization, which is insufficient to handle the ambiguity and sophistication of natural language. This paper presents a deep learning based framework called ASSORT for SO post summarization. ASSORT includes two complementary learning methods, ASSORTS and ASSORTIS, to address the lack of labeled training data for SO post summarization. ASSORTS is designed to directly train a novel ensemble learning model with BERT embeddings and domainspecific features to account for the unique characteristics of SO posts. By contrast, ASSORTIS is designed to reuse pre-trained models while addressing the domain shift challenge when no training data is present (i.e., zero-shot learning). Both ASSORTS and ASSORTIS outperform six existing techniques by at least 13% and 7% respectively in terms of the F1 score. Furthermore, a human study shows that participants significantly preferred summaries generated by ASSORTS and ASSORTIS over the best baseline, while the preference difference between ASSORTS and ASSORTIS was small.