showSidebars ==
showTitleBreadcrumbs == 1
node.field_disable_title_breadcrumbs.value ==

Pre-Conference Talk by KANG Hong Jin | Assessing the Generalizability of code2vec Token Embeddings

Please click here if you are unable to view this page.

 

Assessing the Generalizability of code2vec Token Embeddings



Speaker (s):



KANG Hong Jin

PhD Candidate

School of Information Systems

Singapore Management University


Date:


Time:


Venue:

 

November 4, 2019, Monday


3:00pm - 3:30pm


Meeting Room 5.1, Level 5

School of Information Systems

Singapore Management University

80 Stamford Road

Singapore 178902


We look forward to seeing you at this research seminar.


About the Talk


Many Natural Language Processing (NLP) tasks, such as sentiment analysis or syntactic parsing, have benefited from the development of word embedding models. In particular, regardless of the training algorithms, the learned embeddings have often been shown to be generalizable to different NLP tasks. In contrast, despite recent momentum on word embeddings for source code, the literature lacks evidence of their generalizability beyond the example task they have been trained for.


In this experience paper, we identify 3 potential downstream tasks, namely code comments generation, code authorship identification, and code clones detection, that source code token embedding models can be applied to. We empirically assess a recently proposed code token embedding model, namely code2vec’s token embeddings. Code2vec was trained on the task of predicting method names, and while there is potential for using the vectors it learns on other tasks, it has not been explored in literature. Therefore, we fill this gap by focusing on its generalizability for the tasks we have identified. Eventually, we show that source code token embeddings cannot be readily leveraged for the downstream tasks. Our experiments even show that our attempts to use them do not result in any improvements over less sophisticated methods. We call for more research into effective and general use of code embeddings.


This a pre-conference talk for 34th IEEE/ACM International Conference on Automated Software Engineering (ASE 2019).

 


About the Speaker


KANG Hong Jin is a PhD student in School of Information Systems, Singapore Management University. He is supervised by Associate Professor David Lo.