Rust in Everything
← Papers

Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood

Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, Safwan AlModhayan

2026-11-24▲ 51arXiv 2611.12164Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

No HTML full text was available; this digest is based on the abstract only.

TL;DR

Fixer-Guided Localization trains a code localizer on a frozen fixer's likelihood scores for verified patches, using weighted supervised fine-tuning without tests or reinforcement learning.

Problem

Code localizers are usually trained to predict the files a reference patch edits, but the code a fixer needs to read is not the same as the code it changes. The paper addresses training a localizer to propose the code a fixer needs. It builds the full pipeline on Gemma 4 E4B for the Kaggle Gemma-4 Developer Agent competition.

Method

FGL has the localizer propose several localizations. A frozen fixer scores each localization by how likely it makes a verified patch. The localizer is trained on these scores with weighted supervised fine-tuning. The pipeline does not run tests and does not use reinforcement learning. It is built on Gemma 4 E4B from 1,629 test-verified Kimi K3 trajectories.

Results

  • The FGL target helps the fixer find the bug as often as the teacher's localization while using less code. §Abstract
  • On the development set, one EM round gives more tasks that reach a patch compared with a matched control. §Abstract
  • One EM round gives fewer tasks stuck reading files that do not exist. §Abstract
  • One EM round gives more tasks solved. §Abstract
  • Trained agents explore more than the base model and write far fewer wrong patches. §Abstract
  • The single agent solves up to 11 of 78 tasks against 8 for the base model. §Abstract

Limitations

  • The abstract reports one EM round on the development set, so gains over multiple rounds or other splits are left open.
  • The evaluation is for a 4B model under an 8-minute budget; applicability to other model sizes or time budgets is not established in the abstract.
  • The analysis covers 13 evaluation runs, so robustness beyond that sample is left open.
  • The pipeline avoids test execution and reinforcement learning by design; the abstract does not report performance when those signals are available.

Key points

  • Code localizers are usually trained to predict files edited by a reference patch, but a fixer may need to read different code. §Abstract
  • FGL uses a frozen fixer to score localizer proposals by likelihood of a verified patch. §Abstract
  • The localizer is trained with weighted supervised fine-tuning, without running tests and without reinforcement learning. §Abstract
  • The pipeline is built on Gemma 4 E4B from 1,629 test-verified Kimi K3 trajectories. §Abstract
  • FGL uses 27.5% less code while helping the fixer find the bug as often as the teacher's localization. §Abstract
  • On the development set one EM round gives 53 vs. 46 tasks reaching a patch, 43 vs. 54 stuck on nonexistent files, and 8 vs. 6 solved. §Abstract
  • Trained agents explore about three times more and write far fewer wrong patches. §Abstract
  • The single agent solves up to 11 of 78 tasks versus 8 for the base model, and a 13-run analysis identifies time, repetition loops and edit quality as limits. §Abstract

Mind map

FGL
Problem
Localizer target differs from fixer need
Method
Localizer proposals
Frozen fixer scores
Weighted supervised fine-tuning
No tests or RL
Gemma 4 E4B pipeline
Data
1,629 Kimi K3 trajectories
Results
27.5% less code
Dev set one EM round
More exploration
11 of 78 tasks solved
Analysis
13 evaluation runs
Limits: time repetition edit quality

Related papers

💬 Related discussions

Loading...