arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.20223cs.SE
收藏

JetBrains IDE 中的代码补全控制模型

Control Models for In-IDE Code Completion

JetBrains;JetBrains Research(JetBrains 研究)

Aral de Moor, Yana Hrynevich, Hleb Badzeika, Vladyslav Furda, Marko Kojic, Artem Savelev, Kostadin Cvejoski, Darya Rovdo, Ekaterina Garanina

AI总结:

本文提出基于提升和变压器架构的控制模型,用于提升 JetBrains IDE 中 LLM 驱动的代码补全效率和质量。

摘要:

我们介绍了用于 JetBrains IDEs 中基于 LLM 的代码补全的控制模型:ML 分类器,用于触发推理并过滤生成的建议,以更好地与用户对齐并减少不必要的请求。为此,我们评估了基于提升和变压器的架构,使用包含 n=98 名用户的真实代码补全数据集。我们进一步在语法多样化的语言上评估了我们基于提升的方法的离线分类性能,并在生产环境中进行了 A/B 研究,结果表明它们提高了补全效率和质量指标。通过这项研究,我们希望展示在使用辅助模型实现更智能的 IDE 集成 LLM 驱动功能的潜力,突出有前途的未来方向和开放问题。

英文摘要:

We introduce control models for LLM-powered code completion in JetBrains IDEs: ML classifiers which trigger inference and filter the generated suggestions to better align them with users and reduce unnecessary requests. To this end, we evaluate boosting- and transformer-based architectures on an offline dataset of real code completions with n=98 users. We further evaluate the offline classification performance of our boosting-based approach on a range of syntactically diverse languages; and perform an A/B study in a production environment where they improve completion efficiency and quality metrics. With this study, we hope to demonstrate the potential in using auxiliary models for smarter in-IDE integration of LLM-driven features, highlight fruitful future directions, and open problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑