NatGen: generative pre-training by “naturalizing” source code
The DOI matches its Crossref record; 58 of the 58 references it cites were found in a registry or an index.
Abstract
Pre-trained Generative Language models (e.g., PLBART, CodeT5, SPT-Code) for source code yielded strong results on several tasks in the past few years, including code generation and translation. These models have adopted varying pre-training objectives to learn statistics of code construction from very large-scale corpora in a self-supervised fashion; the success of pre-trained models largely hinges on these pre-training objectives. This paper proposes a new pre-training objective, “Naturalizing” of source code, exploiting code’s bimodal, dual-channel (formal & natural channels) nature. Unlike natural language, code’s bimodal, dual-channel nature allows us to generate semantically equivalent code at scale. We introduce six classes of semantic preserving transformations to introduce unnatural forms of code, and then force our model to produce more natural original programs written by developers. Learning to generate equivalent, but more natural code, at scale, over large corpora of open-source code, without explicit manual supervision, helps the model learn to both ingest & generate code. We fine-tune our model in three generative Software Engineering tasks: code generation, code translation, and code refinement with limited human-curated labeled data and achieve state-of-the-art performance rivaling CodeT5. We show that our pre-trained model is especially competitive at zero-shot and few-shot learning, and better at learning code properties (e.g., syntax, data flow)
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [10]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., & Liu, P. J. (2019) · arXiv · doi:10.48550/arxiv.1910.10683 · Cited by 31,859
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., & Zettlemoyer, L. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.703 · Cited by 8,821
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., & Zettlemoyer, L. (2019) · arXiv · doi:10.48550/arxiv.1910.13461 · Cited by 8,816 · cited 2×
“Denoising pre-training [3, 38, 39] is a wellestablished pre-training strategy for encoder-decoder models: the encoder is presented with a noised-up input, and the decoder is asked to generate the original, noise-free input.”
MethodOvercoming catastrophic forgetting in neural networks
Kirkpatrick, J., Pascanu, R., Rabinowitz, N., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., et al. (2017) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1611835114 · Cited by 7,899 · cited 1×
“Nevertheless, when we further train a pre-trained model on different tasks, it is subject to łcatastrophic forgettingž [37] of the knowledge learned in the base model.”
BackgroundRefactoring: Improving the Design of Existing Code
Fowler, M. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45672-4_31 · Cited by 5,591
CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., Shou, L., Qin, B., Liu, T., Jiang, D., et al. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.139 · Cited by 2,824
Zero-Shot Learning—A Comprehensive Evaluation of the Good, the Bad and the Ugly
Xian, Y., Lampert, C. H., Schiele, B., & Akata, Z. (2019) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2857768 · Cited by 1,678 · cited 1×
“First, we consider zeroshot [56, 66] evaluation.”
Wang, Y., Wang, W., Joty, S., & Hoi, S. C. H. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.685 · Cited by 1,495 · cited 8×
“As mentioned in Section 4, we startNatGen’s pre-training from CodeT5-base model [64].”
BackgroundMethodResultInfluentialWang, Y., Wang, W., Joty, S., & Hoi, S. C. H. (2021) · arXiv · doi:10.48550/arxiv.2109.00859 · Cited by 1,495 · cited 8×
“As mentioned in Section 4, we startNatGen’s pre-training from CodeT5-base model [64].”
BackgroundMethodResultInfluentialMeta-Transfer Learning for Few-Shot Learning
Sun, Q., Liu, Y., Chua, T.-S., & Schiele, B. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00049 · Cited by 1,264
Learning to Represent Programs with GraphsPreprint
Allamanis, M., Brockschmidt, M., & Khademi, M. (2017) · International Conference on Learning Representations · doi:10.48550/arxiv.1711.00740 · Cited by 966
Summarizing Source Code using a Neural Attention Model
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1195 · Cited by 701 · cited 1×
“The earlier work in this area trained models directly on tasks, including the early work on type recovery [8, 31], de-obfuscation [55, 62], repair [30], and summarization [2, 35].”
MethodDeep learning code fragments for code clone detection
White, M., Tufano, M., Vendome, C., & Poshyvanyk, D. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970326 · Cited by 558 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundCodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation
Lu, S., Guo, D., Ren, S., Huang, J., Svyatkovskiy, A., Blanco, A., Clement, C., Drain, D., Jiang, D., Tang, D., et al. (2021) · arXiv · doi:10.48550/arxiv.2102.04664 · Cited by 536 · cited 9×
“For Text to Code Generation and Code Translation, we reuse the same split from CodeXGLUE [42], and for Bug Fix, we reuse the same split as MODIT.”
BackgroundMethodResultInfluentialCodeSearchNet Challenge: Evaluating the State of Semantic Code Search
Husain, H., Wu, H.-H., Gazit, T., Allamanis, M., & Brockschmidt, M. (2019) · arXiv · doi:10.48550/arxiv.1909.09436 · Cited by 483 · cited 2×
“Following prior works [22, 28, 64], we primarily use CodeSearchNet [34] dataset for the pre-training purpose.”
MethodDeepFix: Fixing Common C Language Errors by Deep Learning
Gupta, R., Pal, S., Kanade, A., & Shevade, S. (2017) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v31i1.10742 · Cited by 426 · cited 1×
“The earlier work in this area trained models directly on tasks, including the early work on type recovery [8, 31], de-obfuscation [55, 62], repair [30], and summarization [2, 35].”
MethodOn the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Devanbu, P. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227135 · Cited by 425 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundA Transformer-based Approach for Source Code Summarization
Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.449 · Cited by 378
Self-citationAn Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translation
Tufano, M., Watson, C., Bavota, G., Penta, M. D., White, M., & Poshyvanyk, D. (2019) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3340544 · Cited by 370 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundSuggesting accurate method and class names
Allamanis, M., Barr, E. T., Bird, C., & Sutton, C. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786849 · Cited by 369 · cited 1×
“Variable renaming is challenging even for human developers [6]Ðdifferent developers may propose different names for the same object.”
BackgroundOn the naturalness of software
Hindle, A., Barr, E. T., Gabel, M., Su, Z., & Devanbu, P. (2016) · Communications of the ACM · doi:10.1145/2902362 · Cited by 307
Are deep neural networks the best choice for modeling source code?
Hellendoorn, V. J., & Devanbu, P. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106290 · Cited by 292
The adverse effects of code duplication in machine learning models of code
Allamanis, M. (2019) · Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software · doi:10.1145/3359591.3359735 · Cited by 284 · cited 1×
“Simply grabbing data from Github might yield poor-quality [27], highly-duplicated data [5].”
BackgroundOn the "naturalness" of buggy code
Ray, B., Hellendoorn, V., Godhane, S., Tu, Z., Bacchelli, A., & Devanbu, P. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884848 · Cited by 252 · cited 1×
“In fact, deviation from such łnaturalness" may lead to unintended bugs [54], and increase difficulty of human comprehension [13, 14].”
BackgroundSelf-citationStudying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Tasks
Mastropaolo, A., Scalabrino, S., Cooper, N., Nader Palacio, D., Poshyvanyk, D., Oliveto, R., & Bavota, G. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00041 · Cited by 247 · cited 3×
“Pre-trained Generative Language models (e.g., PLBART, CodeT5, SPT-Code) for source code yielded strong results on several tasks in the past few years, including code generation and translation.”
CodeBLEU: a Method for Automatic Evaluation of Code Synthesis
Ren, S., Guo, D., Lu, S., Zhou, L., Liu, S., Tang, D., Sundaresan, N., Zhou, M., Blanco, A., & Ma, S. (2020) · arXiv · doi:10.48550/arxiv.2009.10297 · Cited by 214 · cited 1×
“exact match (EM), Syntax match (SM), Dataflow match (DM), and CodeBLEU (CB) [56].”
BackgroundOn Learning Meaningful Code Changes Via Neural Machine Translation
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00021 · Cited by 207 · cited 1×
“Text+code − → Code BugFix [60] Small 46628 5828 5831 Medium 53324 6542 6538”
Code completion with statistical language models
Raychev, V., Vechev, M., & Yahav, E. (2014) · ACM SIGPLAN Notices · doi:10.1145/2666356.2594321 · Cited by 189
Mapping Language to Code in Programmatic Context
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d18-1192 · Cited by 180 · cited 4×
“For Text to Code Generation and Code Translation, we reuse the same split from CodeXGLUE [42], and for Bug Fix, we reuse the same split as MODIT.”
InfluentialDOBF: A Deobfuscation Pre-Training Objective for Programming Languages
Rozière, B., Lachaux, M.-A., Szafraniec, M., & Lample, G. (2021) · neural information processing systems · doi:10.48550/arxiv.2102.07492 · Cited by 176
CoTexT: Multi-task Learning with Code-Text TransformerPreprint
Phan, L., Tran, H., Le, D., Nguyen, H., Annibal, J., Peltekian, A., & Ye, Y. (2021) · NLP4PROG · doi:10.48550/arxiv.2105.08645 · Cited by 165
A Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundSelf-citationRetrieval Augmented Code Generation and Summarization
Parvez, M. R., Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2021) · Findings of the Association for Computational Linguistics: EMNLP 2021 · doi:10.18653/v1/2021.findings-emnlp.232 · Cited by 141
Self-citationCODIT: Code Editing With Tree-Based Neural Models
Chakraborty, S., Ding, Y., Allamanis, M., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3020502 · Cited by 114 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundSelf-citationAllamanis, M., Barr, E. T., Ducousso, S., & Gao, Z. (2020) · UCL Discovery (University College London) · Cited by 103
CoTexT: Multi-task Learning with Code-Text Transformer
Phan, L., Tran, H., Le, D., Nguyen, H., Annibal, J., Peltekian, A., & Ye, Y. (2021) · Proceedings of the 1st Workshop on Natural Language Processing for Programming (NLP4Prog 2021) · doi:10.18653/v1/2021.nlp4prog-1.5 · Cited by 100
Allamanis, M., Barr, E. T., Ducousso, S., & Gao, Z. (2020) · Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3385412.3385997 · Cited by 92 · cited 1×
“The earlier work in this area trained models directly on tasks, including the early work on type recovery [8, 31], de-obfuscation [55, 62], repair [30], and summarization [2, 35].”
MethodUnsupervised translation of programming languages
Lachaux, M.-A., Roziere, B., Chanussot, L., & Lample, G. (2020) · arXiv · doi:10.48550/arxiv.2006.03511 · Cited by 83
Retrieval-Augmented Generation for Code Summarization via Hybrid GNN
Liu, S., Chen, Y., Xie, X., Siow, J. K., & Liu, Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.05405 · Cited by 65
Recovering clear, natural identifiers from obfuscated JS names
Vasilescu, B., Casalnuovo, C., & Devanbu, P. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106289 · Cited by 63 · cited 1×
“The earlier work in this area trained models directly on tasks, including the early work on type recovery [8, 31], de-obfuscation [55, 62], repair [30], and summarization [2, 35].”
MethodSemantic bug seeding: a learning-based approach for creating realistic bugs
Patra, J., & Pradel, M. (2021) · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3468264.3468623 · Cited by 63 · cited 1×
“These transformations are motivated by prior work on functional reasoning about source code [20, 25, 26] and semantic bug-seeding [48].”
BackgroundPrevalence of confusing code in software projects: atoms of confusion in the wild
Gopstein, D., Zhou, H. H., Frankl, P. G., & Cappos, J. (2018) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3196398.3196432 · Cited by 53
Coupling Retrieval and Meta-Learning for Context-Dependent Semantic Parsing
Guo, D., Tang, D., Duan, N., Zhou, M., & Yin, J. P. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1082 · Cited by 51
A theory of dual channel constraints
Casalnuovo, C., Barr, E. T., Dash, S. K., Dévanbu, P., & Morgan, E. (2020) · IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER) · doi:10.1145/3377816.3381720 · Cited by 49 · cited 1×
“We start with the argument that, because of the bimodal, dual-channel nature of code [12], it is indeed possible to generate at-scale training data for the Editing task (a.”
BackgroundTowards Learning (Dis)-Similarity of Source Code from Program Contrasts
Ding, Y., Buratti, L., Pujar, S., Morari, A., Ray, B., & Chakraborty, S. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.436 · Cited by 48
Self-citationOn Multi-Modal Learning of Editing Source Code
Chakraborty, S., & Ray, B. (2021) · 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678559 · Cited by 47 · cited 6×
“For Text to Code Generation and Code Translation, we reuse the same split from CodeXGLUE [42], and for Bug Fix, we reuse the same split as MODIT.”
MethodResultInfluentialSelf-citationAVATAR: A Parallel Corpus for Java-Python Program Translation
Ahmad, W. U., Tushar, M. G. R., Chakraborty, S., & Chang, K.-W. (2021) · arXiv · doi:10.48550/arxiv.2108.11590 · Cited by 46 · cited 2×
“A lot of time and effort goes into curating high-quality training data [4, 38].”
BackgroundSelf-citationAVATAR: A Parallel Corpus for Java-Python Program Translation
Ahmad, W. U., Tushar, M. G. R., Chakraborty, S., & Chang, K.-W. (2023) · Findings of the Association for Computational Linguistics: ACL 2023 · doi:10.18653/v1/2023.findings-acl.143 · Cited by 46
Self-citationNeural Attribute Machines for Program GenerationPreprint
Amodio, M., Chaudhuri, S., & Reps, T. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.09231 · Cited by 46
Diet code is healthy: simplifying programs for pre-trained models of code
Zhang, Z., Zhang, H., Shen, B., & Gu, X. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549094 · Cited by 41 · cited 1×
“Though CodeBERT [22] & GraphCodeBERT [28], DietCodeBERT [68] do well at code understanding tasks, these models are not as good at generative tasks.”
BackgroundPradel, M., & Chandra, S. (2021) · Communications of the ACM · doi:10.1145/3460348 · Cited by 41 · cited 1×
“Statistical models of the łnaturalness" of code [33] have proven useful for a range of Software Engineering tasks [7, 50], including code generation [10], repair [15, 61], summarization [40], retrieval [47], and clone detection [20, 66].”
BackgroundGopstein, D., Fayard, A., Apel, S., & Cappos, J. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3409714 · Cited by 29 · cited 1×
“These transformations are motivated by prior work on functional reasoning about source code [20, 25, 26] and semantic bug-seeding [48].”
BackgroundTowards Learning (Dis)-Similarity of Source Code from Program ContrastsPreprint
Ding, Y., Buratti, L., Pujar, S., Morari, A., Ray, B., & Chakraborty, S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.03868 · Cited by 23
Self-citationOn Learning Meaningful Code Changes via Neural Machine TranslationPreprint
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.09102 · Cited by 22
Chakraborty, S., & Natgen-Team (2022) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.6977594 · Cited by 3
Self-citationSPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representations
Niu, C., Li, C., Ng, V., Ge, J., Huang, L., & Luo, B. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2201.01549
Research works printed but not linked: 15
- [5] Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. 2021. Unified Pre-training for Program Understanding and Generation. In 2021 Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL) . -
- [4] Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. 2020. A Transformer-based Approach for Source Code Summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL) . -
- [15] Casey Casalnuovo, Kevin Lee, Hulin Wang, Prem Devanbu, and Emily Morgan. 2020. Do programmers prefer predictable expressions in code? Cognitive science 44, 12 (2020), e12921. -
- [16] Casey Casalnuovo, E Morgan, and P Devanbu. 2020. Does surprisal predict code comprehension difficulty. In Proceedings of the 42nd Annual Meeting of the Cognitive Science Society . Cognitive Science Society Toronto, Canada. -
- [19] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating Large Language Models Trained on Code. arXiv:2107.03374 [cs.LG] - · arXiv
- [20] Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. 2020. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators. In International Conference on Learning Representations . https://openreview.net/ pdf?id=r1xMH1BtvB -
- [21] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. [n.d.]. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) . -
- [23] Dumitru Erhan, Aaron Courville, Yoshua Bengio, and Pascal Vincent. 2010. Why does unsupervised pre-training help deep learning?. In Proceedings of the thirteenth international conference on artificial intelligence and statistics . JMLR Workshop and Conference Proceedings, 201-208. -
- [28] David Gros, Hariharan Sezhiyan, Prem Devanbu, and Zhou Yu. 2020. Code to Comment 'Translation': Data, Metrics, Baselining & Evaluation. In 2020 35th IEEE/ACM International Conference on Automated Software Engineering (ASE) . IEEE, 746-757. -
- [29] Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Jian Yin, Daxin Jiang, et al. 2021. GraphCodeBERT: Pre-training Code Representations with Data Flow. In International Conference on Learning Representations . -
- [42] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv preprint arXiv:1907.11692 (2019). https://arxiv.org/abs/1907.11692 - · arXiv
- [50] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI blog 1, 8 (2019), 9. -
- [56] Bernardino Romera-Paredes and Philip Torr. 2015. An embarrassingly simple approach to zero-shot learning. In International conference on machine learning . PMLR, 2152-2161. -
- [62] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. 2017. Attention is All you Need. In Advances in Neural Information Processing Systems 30 . 5998-6008. -
- [64] Yaqing Wang, Quanming Yao, James T Kwok, and Lionel M Ni. 2020. Generalizing from a few examples: A survey on few-shot learning. ACM computing surveys (csur) 53, 3 (2020), 1-34. -
Cited by
CodeT5+: Open Code Large Language Models for Code Understanding and Generation
Wang, Y., Le, H., Gotmare, A., Bui, N., Li, J., & Hoi, S. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.68 · Cited by 459
CodeT5+: Open Code Large Language Models for Code Understanding and Generation
Wang, Y., Le, H., Gotmare, A. D., Bui, N. D. Q., Li, J., & Hoi, S. C. H. (2023) · arXiv · doi:10.48550/arxiv.2305.07922 · Cited by 459
“…encoder-only models [Feng et al., 2020, Guo et al., 2021, Wang et al., 2022a], decoder-only models [Lu et al., 2021, Chen et al., 2021, Fried et al., 2022, Nijkamp et al., 2023b], and encoder-decoder models [Ahmad et al., 2021, Wang et al., 2021b, Niu et al., 2022, Chakraborty et al., 2022].”
MethodLarge Language Model for Vulnerability Detection and Repair: Literature Review and the Road Ahead
Zhou, X., Cao, S., Sun, X., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708522 · Cited by 132
“• RQ3: How are LLMs adapted for vulnerability repair?”
DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection
Chen, Y., Ding, Z., Alowain, L., Chen, X., & Wagner, D. (2023) · Proceedings of the 26th International Symposium on Research in Attacks, Intrusions and Defenses · doi:10.1145/3607199.3607242 · Cited by 238
LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insights
Sheng, Z., Chen, Z. G., Gu, S., Huang, H., Gu, G., & Huang, J. (2025) · ACM Computing Surveys · doi:10.1145/3769082 · Cited by 235
“Prominent examples include PLBART [1], T5 [112], CodeT5 [133], UniXcoder [50], and NatGen [15].”
Metadata
- Authors
- Chakraborty, S., Ahmed, T., Ding, Y., Devanbu, P. T., & Ray, B.
- Affiliations
- Columbia University (US)
- University of California, Davis (US)
- University of California at Davis, USA
- Venue
- Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2022-11-07
- Pages
- 18-30
- OpenAlex
- W4308731473
- Semantic Scholar
- 45263786d07f5751f7494fdeee3c8764836d02c4
- Cited by
- 105
- References
- 37
- Citations by year
- 2026: 8 · 2025: 35 · 2024: 37 · 2023: 23 · 2022: 2
- FWCI
- 21.68
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- Funders
- National Science Foundation (CCF-2107405, SHF-1845893, SHF-1414172, SHF-2107592, IIS-2221943)
- IBM (Faculty Award)
- UC Davis College of Engineering (Dean?s Distinguished Fellowship)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Keywords
- generative pre-training, semantics-preserving transformations, code generation, program translation, program refinement, zero-shot learning, few-shot learning
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.