Metraipolis › archive › dc_c283411555eb
AiXapply: Fast and Reliable Full-File Code Integration with Specialized Small Models for IDE Workflows — arXiv:2611.07634
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.07634
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-06T14:51:28.994Z
- SHA-256 of the archived text
68845997b7336df16b90f082c6aae917a3fac8b7a59868f8f9c1a6b88850f7ab- Stable URL of this page
https://metraipolis.com/documento/dc_c283411555eb
How to cite
AiXapply: Fast and Reliable Full-File Code Integration with Specialized Small Models for IDE Workflows — arXiv:2611.07634 — arXiv (en), https://arxiv.org/abs/2611.07634 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c283411555eb (Metraipolis archive dc_c283411555eb, sha256 68845997b7336df16b90f082c6aae917a3fac8b7a59868f8f9c1a6b88850f7ab)
BibTeX
@misc{dcc283411555eb,
title = {AiXapply: Fast and Reliable Full-File Code Integration with Specialized Small Models for IDE Workflows — arXiv:2611.07634},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.07634},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c283411555eb; sha256 68845997b7336df16b90f082c6aae917a3fac8b7a59868f8f9c1a6b88850f7ab},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.07634. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models increasingly assist developers by proposing small code edits, yet reliably integrating a partial update snippet into an existing file while preserving unrelated content remains poorly supported by current code-generation workflows. We formalize the Code Integration (Apply) task as follows: given an original file and an update snippet, the system must produce the complete merged file while preserving all content outside the requested edit. We construct a high-quality multi-language dataset from real commits via a structured pipeline that converts code changes into update snippets paired with full-file ground truth and enforces consistency through verification and filtering. We then train a specialized 4B model, aiXapply, using supervised fine-tuning and reinforcement learning (GRPO). The supervised variant achieves 94.4% accuracy under our language-aware comparison, surpassing a strong large-model (Deepseek-V3.2) baseline (91.6%). Speculative decoding enables aiXapply-RL to reach $\sim$2700 tokens/s on a single A100 in a decoding subset; on the full benchmark, it achieves roughly 75$\times$ lower latency than the API-served Deepseek-V3.2 baseline. We further conduct an industrial deployment of aiXapply-RL in the aiXcoder IDE plugin as a dedicated Apply service, reducing mean Apply latency from 50 seconds to 1.89 seconds by offloading full-file generation from the upstream large model. Under time-based capacity planning, replacing one of five upstream serving instances would save 20% of upstream machine cost before the additional shared A100 service cost. Overall, our results demonstrate that treating code integration as a standalone task enables small models to achieve high accuracy, practical efficiency, and concrete industrial benefits in real-world IDE workflows where latency, cost and privacy are critical. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2611.07634 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-06T14:21:57.531Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).