English

Modeling Vocabulary for Big Code Machine Learning

Computation and Language 2019-04-04 v1 Software Engineering

Abstract

When building machine learning models that operate on source code, several decisions have to be made to model source-code vocabulary. These decisions can have a large impact: some can lead to not being able to train models at all, others significantly affect performance, particularly for Neural Language Models. Yet, these decisions are not often fully described. This paper lists important modeling choices for source code vocabulary, and explores their impact on the resulting vocabulary on a large-scale corpus of 14,436 projects. We show that a subset of decisions have decisive characteristics, allowing to train accurate Neural Language Models quickly on a large corpus of 10,106 projects.

Keywords

Cite

@article{arxiv.1904.01873,
  title  = {Modeling Vocabulary for Big Code Machine Learning},
  author = {Hlib Babii and Andrea Janes and Romain Robbes},
  journal= {arXiv preprint arXiv:1904.01873},
  year   = {2019}
}

Comments

12 pages, 1 figure

R2 v1 2026-06-23T08:27:51.401Z