mlsanityData to 14 Oct 2026

From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learning

arXiv 2609.38402 ↗First posted 29 Sep 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce C2C (From Codebase to Culprit), a framework for precise bug localization that progressively reduces the debugging search space across multiple levels of granularity: files, functions, and lines of code. To mirror developer's natural top-down debugging workflows, C2C integrates semantic retrieval and Hierarchical Reinforcement Learning (HRL) in a two-stage process. First, it performs recall-oriented retrieval of buggy candidates via semantic vector similarity search using bug-report text, including available stack-trace information, against a database of embeddings, where the embeddings are fine-tuned via contrastive learning with CodeBERT. Building on this reduced search space, the HRL framework incrementally localizes bugs, reasoning from files to functions and ultimately to individual lines of code. Unlike prior approaches which operate at a single granularity, C2C enables multi-resolution localization while maintaining contextual consistency across decisions. Experiments on real-world Java and Python datasets demonstrate that C2C improves retrieval precision and localization accuracy. Ablation studies further highlight the contributions of hierarchical decomposition, structured learning signals, and reward shaping in advancing multi-level bug localization.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 46 references that are in the map. First posted on arXiv 29 Sep 2026.

Builds on

14 of 46 references.

References · 14

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  4. 2023Large Language Models for Test-Free Fault Localizationcited by 67
  5. 2025Hard Negative Mining for Domain-Specific Retrieval in Enterprise Systemscited by 14
  6. 2018An Empirical Study of Fault Localization Families and Their Combinationscited by 13
  7. 2021Fast Changeset-based Bug Localization with BERTcited by 13
  8. 2025Bridging Bug Localization and Issue Fixing: A Hierarchical Localization Framework Leveraging Large Language Modelscited by 11
  9. 2016Spectrum-based Software Fault Localization: A Survey of Techniques, Advances, and Challengescited by 9
  10. 2023RLocator: Reinforcement Learning for Bug Localizationcited by 7
  11. 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learningcited by 7
  12. 2025When Deep Learning Meets Information Retrieval-based Bug Localization: A Surveycited by 6
2 more
  1. 2019Ahead of Time Mutation Based Fault Localisation using Statistical Inferencecited by 1
  2. 2023An Empirical Study of Fault Localization in Python Programscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
  2. 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognition
  3. 2026BLAgent: Agentic RAG for File-Level Bug Localization
  4. 2026PreciseCoder: Faithful and Generalizable Debugging Beyond Unit-Test Rewards
  5. 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads
  6. 2025Reformulate, Retrieve, Localize: Agents for Repository-Level Bug Localization
  7. 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoning
  8. 2026Reinforcement Learning for Software Vulnerability Analysis: A Systematic Review with Emphasis on C/C++ Source Code and Static Analysis