Write a Blog >>
MSR 2019
Sun 26 - Mon 27 May 2019 Montreal, QC, Canada
co-located with ICSE 2019

We consider the problem of developing suitable learning representations (embeddings) for library packages that capture semantic similarity among libraries. Such representations are known to improve the performance of downstream learning tasks (e.g. classification) or applications such as contextual search and analogical reasoning.

We apply word embedding techniques from natural language processing (NLP) to train embeddings for library packages (“library vectors”). Library vectors represent libraries by similar context of use as determined by import statements present in source code. Experimental results obtained from training such embeddings on three large open source software corpora reveals that library vectors capture semantically meaningful relationships among software libraries, such as the relationship between frameworks and their plug-ins and libraries commonly used together within ecosystems such as big data infrastructure projects (in Java), front-end and back-end web development frameworks (in JavaScript) and data science toolkits (in Python).

For a live demo of a contextual search engine built on import2vec, please visit https://www.code-compass.com.

Sun 26 May

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

11:00 - 11:45
Session I: Representations for Mining (Part 1)MSR 2019 Technical Papers / MSR 2019 Data Showcase at Place du Canada
Chair(s): Chanchal K. Roy University of Saskatchewan
11:00
15m
Full-paper
SCOR: Source Code Retrieval With Semantics and Order
MSR 2019 Technical Papers
Pre-print Media Attached
11:16
6m
Short-paper
PathMiner : A Library for Mining of Path-Based Representations of Code
MSR 2019 Technical Papers
Vladimir Kovalenko TU Delft, Egor Bogomolov Higher School of Economics, JetBrains Research, Timofey Bryksin , Alberto Bacchelli University of Zurich
DOI Pre-print Media Attached
11:23
15m
Full-paper
Import2vec: learning embeddings for software libraries
MSR 2019 Technical Papers
Bart Theeten Nokia Bell Labs, Belgium, Frederik Vandeputte , Tom Van Cutsem Nokia Bell Labs
Pre-print
11:39
6m
Talk
Semantic Source Code Models Using Identifier Embeddings
MSR 2019 Data Showcase
Vasiliki Efstathiou Athens University of Economics and Business, Diomidis Spinellis Athens University of Economics and Business
Pre-print