Research map / Large language models / Language, safety and interpretability
CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
Weishi Wang, Shafiq Joty, Steven C.H. Hoi
Nanyang Technological University · Salesforce
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add masked span prediction (vs removing it) (ablation) | CodeT5-small · Code generation | CodeBLEU: 37.44 -> 41.39 | Improved |
| add masked span prediction (vs removing it) (ablation) | CodeT5-small · Defect detection | accuracy: 64.02 -> 63.40 | Hurt |
| add identifier tagging (ablation) | CodeT5-small · Code generation | CodeBLEU: 39.21 -> 41.39 | Improved |
| add masked identifier prediction (ablation) | CodeT5-small · Defect detection | accuracy: 62.92 -> 63.40 | Improved |
| add masked identifier prediction (ablation) | CodeT5-small · Code summarization Python | BLEU: 19.81 -> 20.04 | Improved |
| add bimodal dual generation pre-training | CodeT5-base · Code summarization | overall smoothed BLEU-4: 19.55 -> 19.75 | Improved |
| add bimodal dual generation pre-training | CodeT5-base · Java to C# translation | EM: 65.90 -> 62.00 | Hurt |
| add bimodal dual generation pre-training | CodeT5-base · Defect detection | accuracy: 65.78 -> 62.88 | Hurt |
| add multi-task fine-tuning | CodeT5-base · Code generation | CodeBLEU: 43.20 -> 40.01 | Hurt |
| add multi-task fine-tuning | CodeT5-base · Code refinement Medium | EM: 13.96 -> 14.18 | Improved |
| add multi-task fine-tuning | CodeT5-small · Code summarization | overall smoothed BLEU-4: 19.14 -> 19.37 | Improved |
| pre-train with only MSP or only MIP instead of both (ablation) | CodeT5-small · Java subset of CodeSearchNet | MIP accuracy: MIP+MSP 42.72 -> MSP-only 2.94 | Hurt |
Later papers that compared with this method
5 later accepted papers report CodeT5 small as a baseline in their results tables; 4 of them report a better number on most of the results they share with it.
- Enhancing SQL Query Generation with Neurosymbolic Reasoning (AAAI 2025 · better on 4 of 4 shared results)
- AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (ICML 2024 · better on 1 of 2 shared results)
- On-the-Fly Adapting Code Summarization on Trainable Cost-Effective Language Models (NeurIPS 2023 · better on 10 of 10 shared results)
- Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completion (AAAI 2023 · better on 4 of 4 shared results)
- RACE: Retrieval-augmented Commit Message Generation (EMNLP 2022 · better on 15 of 15 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- CodeT5+: Open Code Large Language Models for Code Understanding and Generation (EMNLP 2023 · similarity 0.93)
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.89)
- AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (ICML 2024 · similarity 0.88)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.88)
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding (ICLR 2025 · similarity 0.87)
- Detecting AI-Generated Code Assignments Using Perplexity of Large Language Models (AAAI 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
