Stack Trace-Based Crash Deduplication with Transformer Adaptation

Md Afif Al Mamun, Gias Uddin, Lan Xia, Longyu Zhang
8/26/2025
cs.SEcs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

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 similarity, rule-based heuristics, or deep learning (DL) models, often fail to capture the contextual and structural relationships within stack traces.

Show full abstract

We propose dedupT, a transformer-based approach that models stack traces holistically rather than as isolated frames. dedupT first adapts a pretrained language model (PLM) to stack traces, then uses its embeddings to train a fully-connected network (FCN) to rank duplicate crashes effectively. Extensive experiments on real-world datasets show that dedupT outperforms existing DL and traditional methods (e.g., sequence alignment and information retrieval techniques) in both duplicate ranking and unique crash detection, significantly reducing manual triage effort. On four public datasets, dedupT improves Mean Reciprocal Rank (MRR) often by over 15% compared to the best DL baseline and up to 9% over traditional methods while achieving higher Receiver Operating Characteristic Area Under the Curve (ROC-AUC) in detecting unique crash reports. Our work advances the integration of modern natural language processing (NLP) techniques into software engineering, providing an effective solution for stack trace-based crash deduplication.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mamun2025stack,
  title  = {Stack Trace-Based Crash Deduplication with Transformer Adaptation},
  author = {Md Afif Al Mamun and Gias Uddin and Lan Xia and Longyu Zhang},
  year   = {2025},
  eprint = {2508.19449},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.19449v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.19449.svg)](https://codeofpaper.com/paper/2508.19449)

Discussion