Microsoft paper: unified Copilot editing model cuts output tokens 58.93% and display time 6.77% vs 3-model setup
rohanpaul_ai · x · 2026-11-30
Microsoft's Code|AI and VS Code teams published "Building a Unified Inline Code Editing Model for GitHub Copilot," replacing a 3-model pipeline (completion, nearby edits, long-distance edits) with one model:
- Method: the new model outputs a sequence of anchored diff patches in one output space, so a single response can carry multiple edits and the client serves later ones from cache without extra model calls.
- Training: two phases — first unify next-edit and long-distance edit prediction, then add completion; multi-edit supervision is synthesized via model pseudolabeling and edit-history playback, with a binary LLM-graded reward and a shared patch-validity taxonomy.
- Online A/B results: the Phase 1 merged model cut time-to-display by 6.77% and output tokens by 58.93% vs the 3-model baseline; Phase 2's 3-in-1 model plus client changes reduced dismissed suggestions per user by 10.06% vs the 2-in-1 setup.
More from coding & agent
- Microsoft's unified Copilot inline editing paper hits arXiv: anchored diff patches replace 3-model pipeline, tokens cut 58.93% — rohanpaul_ai · 2026-11-30
- Neo4j Open-Sources Relate, an Embedded Rust Graph Engine for Local Agent Memory — TheTuringPost · 2026-11-30
- Agents say goodnight before maxing your usage limits — autonomous overnight runs — _lewtun · 2026-11-30
- Swarms aren't a new scaling axis — just more tokens for speed, researcher argues — justalexoki · 2026-11-30
- Open-source Graphport turns LangGraph agents into apps inside ChatGPT and Claude with one config line — hwchase17 · 2026-11-30
- What does your AI coding agent forget between sessions? Devs compare notes on memory gaps — niobiumorg · 2026-11-30