paper-with-me

홈 › Papers

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

2024-12-19 · Egor Shibaev, Denis Sushentsev, Yaroslav Golubev, Aleksandr Khvorov

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.

📄 PDF Abstract BibTeX arXiv:2412.14802

Code (1)

jetbrains-research/stack-trace-deduplication 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Stack Trace-Based Crash Deduplication with Transformer Adaptation

2025-08-26 · Md Afif Al Mamun, Gias Uddin, Lan Xia, Longyu Zhang arxiv

Automated crash reporting systems generate large volumes of duplicate reports, overwhelming issue-tracking systems and increasing developer workload. Traditional stack trace-based deduplication methods, relying on string…

Information Retrieval

What Causes Exceptions in Machine Learning Applications? Mining Machine Learning-Related Stack Traces on Stack Overflow

2023-04-25 · Amin Ghadesi, Maxime Lamothe, Heng Li

Machine learning (ML), including deep learning, has recently gained tremendous popularity in a wide range of applications. However, like traditional software, ML applications are not immune to the bugs that result from p…

LSHBloom: Memory-efficient, Extreme-scale Document Deduplication

2024-11-06 · Arham Khan, Robert Underwood, Carlo Siebenschuh, Yadu Babuji 외

Deduplication is a major focus for assembling and curating training datasets for large language models (LLM) -- detecting and eliminating additional instances of the same content -- in large collections of technical docu…

Memorization

A Language Model of Java Methods with Train/Test Deduplication

2023-05-15 · Chia-Yi Su, Aakash Bansal, Vijayanta Jain, Sepideh Ghanavati 외

This tool demonstration presents a research toolkit for a language model of Java source code. The target audience includes researchers studying problems at the granularity level of subroutines, statements, or variables i…

DescriptiveLanguage ModelingLanguage Modelling

DeepInsight: A Unified Evaluation Infrastructure Across the Physical AI Stack

2026-06-16 · Siyi Li, Chunyu Sun, Jiahao Zhang, Yuchen Kang 외 arxiv

Evaluating a Physical AI stack spans operators that differ by more than three orders of magnitude -- from a single foundation-model decoding step to thousands of physics ticks of whole-body control -- varying orthogonall…