כתבה
arXiv cs.CL ·
Function-Aware Fill-in-the-Middle as Mid-Training for Coding Agent Foundation Models
תקציר מקורי באנגליתarXiv:2607.12463v3 Announce Type: replace-cross Abstract: Coding agents must integrate external tool returns into ongoing reasoning - a capability that standard left-to-right pretraining on code exposes only in its forward direction. We observe that the action-observation-continuation loop of a coding agent is structurally isomorphic to a function call site, where a caller binds arguments, a callee returns a value computed elsewhere, and downstream code consumes that value. This conditioning structure exists at internet scale in ordinary code. We exploit it through function-aware fill-in-the-middle (FIM) mid-training: a self-supervised objective that masks functions selected via program dependency graph analysis and a complexity-inferability double criterion. We mid-train Qwen2.5-Coder-Ins
קרא במקור המקורי
arxiv.org
פתח כתבה מקורית