Write a Blog >>
ICSE 2021
Mon 17 May - Sat 5 June 2021

The way developers edit day-to-day code tends to be repetitive, often using existing code elements. Many researchers have tried to automate repetitive code changes by learning from specific change templates which are applied to limited scope. The advancement of deep neural networks and the availability of vast open-source evolutionary data opens up the possibility of automatically learning those templates from the wild. However, deep neural network based modeling for code changes and code in general introduces some specific problems that needs specific attention from research community. For instance, compared to natural language, source code vocabulary can be significantly larger. Further, good changes in code do not break its syntactic structure. Thus, deploying state-of-the-art neural network models without adapting the methods to the source code domain yields sub-optimal results. To this end, we propose a novel tree-based neural network system to model source code changes and learn code change patterns from the wild. Specifically, we propose a tree-based neural machine translation model to learn the probability distribution of changes in code. We realize our model with a change suggestion engine, CODIT, and train the model with more than 30k real-world changes and evaluate it on 6k patches. Our evaluation shows the effectiveness of CODIT in learning and suggesting patches. CODIT can also learn specific bug fix pattern from bug fixing patches and can fix 27 bugs out of 75 one line bugs in Defects4J.

Tue 25 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

15:20 - 16:15
1.3.2. Deep Neural Networks: Supporting SE Tasks #1NIER - New Ideas and Emerging Results / Journal-First Papers / Technical Track at Blended Sessions Room 2 +12h
Chair(s): Ayse Tosun Istanbul Technical University
15:20
20m
Paper
CODIT: Code Editing with Tree-Based Neural ModelsJournal-First
Journal-First Papers
Saikat Chakraborty Columbia University, Yangruibo Ding Columbia University, Miltiadis Allamanis Microsoft Research, UK, Baishakhi Ray Columbia University, USA
Link to publication DOI Pre-print Media Attached
15:40
20m
Paper
Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT ModelsACM SIGSOFT Distinguished PaperTechnical Track
Technical Track
Jinfeng Lin University of Notre Dame, Yalin Liu University of Notre Dame, Qingkai Zeng University of Notre Dame, Meng Jiang University of Notre Dame, Jane Cleland-Huang University of Notre Dame
Pre-print Media Attached
16:00
15m
Paper
A Cognitive and Machine Learning-Based Software Development Paradigm Supported by ContextNIER
NIER - New Ideas and Emerging Results
Glaucia Melo University of Waterloo, Paulo Alencar University of Waterloo, Don Cowan University of Waterloo
Pre-print Media Attached

Wed 26 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

03:20 - 04:15
03:20
20m
Paper
CODIT: Code Editing with Tree-Based Neural ModelsJournal-First
Journal-First Papers
Saikat Chakraborty Columbia University, Yangruibo Ding Columbia University, Miltiadis Allamanis Microsoft Research, UK, Baishakhi Ray Columbia University, USA
Link to publication DOI Pre-print Media Attached
03:40
20m
Paper
Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT ModelsACM SIGSOFT Distinguished PaperTechnical Track
Technical Track
Jinfeng Lin University of Notre Dame, Yalin Liu University of Notre Dame, Qingkai Zeng University of Notre Dame, Meng Jiang University of Notre Dame, Jane Cleland-Huang University of Notre Dame
Pre-print Media Attached
04:00
15m
Paper
A Cognitive and Machine Learning-Based Software Development Paradigm Supported by ContextNIER
NIER - New Ideas and Emerging Results
Glaucia Melo University of Waterloo, Paulo Alencar University of Waterloo, Don Cowan University of Waterloo
Pre-print Media Attached