ICPC 2023
Mon 15 - Tue 16 May 2023 Melbourne, Australia
co-located with ICSE 2023

Source code representation with deep learning techniques is an important research field. There have been many studies that learn sequential or structural information for code representation. But sequence-based models and non-sequence-models both have their limitations. Researchers attempt to incorporate structural information to sequence-based models, but they only mine part of token-level hierarchical structure information. In this paper, we analyze how the complete hierarchical structure influences the tokens in code sequences and abstract this influence as a property of code tokens called hierarchical embedding. The hierarchical embedding is further divided into statement-level global hierarchy and token-level local hierarchy. Furthermore, we propose the Hierarchy Transformer (HiT), a simple but effective sequence model to incorporate the complete hierarchical embeddings of source code into a Transformer model. We demonstrate the effectiveness of hierarchical embedding on learning code structure with an experiment on variable scope detection task. Further evaluation shows that HiT outperforms SOTA baseline models and show stable training efficiency on three source code-related tasks involving classification and generation tasks across 8 different datasets.

Tue 16 May

Displayed time zone: Hobart change

09:00 - 10:30
Keynote / Code AnalysisDiscussion / Tool Demonstration / Research / Early Research Achievements (ERA) / ICPC Keynotes at Meeting Room 106
Chair(s): Christoph Treude University of Melbourne, Nicolás Cardozo Universidad de los Andes, Raula Gaikovina Kula Nara Institute of Science and Technology, Chaiyong Rakhitwetsagul Mahidol University, Thailand
09:00
45m
Keynote
Kobi Leins: Guidance on more than just standing upright to create safe models, software and use of data
ICPC Keynotes

09:45
9m
Full-paper
Implant Global and Local Hierarchy Information to Sequence based Code Representation Models
Research
Kechi Zhang Peking University, China, Zhuo Li , Zhi Jin Peking University, Ge Li Peking University
Pre-print
09:54
9m
Full-paper
Pathways to Leverage Transcompiler based Data Augmentation for Cross-Language Clone Detection
Research
Subroto Nag Pinku University of Saskatchewan, Debajyoti Mondal University of Saskatchewan, Chanchal K. Roy University of Saskatchewan
Pre-print
10:03
5m
Short-paper
Investigating the Generalizability of Deep Learning-based Clone Detectors
Early Research Achievements (ERA)
Eunjong Choi Kyoto Institute of Technology, Norihiro Fuke Osaka University, Yuji Fujiwara Osaka University, Norihiro Yoshida Ritsumeikan University, Katsuro Inoue Nanzan University
10:08
5m
Short-paper
UnityLint: A Bad Smell Detector for Unity
Tool Demonstration
Matteo Bosco University of Sannio, Italy, Pasquale Cavoto University of Sannio, Italy, Augusto Ungolo University of Sannio, Italy, Biruk Asmare Muse Polytechnique Montréal, Foutse Khomh Polytechnique Montréal, Vittoria Nardone , Massimiliano Di Penta University of Sannio, Italy
Pre-print
10:13
17m
Panel
Discussion 5
Discussion