Studying and Recommending Information Highlighting in Stack Overflow Answers
Not on the map. Why?
Abstract (arXiv)
Context: Navigating the knowledge of Stack Overflow (SO) remains challenging. To make the posts vivid to users, SO allows users to write and edit posts with Markdown or HTML so that users can leverage various formatting styles (e.g., bold, italic, and code) to highlight the important information. Nonetheless, there have been limited studies on the highlighted information. Objective: We carried out the first large-scale exploratory study on the information highlighted in SO answers in our recent study. To extend our previous study, we develop approaches to automatically recommend highlighted content with formatting styles using neural network architectures initially designed for the Named Entity Recognition task. Method: In this paper, we studied 31,169,429 answers of Stack Overflow. For training recommendation models, we choose CNN-based and BERT-based models for each type of formatting (i.e., Bold, Italic, Code, and Heading) using the information highlighting dataset we collected from SO answers. Results: Our models achieve a precision ranging from 0.50 to 0.72 for different formatting types. It is easier to build a model to recommend Code than other types. Models for text formatting types (i.e., Heading, Bold, and Italic) suffer low recall. Our analysis of failure cases indicates that the majority of the failure cases are due to missing identification. One explanation is that the models are easy to learn the frequent highlighted words while struggling to learn less frequent words (i.g., long-tail knowledge). Conclusion: Our findings suggest that it is possible to develop recommendation models for highlighting information for answers with different formatting styles on Stack Overflow.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 57 references that are in the map. First posted on arXiv 3 Jan 2024.
Builds on
15 of 57 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2021Deep Long-Tailed Learning: A Surveycited by 417
- 2015Named Entity Recognition with Bidirectional LSTM-CNNscited by 201
- 2019Portuguese Named Entity Recognition using BERT-CRFcited by 73
- 2022Memorization in NLP Fine-tuning Methodscited by 45
- 2022PTM4Tag: Sharpening Tag Recommendation of Stack Overflow Posts with Pre-trained Modelscited by 16
- 2019An Empirical Study of Obsolete Answers on Stack Overflowcited by 14
- 2018Toxic Code Snippets on Stack Overflowcited by 9
- 2019Essential Sentences for Navigating Stack Overflow Answerscited by 4
Built on by
Citing papers per year: 2024: 2.
2 papers.