PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 12, 2024Proceedings of the ACM on software engineering.23 citationsOpen Access

AI-Assisted Code Authoring at Scale: Fine-Tuning, Deploying, and Mixed Methods Evaluation

View Full Paper
VMVijayaraghavan MuraliCMChandra MaddilaIAImad Ahmad

Key Points

  • CodeCompose improves coding efficiency, delivering 8% of code suggestions to developers.
  • In a sample of 20,000 source code files, reproduction rates are between 40% and 58%, indicating accuracy gains.
  • Assessment across multiple programming languages demonstrates the effectiveness of AI-based support tools for developers' needs in coding tasks and processes for better usability for CodeCompose's architecture and scaling strategies. Positive feedback from 70 developers indicates substantial satisfaction with CodeCompose, especially for discovering APIs and reducing boilerplate code.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Murali et al. (2024) studied this question.

synapsesocial.com/papers/68e60790b6db64358759b13dhttps://doi.org/10.1145/3643774
Ask AI
Helpful
Bookmark
Share
View Full Paper