aifollow.news
Back Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · Original publication time AI score54

Microsoft paper describes a unified code editing model for GitHub CopilotMachine translation

AI introduction

The paper describes a model that generates code suggestions as diff patches, combining code completion with nearby and far-away edits. The cited account says that, in live A/B tests against the previous three-model setup, the first merged model reduced time to display by 6.77% and output tokens by 58.93%. The final model alone increased dismissed suggestions by 12.24%, while client changes turned that into a 10.06% decrease.

Original post · Original

@rohanpaul_ai

– https://arxiv.org/abs/2611.33314

Title: "Building a Unified Inline Code Editing Model for GitHub Copilot"

ReplyRohan Paul@rohanpaul_ai
New Microsoft paper shows that a single model can handle code completion, nearby edits, and far-away edits in Copilot by writing every suggestion as a diff patch. And cuts output tokens by 58.93% with no measurable quality loss. Copilot used to call separate models for completing code, editing nearby lines, and editing far away, in a fixed order. That cost several model calls per suggestion. They trained 1 model that outputs a list of diff patches, each saying where to edit and what to change. Several edits fit in 1 response, so later ones come from a cache. In live A/B tests against the 3-model setup, the 1st merged model cut time to display by 6.77% and output tokens by 58.93%. The final 3-in-1 model alone raised dismissed suggestions by 12.24%, but client changes turned that into a 10.06% drop.
View this post on X ↗

Source: Rohan Paul · x.com

Research
Found an error? Send a correction