# A Comparative Study of Text Embedding Models for Semantic Text Similarity in Bug Reports

arXiv: https://arxiv.org/abs/2308.09193 · HTML: https://mlsanity.com/paper/2308.09193/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 7 of its 26 references that are in the map.
- First posted on arXiv 17 Aug 2023.

## Builds on (most cited first, 7 of 7)

- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [Language Models are Few-Shot Learners](https://mlsanity.com/paper/2005.14165/) (2020)
- [Enriching Word Vectors with Subword Information](https://mlsanity.com/paper/1607.04606/) (2016)
- [A Comprehensive Survey of Regression Based Loss Functions for Time Series Forecasting](https://mlsanity.com/paper/2211.02989/) (2022)
- [An Overview of Deep Learning Architectures in Few-Shot Learning Domain](https://mlsanity.com/paper/2008.06365/) (2020)
- [Leveraging Generative AI Models for Synthetic Data Generation in Healthcare: Balancing Research and Privacy](https://mlsanity.com/paper/2305.05247/) (2023)
- [Auto-labelling of Bug Report using Natural Language Processing](https://mlsanity.com/paper/2212.06334/) (2022)

## Built on by (most cited first, 2 of 2)

- [A Comprehensive Survey of Evaluation Techniques for Recommendation Systems](https://mlsanity.com/paper/2312.16015/) (2023)
- [Advances and Challenges in Semantic Textual Similarity: A Comprehensive Survey](https://mlsanity.com/paper/2601.03270/) (2025)

## Abstract (arXiv)

Bug reports are an essential aspect of software development, and it is crucial to identify and resolve them quickly to ensure the consistent functioning of software systems. Retrieving similar bug reports from an existing database can help reduce the time and effort required to resolve bugs. In this paper, we compared the effectiveness of semantic textual similarity methods for retrieving similar bug reports based on a similarity score. We explored several embedding models such as TF-IDF (Baseline), FastText, Gensim, BERT, and ADA. We used the Software Defects Data containing bug reports for various software projects to evaluate the performance of these models. Our experimental results showed that BERT generally outperformed the rest of the models regarding recall, followed by ADA, Gensim, FastText, and TFIDF. Our study provides insights into the effectiveness of different embedding methods for retrieving similar bug reports and highlights the impact of selecting the appropriate one for this task. Our code is available on GitHub.
