mlsanityData to 7 Oct 2026

Improving Stack Overflow question title generation with copying enhanced CodeBERT model and bi-modal information

arXiv 2109.13073 ↗First posted 27 Sep 2021cs.CL cs.AI cs.PLcited by 5

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  9. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  10. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  11. 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
  12. 2020SummEval: Re-evaluating Summarization Evaluationcited by 666
26 more
  1. 2019Text Summarization with Pretrained Encoderscited by 553
  2. 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
  3. 2018Bottom-Up Abstractive Summarizationcited by 177
  4. 2020A Transformer-based Approach for Source Code Summarizationcited by 129
  5. 2016Neural Summarization by Extracting Sentences and Wordscited by 114
  6. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  7. 2016Modeling Coverage for Neural Machine Translationcited by 110
  8. 2019Discourse-Aware Neural Extractive Text Summarizationcited by 104
  9. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 99
  10. 2021A Comprehensive Assessment of Dialog Evaluation Metricscited by 90
  11. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  12. 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
  13. 2019Code Generation as a Dual Task of Code Summarizationcited by 62
  14. 2018Neural Document Summarization by Jointly Learning to Score and Select Sentencescited by 56
  15. 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
  16. 2019Retrieve and Refine: Exemplar-based Neural Comment Generationcited by 36
  17. 2021A Multi-Modal Transformer-based Code Summarization Approach for Smart Contractscited by 16
  18. 2020Generating Question Titles for Stack Overflow from Mined Code Snippetscited by 10
  19. 2018SOTorrent: Reconstructing and Analyzing the Evolution of Stack Overflow Postscited by 9
  20. 2013Fit or Unfit : Analysis and Prediction of 'Closed Questions' on Stack Overflowcited by 4
  21. 2017How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflowcited by 4
  22. 2013Want a Good Answer? Ask a Good Question First!cited by 3
  23. 2021Mining API Usage Scenarios from Stack Overflowcited by 3
  24. 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
  25. 2020What Skills do IT Companies look for in New Developers? A Study with Stack Overflow Jobscited by 1
  26. 2021Predicting Crash Fault Residence via Simplified Deep Forest Based on A Reduced Feature Setcited by 1

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 1; 2024: 2.

5 papers.