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 条
  • [31] Writing the rules in AI-assisted writing
    不详
    NATURE MACHINE INTELLIGENCE, 2023, 5 (05) : 469 - 469
  • [32] AI-ASSISTED STUDY OF AUXETIC STRUCTURES
    Grednev, Sergej
    Steude, Henrik S.
    Bronder, Stefan
    Niggemann, Oliver
    Jung, Anne
    18TH YOUTH SYMPOSIUM ON EXPERIMENTAL SOLID MECHANICS, YSESM 2023, 2023, 42 : 32 - 36
  • [33] AI-Assisted Vision for Agricultural Robots
    Fountas, Spyros
    Malounas, Ioannis
    Athanasakos, Loukas
    Avgoustakis, Ioannis
    Espejo-Garcia, Borja
    AGRIENGINEERING, 2022, 4 (03): : 674 - 694
  • [34] AI-assisted superresolution cosmological simulations
    Li, Yin
    Ni, Yueying
    Croft, Rupert A. C.
    Di Matteo, Tiziana
    Bird, Simeon
    Feng, Yu
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2021, 118 (19)
  • [35] AI-Assisted Laryngeal Examination System
    Baldini, Chiara
    Azam, Muhammad Adeel
    Thorniley, Madelaine
    Sampieri, Claudio
    Ioppi, Alessandro
    Peretti, Giorgio
    Mattos, Leonardo S.
    CANCER PREVENTION, DETECTION, AND INTERVENTION, CAPTION 2024, 2025, 15199 : 133 - 143
  • [36] AI-Assisted Insights into Developmental Disruption
    Kleinstreuer, N. C.
    BIRTH DEFECTS RESEARCH, 2023, 115 (08): : 838 - 838
  • [37] AI-ASSISTED TELECOMMUNICATIONS NETWORK MANAGEMENT
    COVO, AA
    MORUZZI, TM
    PETERSON, ED
    DALLAS GLOBECOM 89, VOLS 1-3: COMMUNICATIONS TECHNOLOGY FOR THE 1990S AND BEYOND, 1989, : 487 - 491
  • [38] Enhanced multi-line code for minutiae-based fingerprint template protection
    Wong, Wei Jing
    Teoh, Andrew B. J.
    Wong, M. L. Dennis
    Kho, Yau Hee
    PATTERN RECOGNITION LETTERS, 2013, 34 (11) : 1221 - 1229
  • [39] Multi-line code: A low complexity revocable fingerprint template for cancelable biometrics
    Wei-jing Wong
    Mou-ling Dennis Wong
    Yau-hee Kho
    Journal of Central South University, 2013, 20 : 1292 - 1297
  • [40] 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