Multilingual training for Software Engineering

By Toufique Ahmed, Prem Devanbu. 2021

97 citations recorded by the source corpus.

Well-trained machine-learning models, which leverage large amounts of open-source software data, have now become an interesting approach to automating many software engineering tasks. Several SE tasks have all been subject to this approach, with performance gradually improving over the past several years with better models and training methods. More, and more diverse, clean, labeled data is better for training; but constructing good-quality datasets is time-consuming and challenging. Ways of augmenting the volume and diversity of clean, labeled data generally have wide applicability. For some languages (e.g., Ruby) labeled data is less abundant; in others (e.g., JavaScript) the available data maybe more focused on some application domains, and thus less diverse. As a way around such data bottlenecks, we present evidence suggesting that human-written code in different languages (which performs the same function), is rather similar, and particularly preserving of identifier naming patterns; we further present evidence suggesting that identifiers are a very important element of training data for software engineering tasks. We leverage this rather fortuitous phenomenon to find evidence that available multilingual training data (across different languages) can be used to amplify performance. We study this for 3 different tasks: code summarization, code retrieval, and function naming. We note that this data-augmenting approach is broadly compatible with different tasks, languages, and machine-learning models.

Subfields: Artificial Intelligence, Information Systems, Software, Natural Language Processing, Code Generation & Program Synthesis

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ming-Ho Yee
  2. Arjun Guha
  3. Anand Ashok Sawant
  4. Prem Devanbu
  5. Kevin Jesse
  6. Toufique Ahmed
  7. Michael Greenberg
  8. Carolyn Jane Anderson

In Information Systems

  1. Ming-Ho Yee
  2. Arjun Guha
  3. Anand Ashok Sawant
  4. Prem Devanbu
  5. Kevin Jesse
  6. Toufique Ahmed
  7. Michael Greenberg
  8. Carolyn Jane Anderson

In Software

  1. Ming-Ho Yee
  2. Prem Devanbu
  3. Kevin Jesse
  4. Michael Greenberg
  5. Carolyn Jane Anderson
  6. Arjun Guha
  7. Luna Phipps-Costin
  8. Anand Ashok Sawant

In Natural Language Processing

  1. Arjun Guha
  2. Ming-Ho Yee
  3. Anand Ashok Sawant
  4. Prem Devanbu
  5. Kevin Jesse
  6. Toufique Ahmed
  7. Carolyn Jane Anderson
  8. Luna Phipps-Costin

In Code Generation & Program Synthesis

  1. Arjun Guha
  2. Ming-Ho Yee
  3. Prem Devanbu
  4. Kevin Jesse
  5. Michael Greenberg
  6. Carolyn Jane Anderson
  7. Luna Phipps-Costin
  8. Anand Ashok Sawant

Citations in the corpus