MCoNaLa: A Benchmark for Code Generation from Multiple Natural Languages

By Zhiruo Wang, Grace Cuenca, Shuyan Zhou, Frank F. Xu, Graham Neubig. 2022

63 citations recorded by the source corpus.

While there has been a recent burgeoning of applications at the intersection of natural and programming languages, such as code generation and code summarization, these applications are usually English-centric. This creates a barrier for program developers who are not proficient in English. To mitigate this gap in technology development across languages, we propose a multilingual dataset, MCoNaLa, to benchmark code generation from natural language commands extending beyond English. Modeled off of the methodology from the English Code/Natural Language Challenge (CoNaLa) dataset, we annotated a total of 896 NL-Code pairs in three languages: Spanish, Japanese, and Russian. We present a systematic evaluation on MCoNaLa by testing state-of-the-art code generation systems. Although the difficulties vary across three languages, all systems lag significantly behind their English counterparts, revealing the challenges in adapting code generation to new languages.

Subfields: Information Systems, Software, Evaluation & Benchmarks, Code Generation & Program Synthesis, Signal Processing

How researchers see this paper

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

In Information Systems

  1. Shuyan Zhou
  2. Zhiruo Wang
  3. Daniel Fried
  4. Ming-Ho Yee
  5. Michael Greenberg
  6. Carolyn Jane Anderson
  7. Graham Neubig
  8. Michele Catasta

In Software

  1. Ming-Ho Yee
  2. Michael Greenberg
  3. Carolyn Jane Anderson
  4. Graham Neubig
  5. Michele Catasta
  6. Jacob Austin
  7. Arjun Guha
  8. Luna Phipps-Costin

In Evaluation & Benchmarks

  1. Shuyan Zhou
  2. Shafiq R. Joty
  3. Graham Neubig
  4. Zhiruo Wang
  5. Xavier García
  6. Weishi Wang
  7. M Saiful Bari
  8. Daniel Fried

In Code Generation & Program Synthesis

  1. Shuyan Zhou
  2. Zhiruo Wang
  3. Graham Neubig
  4. Michael Greenberg
  5. Carolyn Jane Anderson
  6. Michele Catasta
  7. Arjun Guha
  8. Luna Phipps-Costin

In Signal Processing

  1. Zhiruo Wang
  2. Graham Neubig
  3. Michele Catasta
  4. Jacob Austin
  5. Arjun Guha
  6. Shuyan Zhou
  7. Shafiq R. Joty
  8. Ming-Ho Yee

Citations in the corpus