{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/17728"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/17728","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"Improving Bug Localization with Textual and Multimedia Information Retrieval Leveraging Large Language Models","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Yeasmin, Shamima"],"institution":"University of Saskatchewan","degree_name":"Doctor of Philosophy (Ph.D.)","degree_level":"Doctoral","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Roy, Chanchal","Schneider, Kevin A."],"committee_chairs":[],"committee_members":["Mondal, Debajyoti","Li, Heng","McCalla, Gord","Keil, Mark","Khan, Shahedul","Vassileva , Julita"],"year":2026,"date_issued":"2026-01-06","date_published":"2026-01-06","updated_at":"2026-11-19T10:02:38Z","subjects":["Bug Localization","Information Retrieval","Bug Report Quality","Large Language Models (LLMs)","Visual Bug Report","AI Agent"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0003-6539-6229"],"render_values":[{"text":"0009-0003-6539-6229","href":"https://orcid.org/0009-0003-6539-6229","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/10388/17728","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/17728","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asask%3Aoai%3Aharvest.usask.ca%3A10388%2F17728","prefix":"oai_dc"},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F17728","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Roy, Chanchal","Schneider, Kevin A."]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Mondal, Debajyoti","Li, Heng","McCalla, Gord","Keil, Mark","Khan, Shahedul","Vassileva , Julita"]},{"key":"dc:creator","label":"Author","values":["Yeasmin, Shamima"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0003-6539-6229"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-01-06T21:47:29Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-01-06T21:47:29Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2025"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-12"]},{"key":"dc:date.issued","label":"Date","values":["2026-01-06"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["December 2025"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-01-06T21:47:29Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy (Ph.D.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Bug Localization","Information Retrieval","Bug Report Quality","Large Language Models (LLMs)","Visual Bug Report","AI Agent"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/17728"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Improving Bug Localization with Textual and Multimedia Information Retrieval Leveraging Large Language Models"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Roy, Chanchal","Schneider, Kevin A."],"dc:contributor.committeemember":["Mondal, Debajyoti","Li, Heng","McCalla, Gord","Keil, Mark","Khan, Shahedul","Vassileva , Julita"],"dc:creator":["Yeasmin, Shamima"],"dc:date.accessioned":["2026-01-06T21:47:29Z"],"dc:date.available":["2026-01-06T21:47:29Z"],"dc:date.copyright":["2025"],"dc:date.created":["2025-12"],"dc:date.issued":["2026-01-06"],"dc:date.submitted":["December 2025"],"dc:date.updated":["2026-01-06T21:47:29Z"],"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."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/17728"],"dc:language.iso":["en"],"dc:subject":["Bug Localization","Information Retrieval","Bug Report Quality","Large Language Models (LLMs)","Visual Bug Report","AI Agent"],"dc:title":["Improving Bug Localization with Textual and Multimedia Information Retrieval Leveraging Large Language Models"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0009-0003-6539-6229"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy (Ph.D.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T10:02:38Z"}