Write a Blog >>
ESEC/FSE 2022
Mon 14 - Fri 18 November 2022 Singapore
Mon 14 Nov 2022 12:00 - 12:15 at SRC Auditorium 2 - Machine Learning I Chair(s): Shin Yoo

In this work, we propose an approach for collecting completion usage logs from the users in an IDE and using them to train a machine learning based model for ranking completion candidates. We developed a set of features that describe completion candidates and their context, and deployed their anonymized collection in the Early Access Program of IntelliJ-based IDEs. We used the logs to collect a dataset of code completions from users, and employed it to train a ranking CatBoost model. Then, we evaluated it in two settings: on a held-out set of the collected completions and in a separate A/B test on two different groups of users in the IDE. Our evaluation shows that using a simple ranking model trained on the past user behavior logs significantly improved code completion experience. Compared to the default heuristics-based ranking, our model demonstrated a decrease in the number of typing actions necessary to perform the completion in the IDE from 2.073 to 1.832.

The approach adheres to privacy requirements and legal constraints, since it does not require collecting personal information, performing all the necessary anonymization on the client's side. Importantly, it can be improved continuously: implementing new features, collecting new data, and evaluating new models - this way, we have been using it in production since the end of 2020.

Mon 14 Nov

Displayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change

11:00 - 12:30
Machine Learning IIndustry Paper / Research Papers at SRC Auditorium 2
Chair(s): Shin Yoo KAIST
11:00
15m
Talk
Adaptive Fairness Improvement Based on Causality Analysis
Research Papers
Mengdi Zhang Singapore Management University, Jun Sun Singapore Management University
DOI
11:15
15m
Talk
Nalanda: A Socio-technical Graph Platform for Building Software Analytics Tools at Enterprise Scale
Industry Paper
Chandra Sekhar Maddila Microsoft Research, Suhas Shanbhogue Microsoft Research, Apoorva Agrawal Microsoft Research, Thomas Zimmermann Microsoft Research, Chetan Bansal Microsoft, Nicole Forsgren Microsoft Research, Divyanshu Agrawal Microsoft Research, Kim Herzig Microsoft, Arie van Deursen Delft University of Technology
DOI Pre-print
11:30
15m
Talk
NatGen: Generative Pre-training by “Naturalizing” Source Code
Research Papers
Saikat Chakraborty Microsoft Research, Toufique Ahmed University of California at Davis, Yangruibo Ding Columbia University, Prem Devanbu University of California at Davis, Baishakhi Ray Columbia University
DOI Pre-print Media Attached
11:45
15m
Talk
Uncertainty-Aware Transfer Learning to Evolve Digital Twins for Industrial Elevators
Industry Paper
Xu Qinghua Simula Research Laboratory; University of Oslo, Shaukat Ali Simula Research Laboratory, Tao Yue Simula Research Laboratory, Maite Arratibel Orona
DOI
12:00
15m
Talk
All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs
Industry Paper
Vitaliy Bibaev JetBrains, Alexey Kalina JetBrains, Vadim Lomshakov JetBrains, Yaroslav Golubev JetBrains Research, Alexander Bezzubov JetBrains, Nikita Povarov JetBrains, Timofey Bryksin JetBrains Research
DOI Pre-print