English

Semantic GUI Scene Learning and Video Alignment for Detecting Duplicate Video-based Bug Reports

Software Engineering 2024-07-12 v1 Machine Learning

Abstract

Video-based bug reports are increasingly being used to document bugs for programs centered around a graphical user interface (GUI). However, developing automated techniques to manage video-based reports is challenging as it requires identifying and understanding often nuanced visual patterns that capture key information about a reported bug. In this paper, we aim to overcome these challenges by advancing the bug report management task of duplicate detection for video-based reports. To this end, we introduce a new approach, called JANUS, that adapts the scene-learning capabilities of vision transformers to capture subtle visual and textual patterns that manifest on app UI screens - which is key to differentiating between similar screens for accurate duplicate report detection. JANUS also makes use of a video alignment technique capable of adaptive weighting of video frames to account for typical bug manifestation patterns. In a comprehensive evaluation on a benchmark containing 7,290 duplicate detection tasks derived from 270 video-based bug reports from 90 Android app bugs, the best configuration of our approach achieves an overall mRR/mAP of 89.8%/84.7%, and for the large majority of duplicate detection tasks, outperforms prior work by around 9% to a statistically significant degree. Finally, we qualitatively illustrate how the scene-learning capabilities provided by Janus benefits its performance.

Keywords

Cite

@article{arxiv.2407.08610,
  title  = {Semantic GUI Scene Learning and Video Alignment for Detecting Duplicate Video-based Bug Reports},
  author = {Yanfu Yan and Nathan Cooper and Oscar Chaparro and Kevin Moran and Denys Poshyvanyk},
  journal= {arXiv preprint arXiv:2407.08610},
  year   = {2024}
}

Comments

13 pages, accepted to 46th International Conference on Software Engineering (ICSE 2024)

R2 v1 2026-06-28T17:37:33.503Z