AI-Assisted Code Authoring at Scale: Fine-Tuning, Deploying, and Mixed Methods Evaluation
Vijayaraghavan Murali, Chandra Shekhar Maddila, Imad Ahmad, Michael Bolin, Daniel Cheng, Negar Ghorbani, Renuka Fernandez, Nachiappan Nagappan, Peter C. Rigby
摘要
Generative LLMs have been shown to effectively power AI-based code authoring tools that can suggest entire statements or blocks of code during code authoring. In this paper we present CodeCompose, an AI-assisted code authoring tool developed and deployed at Meta internally. CodeCompose is based on the InCoder LLM that merges generative capabilities with bi-directionality. We have scaled up CodeCompose to serve tens of thousands of developers at Meta, across 9 programming languages and several coding surfaces. We present our experience in making design decisions about the model and system architecture for CodeCompose that addresses these challenges. To release a LLM model at this scale, we needed to first ensure that it is sufficiently accurate. In a random sample of 20K source code files, depending on the language, we are able to reproduce hidden lines between 40% and 58% of the time, an improvement of 1.4× and 4.1× over a model trained only on public data. We gradually rolled CodeCompose out to developers. At the time of this writing, 16K developers have used it with 8% of their code coming directly from CodeCompose. To triangulate our numerical findings, we conduct a thematic analysis on the feedback from 70 developers. We find that 91.5% of the feedback is positive, with the most common themes being discovering APIs, dealing with boilerplate code, and accelerating coding. Meta continues to integrate this feedback into CodeCompose.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Droid: A Resource Suite for AI-Generated Code Detection 引用了 ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis 引用了 Language Models are Few-Shot Learners
- Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 Language Models are Few-Shot Learners
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding 引用了 Code Prediction by Feeding Trees to Transformers
- Direct Manipulation and Natural Language Programming, Together at Last? 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Direct Manipulation and Natural Language Programming, Together at Last? 引用了 How Beginning Programmers and Code LLMs (Mis)read Each Other
- InCoder: A Generative Model for Code Infilling and Synthesis 引用了 Language Models are Few-Shot Learners
- How Beginning Programmers and Code LLMs (Mis)read Each Other 引用了 CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
- How Beginning Programmers and Code LLMs (Mis)read Each Other 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- How Beginning Programmers and Code LLMs (Mis)read Each Other 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
引用它的顶会 Paper7
- How Beginning Programmers and Code LLMs (Mis)read Each OtherSydney Nguyen, Hannah McLean Babe, Yangtian Zi, Arjun Guha 等CHI 2024 · 66 次引用
- Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMsFederico Cassano, John Gouwar, Francesca Lucchetti, Claire Schlesinger 等OOPSLA 2024 · 33 次引用
- Droid: A Resource Suite for AI-Generated Code DetectionDaniil Orel, Indraneil Paul, Iryna Gurevych, Preslav NakovEMNLP 2025
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation GroundingIndraneil Paul, Haoyi Yang, Goran Glavas, Kristian Kersting 等ICLR 2025
- Direct Manipulation and Natural Language Programming, Together at Last?Parker Ziegler, David Minh-Duy Cao, Justin Lubin, Sarah E. ChasinsOOPSLA 2026
它引用的 Paper5
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 次引用
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program SynthesisErik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu 等ICLR 2023 · 234 次引用
- Code Prediction by Feeding Trees to TransformersSeohyun Kim, Jinman Zhao, Yuchi Tian, Satish ChandraICSE 2021 · 179 次引用
- InCoder: A Generative Model for Code Infilling and SynthesisDaniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang 等ICLR 2023 · 140 次引用
相关 Paper
- OpenCoder: The Open Cookbook for Top-Tier Code Large Language ModelsSiming Huang, Tianhao Cheng, Jason Klein Liu, Weidi Xu 等ACL 2025
- Fine-tuning Language Models for Joint Rewriting and Completion of Code with Potential BugsDingmin Wang, Jinman Zhao, Hengzhi Pei, Samson Tan 等ACL Findings 2024 · 1 次引用
- Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler FeedbackZhangqian Bi, Yao Wan, Zheng Wang, Hongyu Zhang 等ACL Findings 2024 · 18 次引用
- Language Models for Code Completion: A Practical EvaluationMaliheh Izadi, Jonathan Katzy, Tim van Dam, Marc Otten 等ICSE 2024 · 51 次引用
- Using an LLM to Help With Code UnderstandingDaye Nam, Andrew Macvean, Vincent J. Hellendoorn, Bogdan Vasilescu 等ICSE 2024 · 264 次引用
