Improving Stack Overflow question title generation with copying enhanced CodeBERT model and bi-modal information
Not on the map. Why?
Abstract (arXiv)
Context: Stack Overflow is very helpful for software developers who are seeking answers to programming problems. Previous studies have shown that a growing number of questions are of low quality and thus obtain less attention from potential answerers. Gao et al. proposed an LSTM-based model (i.e., BiLSTM-CC) to automatically generate question titles from the code snippets to improve the question quality. However, only using the code snippets in the question body cannot provide sufficient information for title generation, and LSTMs cannot capture the long-range dependencies between tokens. Objective: This paper proposes CCBERT, a deep learning based novel model to enhance the performance of question title generation by making full use of the bi-modal information of the entire question body. Method: CCBERT follows the encoder-decoder paradigm and uses CodeBERT to encode the question body into hidden representations, a stacked Transformer decoder to generate predicted tokens, and an additional copy attention layer to refine the output distribution. Both the encoder and decoder perform the multi-head self-attention operation to better capture the long-range dependencies. This paper builds a dataset containing around 200,000 high-quality questions filtered from the data officially published by Stack Overflow to verify the effectiveness of the CCBERT model. Results: CCBERT outperforms all the baseline models on the dataset. Experiments on both code-only and low-resource datasets show the superiority of CCBERT with less performance degradation. The human evaluation also shows the excellent performance of CCBERT concerning both readability and correlation criteria.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 38 of its 61 references that are in the map. First posted on arXiv 27 Sep 2021.
Builds on
38 of 61 references.
References · 38
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
- 2020SummEval: Re-evaluating Summarization Evaluationcited by 666
26 more
- 2019Text Summarization with Pretrained Encoderscited by 553
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
- 2018Bottom-Up Abstractive Summarizationcited by 177
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2016Neural Summarization by Extracting Sentences and Wordscited by 114
- 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
- 2016Modeling Coverage for Neural Machine Translationcited by 110
- 2019Discourse-Aware Neural Extractive Text Summarizationcited by 104
- 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 99
- 2021A Comprehensive Assessment of Dialog Evaluation Metricscited by 90
- 2020Improved Code Summarization via a Graph Neural Networkcited by 79
- 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
- 2019Code Generation as a Dual Task of Code Summarizationcited by 62
- 2018Neural Document Summarization by Jointly Learning to Score and Select Sentencescited by 56
- 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
- 2019Retrieve and Refine: Exemplar-based Neural Comment Generationcited by 36
- 2021A Multi-Modal Transformer-based Code Summarization Approach for Smart Contractscited by 16
- 2020Generating Question Titles for Stack Overflow from Mined Code Snippetscited by 10
- 2018SOTorrent: Reconstructing and Analyzing the Evolution of Stack Overflow Postscited by 9
- 2013Fit or Unfit : Analysis and Prediction of 'Closed Questions' on Stack Overflowcited by 4
- 2017How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflowcited by 4
- 2013Want a Good Answer? Ask a Good Question First!cited by 3
- 2021Mining API Usage Scenarios from Stack Overflowcited by 3
- 2021How do developers discuss and support new programming languages in technical Q&A site? An empirical study of Go, Swift, and Rust in Stack Overflowcited by 2
- 2020What Skills do IT Companies look for in New Developers? A Study with Stack Overflow Jobscited by 1
- 2021Predicting Crash Fault Residence via Simplified Deep Forest Based on A Reduced Feature Setcited by 1
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 2.
5 papers.
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2024From Text Segmentation to Smart Chaptering: A Novel Benchmark for Structuring Video Transcriptionscited by 16
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
- 2022Diverse Title Generation for Stack Overflow Posts with Multiple Sampling Enhanced Transformercited by 2
- 2022Learning to Learn to Predict Performance Regressions in Production at Metacited by 1
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translation23 Apr 2024
- 2024From Text Segmentation to Smart Chaptering: A Novel Benchmark for Structuring Video Transcriptions27 Feb 2024
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-training8 Feb 2023
- 2022Diverse Title Generation for Stack Overflow Posts with Multiple Sampling Enhanced Transformer24 Aug 2022
- 2022Learning to Learn to Predict Performance Regressions in Production at Meta8 Aug 2022