Skip to content
简体中文

切换主题

arXiv 2611.12164 · cs.AI · 2026-11-09

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

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

Misraj Ai

在最新榜 #150 本站收录于 2026-11-24

一句话要点

通过引入修复者对局部化建议的置信度评分,提出FGL方法,在不依赖测试或强化学习的情况下训练代码定位器,显著提升修复效率并减少无效代码阅读。

Fixer-Guided Localization improves code localization by leveraging a fixer's likelihood scores, reducing code reading by 27.5% while enhancing patch finding and agent exploration.

要点

  • 现有代码定位器常误判需读取的代码范围,导致无效探索;FGL通过修复者对候选位置的置信度评分,更精准地识别实际需要阅读的代码。
  • 方法设计中,定位器提出多个候选区域,冻结的修复器评估每个候选是否能生成有效补丁,定位器据此进行加权监督微调,无需运行测试或强化学习。
  • 实验表明,FGL在开发集上使更多任务成功找到补丁(53 vs 46),减少因读取不存在文件而卡住的任务(43 vs 54),并提升整体解决率(8 vs 6)。
  • 训练后的代理探索行为增加约三倍,生成错误补丁数量显著下降,单个代理在78项任务中完成11项,优于基线模型的8项,但受限于时间与编辑质量。
English overview

Fixer-Guided Localization (FGL) introduces a novel training paradigm where code localization proposals are scored by a fixed fixer based on their likelihood of generating valid patches. This avoids costly testing and reinforcement learning, using only supervised fine-tuning with weighted scores derived from verified patch outcomes. Evaluated on Kaggle Gemma-4 Developer Agent competition data, FGL improves patch discovery and agent exploration while reducing code reading by 27.5%. The approach demonstrates stronger performance in task completion and reduces erroneous patch generation compared to the base model.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

63HF 点赞
0GitHub stars
0引用(Semantic Scholar)
44.7热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)