Write a Blog >>
ICPC 2022
Mon 16 - Tue 17 May 2022
co-located with ICSE 2022
Mon 16 May 2022 21:14 - 21:21 at ICPC room - Session 9: Program Representation 2 Chair(s): Lingxiao Jiang

Code representation, which transforms programs into vectors with semantics, is essential for source code processing. We have witnessed the effectiveness of incorporating structural information (i.e., graph) into code representations in recent years. Specifically, the abstract syntax tree (AST) and the AST-augmented graph of the program contain much structural and semantic information, and most existing studies apply them for code representation. However, the graph adopted by existing approaches is homogeneous, i.e., it discards the type information of the edges and the nodes lying within AST, causing plausible obstruction to the representation model.

In this paper, we propose to leverage the type information in the graph for code representation. To be specific, we propose the heterogeneous program graph (HPG), which provides the types of the nodes and the edges explicitly.Furthermore, we employ the heterogeneous graph transformer (HGT) architecture to generate representations based on HPG, considering the type of information during processing.With the additional types in HPG, our approach can capture complex structural information, produce accurate and delicate representations, and finally perform well on certain tasks. Our in-depth evaluations upon four classic datasets for two typical tasks (i.e., method name prediction and code classification) demonstrate that the heterogeneous types in HPG benefit the representation models. Our proposed HPG+HGT also outperforms the SOTA baselines on the subject tasks and datasets.

Mon 16 May

Displayed time zone: Eastern Time (US & Canada) change

21:00 - 21:50
Session 9: Program Representation 2Research at ICPC room
Chair(s): Lingxiao Jiang Singapore Management University
21:00
7m
Talk
HELoC: Hierarchical Contrastive Learning of Source Code Representation
Research
Xiao Wang Shandong Normal University, Qiong Wu Shandong Normal University, Hongyu Zhang University of Newcastle, Chen Lyu Shandong Normal University, Xue Jiang Shandong Normal University, Zhuoran Zheng Nanjing University of Science and Technology, Lei Lyu Shandong Normal University, Songlin Hu Institute of Information Engineering, Chinese Academy of Sciences
Media Attached
21:07
7m
Talk
Exploring GNN Based Program Embedding Technologies for Binary related Tasks
Research
YixinGuo Peking University, Pengcheng Li Google, Inc, Yingwei Luo Peking University, Xiaolin Wang Peking University, Zhenlin Wang Michigan Technological University
Media Attached
21:14
7m
Talk
Learning Heterogeneous Type Information in Program Graphs
Research
Kechi Zhang Peking University, Wenhan Wang Nanyang Technological University, Huangzhao Zhang Peking University, Ge Li Peking University, Zhi Jin Peking University
DOI Pre-print Media Attached
21:21
7m
Talk
Unified Abstract Syntax Tree Representation Learning for Cross-language Program Classification
Research
Kesu Wang Nanjing University, Meng Yan Chongqing University, He Zhang Nanjing University, Haibo Hu Chongqing University
Media Attached
21:28
7m
Talk
On the Transferability of Pre-trained Language Models for Low-Resource Programming Languages
Research
Fuxiang Chen University of British Columbia, Fatemeh Hendijani Fard University of British Columbia, David Lo Singapore Management University, Timofey Bryksin JetBrains Research; HSE University
Pre-print Media Attached
21:35
15m
Live Q&A
Q&A-Paper Session 9
Research


Information for Participants
Mon 16 May 2022 21:00 - 21:50 at ICPC room - Session 9: Program Representation 2 Chair(s): Lingxiao Jiang
Info for room ICPC room:

Click here to go to the room on Midspace