AI Paper Introduces Fixer-Guided Localization for Bug Detection

AssemblyAI details a compliant AI cold-calling agent build




Home

Latest reporting

News


Researchers propose Fixer-Guided Localization (FGL), a method improving bug localization and patch success for coding agents without tests or reinforcement learning.





Editorial illustration; not a product screenshot or event photograph

Researchers Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, and Safwan AlModhayan have introduced a novel approach to bug localization in their paper, Let the Fixer Decide: Training a Code Localizer from the Fixer’s Prospect, published on November 9, 2026, on arXiv. The method, Fixer-Guided Localization (FGL), aims to enhance the efficiency of coding agents by training a code localizer using scores from a frozen fixer, without relying on tests or reinforcement learning.

Fixer-Guided Localization: A New Approach

Traditional code localizers are trained to predict files a reference patch edits, but this often overlooks the code a fixer needs to read. FGL addresses this by allowing the localizer to propose multiple localizations, which are then scored by a frozen fixer based on the likelihood of producing a verified patch. These scores are used to train the localizer through weighted supervised fine-tuning. This approach eliminates the need for running tests or employing reinforcement learning, streamlining the bug localization process.

Performance and Findings

The research team implemented the FGL pipeline on the Gemma 4 E4B platform for the Kaggle Gemma-4 Developer Agent competition, utilizing 1,629 test-verified Kimi K3 trajectories. Key findings include:

The FGL target enabled the fixer to locate bugs as effectively as the teacher’s localization while requiring 27.5% less code.On the development set, FGL-trained agents demonstrated improved performance: more tasks reached a patch (53 vs. 46), fewer tasks got stuck on non-existent files (43 vs. 54), and more tasks were solved (8 vs. 6).Trained agents explored three times more than the base model and produced significantly fewer incorrect patches. A single agent solved up to 11 out of 78 tasks, compared to 8 for the base model.

An analysis of 13 evaluation runs highlighted constraints for a 4B agent operating under an 8-minute task budget, including time limitations, repetitive loops, and edit quality. The study offers practical insights for training small coding agents.

Open-Source Implementation

The researchers have made their data, code, and adapters publicly available through an open-source repository on GitHub (https://github.com/misraj-ai/locfix). The repository includes tools for training a two-role software-engineering agent using supervised fine-tuning on Gemma 4. The localizer and fixer roles are implemented as LoRA adapters on a frozen, 4-bit (W4A16) base model, ensuring parity between training and deployment environments.

The repository also provides detailed documentation on training contexts, baselines, evaluation methods, and competition-specific configurations, enabling reproducibility and further exploration of the FGL methodology.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest