mlsanityData to 14 Oct 2026

A Literature Study of Embeddings on Source Code

arXiv 1904.03061 ↗First posted 5 Apr 2019cs.LG cs.PL cs.SEcited by 18

Not on the map. Why?

Abstract (arXiv)

Natural language processing has improved tremendously after the success of word embedding techniques such as word2vec. Recently, the same idea has been applied on source code with encouraging results. In this survey, we aim to collect and discuss the usage of word embedding techniques on programs and source code. The articles in this survey have been collected by asking authors of related work and with an extensive search on Google Scholar. Each article is categorized into five categories: 1. embedding of tokens 2. embedding of functions or methods 3. embedding of sequences or sets of method calls 4. embedding of binary code 5. other embeddings. We also provide links to experimental data and show some remarkable visualization of code embeddings. In summary, word embedding has been successfully applied on different granularities of source code. With access to countless open-source repositories, we see a great potential of applying other data-driven natural language processing techniques on source code in the future.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Apr 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 3; 2022: 6; 2023: 5; 2024: 2; 2025: 1; 2026: 1.

18 papers.

Sort:

By area:

  1. 2021VarCLR: Variable Semantic Representation Pre-training via Contrastive Learningcited by 11
  2. 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Modelscited by 7
  3. 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Taskscited by 5
  4. 2021Code2Snapshot: Using Code Snapshots for Learning Representations of Source Codecited by 4
  5. 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
  6. 2023TransformCode: A Contrastive Learning Framework for Code Embedding via Subtree Transformationcited by 4
  7. 2025Functional Consistency of LLM Code Embeddings: A Self-Evolving Data Synthesis Framework for Benchmarkingcited by 4
  8. 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
  9. 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritizationcited by 3
  10. 2023PERFOGRAPH: A Numerical Aware Program Graph Representation for Performance Optimization and Program Analysiscited by 3
  11. 2022LAMNER: Code Comment Generation Using Character Language Model and Named Entity Recognitioncited by 1
  12. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
6 more
  1. 2023Identification of the Relevance of Comments in Codes Using Bag of Words and Transformer Based Modelscited by 1
  2. 2022Extracting Label-specific Key Input Features for Neural Code Intelligence Modelscited by 0
  3. 2022MQDD: Pre-training of Multimodal Question Duplicity Detection for Software Engineering Domaincited by 0
  4. 2023Test Case Recommendations with Distributed Representation of Code Syntactic Featurescited by 0
  5. 2024Multi-modal Learning for WebAssembly Reverse Engineeringcited by 0
  6. 2026Type-IV Code Clone Detection via Layer-Wise Non-Contrastive Representation Learningcited by 0