DEV Community

aimodels-fyi
aimodels-fyi

Posted on Originally published at aimodels.fyi

Training Code Localization with a Fixer’s Patch Likelihood

This is a Plain English Papers summary of a research paper called Training Code Localization with a Fixer’s Patch Likelihood. If you like these kinds of analyses, you can find more AI and machine-learning research on AIModels.fyi or follow us on Twitter.

FGL matches teacher localization with less code, and modestly improves a small coding agent

The paper builds Fixer-Guided Localization (FGL), training a code localizer to select context that helps a fixer produce a verified patch—not merely to name files the reference patch edits. On the development set, the resulting agent solved 8 tasks versus 6 for a matched control; its localization let the fixer find bugs as often as the teacher’s while supplying 27.5% less code. In a separate evaluation, the single agent solved up to 11 of 78 tasks, compared with 8 for the base model.

A frozen fixer scores candidate context, turning patch likelihood into a training signal

For each issue, the localizer proposes multiple candidate localizations. A frozen fixer then scores each candidate by how likely it is to yield the verified patch. Those scores weight supervised fine-tuning (training on examples with stronger weights for better-scoring outputs), so the localizer learns what context supports fixing rather than copying the patch’s changed-file list....


Continue reading the full paper summary on AIModels.fyi →

Top comments (0)