Tue 6 Nov 2018 13:52 - 14:15 at Horizons 6-9F - Deep Learning Chair(s): David Rosenblum

Measuring code similarity is fundamental for many software engineering tasks,
e.g., code search, refactoring and reuse. However, most existing techniques
focus on code syntactical similarity only, while measuring code functional
similarity remains a challenging problem. In this paper, we propose a
novel approach that encodes code control flow and
data flow into a semantic matrix in which each element is a
high dimensional sparse binary feature vector, and we design a new deep
learning model that measures code functional similarity based
on this representation.
By concatenating hidden representations learned from a code pair,
this new
model transforms the problem of detecting functionally similar code
to binary classification, which can effectively learn patterns between
functionally similar code with very different syntactics.

We have implemented our approach, DeepSim, for Java programs and evaluated its
recall, precision and time performance on two large datasets of functionally
similar code. The experimental results show that DeepSim significantly
outperforms existing state-of-the-art techniques, such as DECKARD, RtvNN, CDLH,
and two baseline deep neural networks models.

Tue 6 Nov
Times are displayed in time zone: (GMT-05:00) Guadalajara, Mexico City, Monterrey change

fse-2018-research-papers
13:30 - 15:00: Research Papers - Deep Learning at Horizons 6-9F
Chair(s): David RosenblumNational University of Singapore
fse-2018-research-papers13:30 - 13:52
Talk
Vincent HellendoornUniversity of California at Davis, USA, Christian BirdMicrosoft Research, Earl T. Barr, Miltiadis AllamanisMicrosoft Research, Cambridge
fse-2018-research-papers13:52 - 14:15
Talk
Gang Zhao, Jeff HuangTexas A&M University
fse-2018-research-papers14:15 - 14:37
Talk
Jordan HenkelUniversity of Wisconsin–Madison, Shuvendu K. LahiriMicrosoft Research, Ben LiblitUniversity of Wisconsin–Madison, Thomas RepsUniversity of Wisconsin - Madison and GrammaTech, Inc.
fse-2018-research-papers14:37 - 15:00
Talk
Shiqing MaPurdue University, USA, Yingqi LiuPurdue University, USA, Wen-Chuan LeePurdue University, Xiangyu ZhangPurdue University, Ananth GramaPurdue University, USA