Path-Based Function Embeddings

Daniel DeFreez, Aditya V. Thakur, and Cindy Rubio-González

Proceedings of the 40th International Conference on Software Engineering: Companion Proceedings, ICSE 2018, 2018

Identifying relationships among program elements, such as functions, is useful for program understanding, debugging, and analysis. We present func2vec, an algorithm that uses static traces to embed functions in a vector space such that related functions are close together, even if they are semantically and syntactically dissimilar. We present applications of func2vec that aid program comprehension.

@inproceedings{defreez_thakur_rubio_ICSE2018,
  author = {DeFreez, Daniel and Thakur, Aditya V. and Rubio{-}Gonz{\'{a}}lez, Cindy},
  title = {Path-Based Function Embeddings},
  booktitle = {Proceedings of the 40th International Conference on Software Engineering: Companion Proceedings, {ICSE} 2018},
  year = {2018},
  pages = {430--431},
  doi = {10.1145/3183440.3195042},
  publisher = {ACM}
}

Back to Publications