mlsanityData to 13 Oct 2026

Summarize and Generate to Back-translate: Unsupervised Translation of Programming Languages

arXiv 2205.11116 ↗First posted 23 May 2022cs.CL cs.PLcited by 12

Not on the map. Why?

Abstract (arXiv)

Back-translation is widely known for its effectiveness in neural machine translation when there is little to no parallel data. In this approach, a source-to-target model is coupled with a target-to-source model trained in parallel. The target-to-source model generates noisy sources, while the source-to-target model is trained to reconstruct the targets and vice versa. Recent developments of multilingual pre-trained sequence-to-sequence models for programming languages have been very effective for a broad spectrum of downstream software engineering tasks. Hence, training them to build programming language translation systems via back-translation is compelling. However, these models cannot be further trained via back-translation since they learn to output sequences in the same language as the inputs during pre-training. As an alternative, we propose performing back-translation via code summarization and generation. In code summarization, a model learns to generate natural language (NL) summaries given code snippets. In code generation, the model learns to do the opposite. Therefore, target-to-source generation in back-translation can be viewed as a target-to-NL-to-source generation. We show that our proposed approach performs competitively with state-of-the-art methods. We have made the code publicly available.

Key facts. Cited by 12 papers in the map (data through 13 Oct 2026). Builds on 35 of its 55 references that are in the map. First posted on arXiv 23 May 2022.

Builds on

35 of 55 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,093
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,205
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,539
  6. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,487
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,304
  8. 2019Cross-lingual Language Model Pretrainingcited by 1,089
  9. 2017CyCADA: Cycle-Consistent Adversarial Domain Adaptationcited by 1,079
  10. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 905
  11. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
  12. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 743
23 more
  1. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 651
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 475
  4. 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
  5. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  6. 2017Unsupervised Machine Translation Using Monolingual Corpora Onlycited by 272
  7. 2020Unsupervised Translation of Programming Languagescited by 262
  8. 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 247
  9. 2019SPoC: Search-based Pseudocode to Codecited by 176
  10. 2015On Using Monolingual Corpora in Neural Machine Translationcited by 149
  11. 2017Unsupervised Neural Machine Translationcited by 148
  12. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  13. 2016Dual Learning for Machine Translationcited by 146
  14. 2018Phrase-Based & Neural Unsupervised Machine Translationcited by 138
  15. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 100
  16. 2018Tree-to-tree Neural Networks for Program Translationcited by 93
  17. 2018Unsupervised Text Style Transfer using Language Models as Discriminatorscited by 70
  18. 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
  19. 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
  20. 2018Unsupervised Statistical Machine Translationcited by 51
  21. 2019Recommendations for Datasets for Source Code Summarizationcited by 46
  22. 2018Style Transfer as Unsupervised Machine Translationcited by 19
  23. 2021Towards Learning (Dis)-Similarity of Source Code from Program Contrastscited by 17

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 4; 2024: 3; 2025: 4; 2026: 1.

12 papers.