Multi-line AI-Assisted Code Authoring

被引:0
|
作者
Dunay, Omer [1 ]
Cheng, Daniel [2 ]
Tait, Adam [1 ]
Thakkar, Parth [3 ]
Rigby, Peter C. [1 ,4 ]
Chiu, Andy [1 ]
Ahmad, Imad [3 ]
Ganesan, Arun [1 ]
Maddila, Chandra [2 ]
Murali, Vijayaraghavan [3 ]
Tayyebi, Ali [1 ]
Nagappan, Nachiappan [1 ]
机构
[1] Meta Platforms Inc, New York, NY 10003 USA
[2] Meta Platforms Inc, Bellevue, WA USA
[3] Meta Platforms Inc, Menlo Pk, CA USA
[4] Concordia Univ, Montreal, PQ, Canada
关键词
AI; Developer productivity; Neural code completion; Program synthesis; LLM code authoring; User experience; Responsiveness;
D O I
10.1145/3663529.3663836
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
CodeCompose is an AI-assisted code authoring tool powered by large language models (LLMs) that provides inline suggestions all developers at Meta. In this paper, we present how we scaled the product from displaying single-line suggestions to multi-line suggestions. This evolution required us to overcome several unique challenges in improving the usability of these suggestions for developers. First, we discuss how multi-line suggestions can have a "jarring" effect, as the LLM's suggestions constantly move around the developer's existing code, which would otherwise result in decreased productivity and satisfaction. Second, multi-line suggestions take significantly longer to generate; hence we present several innovative investments we made to reduce the perceived latency for users. These model-hosting optimizations sped up multi-line suggestion latency by 2.5x. Finally, we conduct experiments on 10's of thousands of engineers to understand how multi-line suggestions impact the user experience and contrast this with single-line suggestions. Our experiments reveal that (i) multi-line suggestions account for 42% of total characters accepted (despite only accounting for 16% for displayed suggestions) (ii) multi-line suggestions almost doubled the percentage of keystrokes saved for users from 9% to 17%. Multi-line CODECOMPOSE has been rolled out to all engineers at Meta, and less than 1% of engineers have opted out of multi-line suggestions.
引用
收藏
页码:150 / 160
页数:11
相关论文
共 50 条
  • [41] Multi-line code: A low complexity revocable fingerprint template for cancelable biometrics
    WONG Wei-jing
    WONG Mou-ling Dennis
    KHO Yau-hee
    Journal of Central South University, 2013, 20 (05) : 1292 - 1297
  • [42] Editable AI: Mixed Human-AI Authoring of Code Patterns
    Chugh, Kartik
    Solis, Andrea Y.
    LaToza, Thomas D.
    2019 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2019), 2019, : 35 - 43
  • [43] Multi-line spectropolarimetry at THEMIS
    Paletou, F
    Molodij, G
    ADVANCED SOLAR POLARIMETRY: THEORY, OBSERVATION, AND INSTRUMENTA TION, 2001, 236 : 9 - 15
  • [44] Implementing AI Ethics in the Design of AI-assisted Rescue Robots
    Martin, Desiree
    Schmidt, Michael W.
    Hillerbrand, Rafaela
    2023 IEEE INTERNATIONAL SYMPOSIUM ON ETHICS IN ENGINEERING, SCIENCE, AND TECHNOLOGY, ETHICS, 2023,
  • [45] Multi-Line TRL Revisited
    Rolain, Yves
    Ishteva, Mariya
    Van Nechel, Evi
    Ferranti, Francesco
    2015 85TH ARFTG MICROWAVE MEASUREMENT CONFERENCE, 2015,
  • [46] DEPLOYING MULTI-LINE SALESMEN
    STICKNEY, RW
    HARVARD BUSINESS REVIEW, 1960, 38 (02) : 110 - 112
  • [47] THEMIS multi-line spectropolarimetry
    Paletou, F
    Molodij, G
    MAGNETIC FIELDS ACROSS THE HERTZSPRUNG-RUSSELL DIAGRAM, 2001, 248 : 617 - 620
  • [48] MULTI-LINE LASER PHOTOCOAGULATOR
    BEHRENDT, T
    AMERICAN JOURNAL OF OPHTHALMOLOGY, 1970, 69 (05) : 885 - &
  • [49] AI-Assisted Forward Modeling of Biological Structures
    Lawrimore, Josh
    Doshi, Ayush
    Walker, Benjamin
    Bloom, Kerry
    FRONTIERS IN CELL AND DEVELOPMENTAL BIOLOGY, 2019, 7
  • [50] AI-assisted assessment and treatment of aphasia: a review
    Zhong, Xiaoyun
    FRONTIERS IN PUBLIC HEALTH, 2024, 12