Back to search

University of Saskatchewan

Improving Bug Localization with Textual and Multimedia Information Retrieval Leveraging Large Language Models

Abstract

dc:description.abstract

Software bugs and failures cost the global economy billions of dollars every year. Software developers also spend ∼50% of their programming time tackling these bugs and failures. Over the last two decades, software engineering researchers have put forward many techniques using Information Retrieval (IR) to automatically locate software bugs and have reported promising results. Although these techniques are scalable and lightweight, their effectiveness remains low for a practical adoption by the developers. Recently, several studies incorporate additional sources of information (e.g., version control history, bug-fix history) in bug localization, but they have been found to be less effective, which is surprising. On the other hand, many bug reports from modern software systems include multimedia information (e.g., images, videos), but they have not been leveraged well to find software bugs. Thus, bug localization remains an open problem that warrants further investigation and more careful analysis. In this thesis, we conduct four studies that (a) carefully examine the traditional, text-driven, IR-based methods for bug localization, (b) incorporate both textual and multimedia information (e.g., images) from bug reports, and (c) capitalize on the unique strengths of Large Language Models (LLM) to advance IR-based bug localization. In our first study, we investigate the effectiveness of traditional (e.g., bug reports, source code) and external sources of information (e.g., version history, stack trace, author history), and found the structured texts from bug reports and code to be the most effective for bug localization. While combining multiple information sources is generally useful, the quality of bug reports (i.e., query) cannot be ignored in bug localization using IR methods. Thus, in our second study, we examine how bug reports’ quality and their localization hints impact the effectiveness of eight existing techniques for bug localization. We observed that these techniques consistently underperform when applied to low-quality bug reports. In other words, despite having extra information (e.g., bug-fixing history), these techniques suffer from low-quality bug reports, indicating major limitations of text-only information for bug localization. In our third study, we thus analyze the images attached to bug reports, extract their key elements by employing LLMs (e.g., GPT-4o) and leverage multimedia content (e.g., images) to support bug localization. We found that multimedia information (e.g., images) enhanced the bug localization, although the full potential of LLM was not used. Finally, in our fourth study, we investigate how LLMs’ reasoning and reflection capabilities (i.e., as AI agents) can be harnessed to better analyze the bug reports with multimedia content (e.g., images) and thereby to enhance bug localization. We found that the reasoning and reflection capabilities of LLM-powered AI agents enhance the performance of IR-based bug localization with significant margin. Thus, our findings not only enhance the current understanding of challenges in bug localization but also advance the modern tool support for this challenging maintenance task.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy (Ph.D.)
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
University of Saskatchewan
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yeasmin, Shamima
Advisors dc:contributor.advisor
  • Roy, Chanchal
  • Schneider, Kevin A.
Committee members dc:contributor.committeemember
  • Mondal, Debajyoti
  • Li, Heng
  • McCalla, Gord
  • Keil, Mark
  • Khan, Shahedul
  • Vassileva , Julita
ORCID person:identifier.orcid

Subjects

dc:subject × 6

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10388/17728

Chain of custody

source
Harvested from
University of Saskatchewan
Base URL
harvest.usask.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Yeasmin, Shamima. Improving Bug Localization with Textual and Multimedia Information Retrieval Leveraging Large Language Models. Doctoral thesis, University of Saskatchewan, 2026. https://hdl.handle.net/10388/17728