2021

Unified Pre-training for Program Understanding and Generation

Ahmad, Wasi Uddin, Chakraborty, Saikat, Ray, Baishakhi et al.

Understand

Code summarization and generation empower conversion between programming language (PL) and natural language (NL), while code translation avails the migration of legacy code from one PL to another.

  • This paper introduces PLBART, a sequence-to-sequence model capable of performing a broad spectrum of program and language understanding and generation tasks.
  • PLBART is pre-trained on an extensive collection of Java and Python functions and associated NL text via denoising autoencoding.
  • Experiments on code summarization in the English language, code generation, and code translation in seven programming languages show that PLBART outperforms or rivals state-of-the-art models.

Reading the bibliography…