mlsanityData to 13 Oct 2026

Stack Trace Deduplication: Faster, More Accurately, and in More Realistic Scenarios

arXiv 2412.14802 ↗First posted 19 Dec 2024cs.SE cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

In large-scale software systems, there are often no fully-fledged bug reports with human-written descriptions when an error occurs. In this case, developers rely on stack traces, i.e., series of function calls that led to the error. Since there can be tens and hundreds of thousands of them describing the same issue from different users, automatic deduplication into categories is necessary to allow for processing. Recent works have proposed powerful deep learning-based approaches for this, but they are evaluated and compared in isolation from real-life workflows, and it is not clear whether they will actually work well at scale. To overcome this gap, this work presents three main contributions: a novel model, an industry-based dataset, and a multi-faceted evaluation. Our model consists of two parts - (1) an embedding model with byte-pair encoding and approximate nearest neighbor search to quickly find the most relevant stack traces to the incoming one, and (2) a reranker that re-ranks the most fitting stack traces, taking into account the repeated frames between them. To complement the existing datasets collected from open-source projects, we share with the community SlowOps - a dataset of stack traces from IntelliJ-based products developed by JetBrains, which has an order of magnitude more stack traces per category. Finally, we carry out an evaluation that strives to be realistic: measuring not only the accuracy of categorization, but also the operation time and the ability to create new categories. The evaluation shows that our model strikes a good balance - it outperforms other models on both open-source datasets and SlowOps, while also being faster on time than most. We release all of our code and data, and hope that our work can pave the way to further practice-oriented research in the area.

Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 14 of its 35 references that are in the map. First posted on arXiv 19 Dec 2024.

Builds on

14 of 35 references.

References · 14

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,712
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,360
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
  4. 2017Billion-scale similarity search with GPUscited by 2,490
  5. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,169
  6. 2019Passage Re-ranking with BERTcited by 638
  7. 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
  8. 2019BERT with History Answer Embedding for Conversational Question Answeringcited by 67
  9. 2021Rethinking InfoNCE: How Many Negative Samples Do You Need?cited by 18
  10. 2021Smoothed Contrastive Learning for Unsupervised Sentence Embeddingcited by 14
  11. 2020TraceSim: A Method for Calculating Stack Trace Similaritycited by 5
  12. 2021S3M: Siamese Stack (Trace) Similarity Measurecited by 3
2 more
  1. 2021The IntelliJ Platform: a Framework for Building Plugins and Mining Software Datacited by 3
  2. 2022Aggregation of Stack Trace Similarities for Crash Report Deduplicationcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.