paper-with-me

홈 › Papers

Unified Pre-training for Program Understanding and Generation

2021-03-10 · NAACL 2021 4 · Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, Kai-Wei Chang

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. Moreover, experiments on discriminative tasks, e.g., program repair, clone detection, and vulnerable code detection, demonstrate PLBART's effectiveness in program understanding. Furthermore, analysis reveals that PLBART learns program syntax, style (e.g., identifier naming convention), logical flow (e.g., if block inside an else block is equivalent to else if block) that are crucial to program semantics and thus excels even with limited annotations.

📄 PDF Abstract BibTeX arXiv:2103.06333

Code (2)

wasiahmad/PLBART 공식 구현 pytorch
yangyucheng000/University/tree/main/model-1/plbart mindspore

Tasks

Clone DetectionCode GenerationCode SummarizationCode TranslationDenoisingProgram RepairSource Code SummarizationText GenerationTranslation

Similar Papers 제목 키워드 기반

CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation

2021-09-02 · EMNLP 2021 11 · Yue Wang, Weishi Wang, Shafiq Joty, Steven C. H. Hoi

Pre-trained models for Natural Languages (NL) like BERT and GPT have been recently shown to transfer well to Programming Languages (PL) and largely benefit a broad set of code-related tasks. Despite their success, most c…

Clone DetectionCode GenerationCode SummarizationCode Translation+4

UniXcoder: Unified Cross-Modal Pre-training for Code Representation

2022-03-08 · ACL 2022 5 · Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang 외

Pre-trained models for programming languages have recently demonstrated great success on code intelligence. To support both code-related understanding and generation tasks, recent works attempt to pre-train unified encod…

Code CompletionCode SearchContrastive LearningDecoder

SynerMedGen: Synergizing Medical Multimodal Understanding with Generation via Task Alignment

2026-05-09 · Weiren Zhao, Yi Dong, Cheng Chen arxiv

Unifying multimodal understanding and generation is a compelling frontier that is beginning to emerge in the medical field. However, the limited existing unified medical models typically treat understanding and generatio…

Unified Autoregressive Visual Generation and Understanding with Continuous Tokens

2025-03-17 · Lijie Fan, Luming Tang, Siyang Qin, Tianhong Li 외

We present UniFluid, a unified autoregressive framework for joint visual generation and understanding leveraging continuous visual tokens. Our unified autoregressive architecture processes multimodal image and text input…

Image CaptioningImage GenerationQuestion Answering

Are Unified Vision-Language Models Necessary: Generalization Across Understanding and Generation

2025-05-29 · Jihai Zhang, Tianle Li, Linjie Li, Zhengyuan Yang 외

Recent advancements in unified vision-language models (VLMs), which integrate both visual understanding and generation capabilities, have attracted significant attention. The underlying hypothesis is that a unified archi…