The adverse effects of code duplication in machine learning models of code
Open accessThe DOI matches its Crossref record; 30 of the 30 references it cites were found in a registry or an index.
Abstract
The field of big code relies on mining large corpora of code to perform some learning task towards creating better tools for software engineers. A significant threat to this approach was recently identified by Lopes et al. (2017) who found a large amount of near-duplicate code on GitHub. However, the impact of code duplication has not been noticed by researchers devising machine learning models for source code. In this work, we explore the effects of code duplication on machine learning models showing that reported performance metrics are sometimes inflated by up to 100% when testing on duplicated code corpora compared to the performance on de-duplicated corpora which more accurately represent how machine learning models of code are used by software engineers. We present a duplication index for widely used datasets, list best practices for collecting code corpora and evaluating machine learning models on them. Finally, we release tools to help the community avoid this problem in future research.
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?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Such a strategy duplicates extremely low-resource languages thousands of times, which has been shown to significantly reduce performance (Allamanis, 2019).”
From Measuring The Impact Of Programming Language Distribution (2023) · cites this paper as Allamanis, 2019
Experimental — accuracy not yet measuredThe cited source says what the claim attributes to it.
In the citing paper
“Allamanis (2019) and Lopes et al. (2017) highlight the large fraction of near-duplicates present in code datasets and how they can inflate performance metrics.”
From The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Dataset (2023) · cites this paper as Allamanis (2019)
The cited source says what the claim attributes to it.
In the citing paper
“De-duplication is key: Code duplication in machine learning models can deceptively inflate performance metrics a lot, when compared to de-duplicated datasets [7,46,59].”
From Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization) (2024) · cites this paper as [7]
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
(2012) · Cited by 9,062
A Neural Probabilistic Language Model
Bengio, Y., Ducharme, R., Vincent, P., Jauvin, C., Jaz, K., Hofmann, T., Poggio, T., & Shawe-Taylor, J. S. (2000) · Cited by 3,486
A Survey on Software Clone Detection Research
Roy, C. K., & Cordy, J. R. (2007) · QSpace (Queen's University Library) · Cited by 976
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
Self-citationcode2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962
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
Code completion with statistical language models
Raychev, V., Vechev, M., & Yahav, E. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594321 · Cited by 555 · cited 2×
“Language models have been used for autocompletion [14, 15, 20, 24] and it would be unreasonable to assume that the true distribution of this particular use cases contains duplicate code.”
BackgroundMethodOn the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Dévanbu, P. (2012) · doi:10.5555/2337223.2337322 · Cited by 541
Using Machine Learning for Vulnerability Detection and Classification
Alon, U., Brody, S., Levy, O., & Yahav, E. (2018) · arXiv (Cornell University) · doi:10.4230/oasics.slate.2021.14 · Cited by 467
SourcererCC: scaling code clone detection to big-code
Sajnani, H., Saini, V., Svajlenko, J., Roy, C. K., & Lopes, C. V. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884877 · Cited by 447
Research works printed but not linked: 2
- Uri Alon, Omer Levy, and Eran Yahav. 2010. code2seq: Generating Sequences from Structured Representations of Code. In Proceedings of the International Conference on Learning Representations (ICLR).
- Tijmen Tieleman and Geoffrey Hinton. 2012. Lecture 6.5-RMSProp: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning 4, 2 (2012), 26-31.
Cited by
PaLM: Scaling Language Modeling with Pathways
Chowdhery, A., Narang, S., Devlin, J., Bosma, M., Mishra, G., Roberts, A., Barham, P., Chung, H. W., Sutton, C., Gehrmann, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2204.02311 · Cited by 2,590
“Further, we remove duplicates based on Levenshtein distance between the files because duplicate files are known to be common in source code repositories (Lopes et al., 2017; Allamanis, 2019).”
MethodOpen Graph Benchmark: Datasets for Machine Learning on Graphs
Hu, W., Fey, M., Žitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., & Leskovec, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2005.00687 · Cited by 470
Competition-level code generation with AlphaCode
Li, Y., Choi, D., Chung, J., Kushman, N., Schrittwieser, J., Leblond, R., Eccles, T., Keeling, J., Gimeno, F., Dal Lago, A., et al. (2022) · Science · doi:10.1126/science.abq1158 · Cited by 1,043
Competition-Level Code Generation with AlphaCode
Li, Y., Choi, D., Chung, J., Kushman, N., Schrittwieser, J., Leblond, R., Eccles, T., Keeling, J., Gimeno, F., Lago, A. D., et al. (2022) · arXiv · doi:10.48550/arxiv.2203.07814 · Cited by 1,043
SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
Li, Z., Zou, D., Xu, S., Jin, H., Zhu, Y., & Chen, Z. (2022) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2021.3051525 · Cited by 639
Deep Learning Based Vulnerability Detection: Are We There Yet?
Chakraborty, S., Krishna, R., Ding, Y., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3087402 · Cited by 790
A systematic evaluation of large language models of code
Xu, F. F., Alon, U., Neubig, G., & Hellendoorn, V. J. (2022) · Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming · doi:10.1145/3520312.3534862 · Cited by 540
Code Llama: Open Foundation Models for Code
Rozière, B., Gehring, J., Gloeckle, F., Sootla, S., Gat, I., Tan, X. E., Adi, Y., Liu, J., Sauvestre, R., Remez, T., et al. (2023) · arXiv · doi:10.48550/arxiv.2308.12950 · Cited by 531
CodeSearchNet 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
“• We remove duplicates from the dataset by identifying (near) duplicate functions and only keeping one copy of them (we use the methods described in Allamanis [1], Lopes et al.”
MethodSelf-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
Deduplicating Training Data Makes Language Models Better
Lee, K., Ippolito, D., Nystrom, A., Zhang, C., Eck, D., Callison-Burch, C., & Carlini, N. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.577 · Cited by 304
InCoder: A Generative Model for Code Infilling and Synthesis
Fried, D., Aghajanyan, A., Lin, J., Wang, S., Wallace, E., Shi, F., Zhong, R., Yih, W.-T., Zettlemoyer, L., & Lewis, M. (2022) · arXiv · doi:10.48550/arxiv.2204.05999 · Cited by 187
“Recent work has shown that deduplicating training data can improve model performance and reduce the risk of memorizing training data [5, 43, 38].”
BackgroundBig code != big vocabulary: open-vocabulary models for source code
Karampatsis, R.-M., Babii, H., Robbes, R., Sutton, C., & Janes, A. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380342 · Cited by 182
“We also limited ourselves to three languages, and did not fully evaluate the impact of code duplication [1].”
BackgroundData Quality for Software Vulnerability Datasets
Croft, R., Babar, M. A., & Kholoosi, M. M. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00022 · Cited by 169
“Allamanis [49] found cross-set duplication to be the most significant type in software engineering research.”
InfluentialNeural Transfer Learning for Repairing Security Vulnerabilities in C Code
Chen, Z., Kommrusch, S., & Monperrus, M. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3147265 · Cited by 160
“For all of the data splits in each dataset, we make sure that all of the examples are mutually exclusive, as recommended by Allamanis [48].”
BackgroundInfluentialStructured Neural Summarization
Fernandes, P., Allamanis, M., & Brockschmidt, M. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1811.01824 · Cited by 142
Self-citationCode smell detection by deep direct-learning and transfer-learning
Sharma, T., Efstathiou, V., Λουρίδας, Π., & Spinellis, D. D. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.110936 · Cited by 186
A Systematic Literature Review on the Use of Deep Learning in Software Engineering Research
Watson, C., Cooper, N., Palacio, D. N., Moran, K., & Poshyvanyk, D. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3485275 · Cited by 137
Contrastive Code Representation Learning
Jain, P., Jain, A., Zhang, T., Abbeel, P., Gonzalez, J., & Stoica, I. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.482 · Cited by 129
“, 2019) and duplication (Allamanis, 2019) that degrade generalization.”
BackgroundContrastive Code Representation Learning
Jain, P., Jain, A., Zhang, T., Abbeel, P., Gonzalez, J. E., & Stoica, I. (2020) · arXiv · doi:10.48550/arxiv.2007.04973 · Cited by 129
“, 2019) and duplication (Allamanis, 2019) that degrade generalization.”
BackgroundGlobal Relational Models of Source Code
Hellendoorn, V. J., Sutton, C. A., Singh, R., & Maniatis, P. (2020) · International Conference on Learning Representations · Cited by 220
Vulnerability Detection with Code Language Models: How Far are We?
Ding, Y., Fu, Y., Ibrahim, O., Sitawarin, C., Chen, X., Alomair, B., Wagner, D., Ray, B., & Chen, Y. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00038 · Cited by 535
Semantic similarity metrics for evaluating source code summarization
Haque, S., Eberhart, Z., Bansal, A., & McMillan, C. (2022) · Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension · doi:10.1145/3524610.3527909 · Cited by 116
“Different strategies have been proposed to attempt to ensure adherence to accepted good practice [6, 36], but the literature does not describe studies of the quality itself.”
BackgroundCode Structure–Guided Transformer for Source Code Summarization
Gao, S., Gao, C., He, Y., Zeng, J., Nie, L., Xia, X., & Lyu, M. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3522674 · Cited by 113
Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)
Ahmed, T., Pai, K. S., Devanbu, P., & Barr, E. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3639183 · Cited by 112
“De-duplication is key: Code duplication in machine learning models can deceptively inflate performance metrics a lot, when compared to de-duplicated datasets [7, 46, 59].”
ResultMachine learning for the advancement of membrane science and technology: A critical review
Ignácz, G., Bader, L., Beke, Á. K., Ghunaim, Y., Shastry, T., Vovusha, H., Carbone, M. R., Ghanem, B., & Székely, G. (2024) · Journal of Membrane Science · doi:10.1016/j.memsci.2024.123256 · Cited by 130
SPT-code: sequence-to-sequence pre-training for learning source code representations
Niu, C., Li, C., Ng, V., Ge, J., Huang, L., & Luo, B. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510096 · Cited by 105
NatGen: generative pre-training by “naturalizing” source code
Chakraborty, S., Ahmed, T., Ding, Y., Devanbu, P. T., & Ray, B. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549162 · Cited by 105
“Simply grabbing data from Github might yield poor-quality [27], highly-duplicated data [5].”
BackgroundAllamanis, M., Barr, E. T., Ducousso, S., & Gao, Z. (2020) · UCL Discovery (University College London) · Cited by 103
Self-citationDIRE: A Neural Approach to Decompiled Identifier Naming
Lacomis, J., Yin, P., Schwartz, E. J., Allamanis, M., Goues, C. L., Neubig, G., & Vasilescu, B. (2019) · International Conference on Automated Software Engineering · doi:10.1109/ase.2019.00064 · Cited by 168
Self-citationFast and Memory-Efficient Neural Code Completion
Svyatkovskiy, A., Lee, S., Hadjitofi, A., Riechert, M., Franco, J. V., & Allamanis, M. (2021) · 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00045 · Cited by 95
Self-citationAllamanis, 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
Self-citationRetrieval-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
An Empirical Study on Software Defect Prediction Using CodeBERT Model
Pan, C., Lu, M., & Xu, B. (2021) · Applied Sciences · doi:10.3390/app11114793 · Cited by 120
Rabin, M. R. I., Bui, N. D. Q., Wang, K., Yu, Y., Jiang, L., & Alipour, M. A. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106552 · Cited by 142
(2023) · doi:10.1145/3510003.3510060 · Cited by 88
“[2] explored the effect of code duplication and concluded that the performance of the technique is sometimes overestimated when evaluated on the duplicated dataset.”
BackgroundCodeFill: multi-token code completion by jointly learning from structure and naming sequences
Izadi, M., Gismondi, R., & Gousios, G. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510172 · Cited by 86
“[2] suggests, we have de-duplicated both datasets to avoid biasing the models.”
MethodNeural reverse engineering of stripped binaries using augmented control flow graphs
David, Y., Alon, U., & Yahav, E. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428293 · Cited by 84
Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection
Steenhoek, B. J., Gao, H., & Le, W. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3623345 · Cited by 148
LLM-Based Code Generation Method for Golang Compiler Testing
Gu, Q. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3617850 · Cited by 73
On the Impact of Sample Duplication in Machine-Learning-Based Android Malware Detection
Zhao, Y., Li, L., Wang, H., Cai, H., Bissyandé, T. F., Klein, J., & Grundy, J. (2021) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3446905 · Cited by 74
Retrieve and refine: exemplar-based neural comment generation
Wei, B., Li, Y., Li, G., Xia, X., & Jin, Z. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416578 · Cited by 69
“The similar conclusion was reached in the Allamanis’s paper [1].”
ResultContraBERT: Enhancing Code Pre-trained Models via Contrastive Learning
Liu, S., Wu, B., Xie, X., Meng, G., & Liu, Y. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00207 · Cited by 123
Learning to Update Natural Language Comments Based on Code Changes
Panthaplackel, S., Nie, P., Gligoric, M., Li, J. J., & Mooney, R. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.168 · Cited by 66
Type4Py: practical deep similarity learning-based type inference for python
Mir, A. M., Latoškinas, E., Proksch, S., & Gousios, G. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510124 · Cited by 117
Are we building on the rock? on the importance of data preprocessing for code summarization
Shi, L., Mu, F., Chen, X., Wang, S., Wang, J., Yang, Y., Li, G., Xia, X., & Wang, Q. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3549145 · Cited by 86
Large Language Models and Simple, Stupid Bugs
Jesse, K., Ahmed, T., Dévanbu, P., & Morgan, E. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00082 · Cited by 150
Semantic 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
Source Code Summarization in the Era of Large Language Models
Sun, W., Miao, Y., Li, Y., Zhang, H., Fang, C., Liu, Y., Deng, G., Liu, Y., & Chen, Z. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00034 · Cited by 233
DOBF: 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
Learning semantic program embeddings with graph interval neural network
Wang, Y., Wang, K., Gao, F., & Wang, L. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428205 · Cited by 76
The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Dataset
Laurençon, H., Saulnier, L., Wang, T., Akiki, C., del Moral, A. V., Scao, T. L., Von Werra, L., Mou, C., Ponferrada, E. G., Nguyen, H., et al. (2023) · arXiv · doi:10.48550/arxiv.2303.03915 · Cited by 93
“Allamanis (2019) and Lopes et al. (2017) highlight the large fraction of near-duplicates present in code datasets and how they can inflate performance metrics.”
BackgroundAUGER: automatically generating review comments with pre-training models
Li, L., Yang, L., Jiang, H., Yan, J., Luo, T., Hua, Z., Liang, G., & Zuo, C. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549099 · Cited by 57
Empirical study of transformers for source code
Chirkova, N., & Troshin, S. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3468611 · Cited by 77
Multilingual training for software engineering
Ahmed, T., & Devanbu, P. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510049 · Cited by 57
Language Models for Code Completion: A Practical Evaluation
Izadi, M., Katzy, J., van Dam, T., Otten, M., Popescu, R. M., & van Deursen, A. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3639138 · Cited by 131
Language Models for Code Completion: A Practical Evaluation
Izadi, M., Katzy, J., van Dam, T., Otten, M., Popescu, R. M., & van Deursen, A. (2024) · arXiv · doi:10.48550/arxiv.2402.16197 · Cited by 57
Exploring Software Naturalness through Neural Language Models
Buratti, L., Pujar, S., Bornea, M. A., McCarley, S., Zheng, Y., Rossiello, G., Morari, A., Laredo, J., Thost, V., Zhuang, Y., et al. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.12641 · Cited by 51
Zhou, X., Kim, K., Xu, B., Han, D., & Lo, D. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3639222 · Cited by 142
CoreGen: Contextualized Code Representation Learning for Commit Message Generation
Nie, L. Y., Gao, C., Zhong, Z., Lam, W. P., Liu, Y., & Xu, Z. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.05.039 · Cited by 85
Self-Supervised Bug Detection and RepairPreprint
Allamanis, M., Jackson-Flux, H., & Brockschmidt, M. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.12787 · Cited by 141
Self-citationDetecting false alarms from automatic static analysis tools: how far are we?
Kang, H. J., Aw, K. L., & Lo, D. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510214 · Cited by 80
Retrieve and Refine: Exemplar-Based Neural Comment Generation
Wei, B. (2019) · 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00152 · Cited by 25
HPC-Coder: Modeling Parallel Programs using Large Language Models
Nichols, D., Marathe, A., Menon, H., Gamblin, T., & Bhatele, A. S. (2024) · ISC High Performance (ISC) · doi:10.23919/isc.2024.10528929 · Cited by 96
Project-Level Encoding for Neural Source Code Summarization of Subroutines
Bansal, A., Haque, S., & McMillan, C. (2021) · 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00032 · Cited by 46
Towards Trustworthy Machine Learning in Production: An Overview of the Robustness in MLOps Approach
Bayram, F., & Ahmed, B. S. (2025) · ACM Computing Surveys · doi:10.1145/3708497 · Cited by 48
“Similarly to missing values, the duplication of data samples has a negative implication in learning, as it can skew the input distribution [35], resulting in duplicate bias [7].”
CAT-LM Training Language Models on Aligned Code And Tests
Rao, N., Jain, K., Alon, U., Goues, C. L., & Hellendoorn, V. J. (2023) · 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00193 · Cited by 45
LLM4SecHW: Leveraging Domain-Specific Large Language Model for Hardware Debugging
Fu, W., Yang, K., Dutta, R. G., Guo, X., & Qu, G. (2023) · Asian Hardware Oriented Security and Trust Symposium (AsianHOST) · doi:10.1109/asianhost59942.2023.10409307 · Cited by 78
Unveiling Memorization in Code Models
Yang, Z., Zhao, Z., Wang, C., Shi, J., Kim, D., Han, D., & Lo, D. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3639074 · Cited by 45
Code to comment "translation": data, metrics, baselining & evaluation
Gros, D., Sezhiyan, H., Devanbu, P., & Yu, Z. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416546 · Cited by 43
The Stack: 3 TB of permissively licensed source code
Kocetkov, D., Li, R., Allal, L. B., Li, J., Mou, C., Ferrandis, C. M., Jernite, Y., Mitchell, M., Hughes, S., Wolf, T., et al. (2022) · arXiv · doi:10.48550/arxiv.2211.15533 · Cited by 42
“We largely follow the implementation10 of Allamanis (2019) and rely on a MinHash approach Broder 8https://blueoakcouncil.org/list 9See https://github.com/bigcode-project/bigcode-analysis/tree/main/data_analysis 10https://gist.github.com/mallamanis/ce1a3624b6d1a9ec9b6966e6b7181dcd (2000); Lee et al.…”
BackgroundMethodPre-trained Contextual Embedding of Source CodePreprint
Kanade, A., Maniatis, P., Balakrishnan, G., & Shi, K. (2019) · arXiv (Cornell University) · Cited by 40
Yu, L., Huang, Z., Yuan, H., Cheng, S., Yang, L., Zhang, F., Shen, C., Ma, J., Zhang, J., Lu, J., et al. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728878 · Cited by 71
Learning type annotation: is big data enough?
Jesse, K., Dévanbu, P., & Ahmed, T. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3473135 · Cited by 58
Open Science in Software Engineering: A Study on Deep Learning-Based Vulnerability Detection
Nong, Y., Sharma, R., Hamou‐Lhadj, A., Luo, X., & Cai, H. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3207149 · Cited by 61
(2021) · arXiv (Cornell University) · Cited by 37
KnowLog: Knowledge Enhanced Pre-trained Language Model for Log Understanding
Ma, L., Yang, W., Xu, B., Jiang, S., Fei, B., Liang, J., Zhou, M., & Xiao, Y. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3623304 · Cited by 35
A structural model for contextual code changes
Brody, S., Alon, U., & Yahav, E. (2020) · Proc. ACM Program. Lang. · doi:10.1145/3428283 · Cited by 45
Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binaries
Al-Kaswan, A., Ahmed, T., Izadi, M., Sawant, A. A., Dévanbu, P., & van Deursen, A. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00033 · Cited by 74
A Dataset for GitHub Repository Deduplication: Extended DescriptionPreprint
Spinellis, D. D., Kotti, Z., & Mockus, A. (2020) · arXiv (Cornell University) · doi:10.1145/3379597.3387496
TransRepair: Context-aware Program Repair for Compilation Errors
Li, X., Liu, S., Feng, R., Meng, G., Xie, X., Chen, K., & Liu, Y. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3560422 · Cited by 42
On the Reliability and Explainability of Language Models for Program Generation
Liu, Y., Tantithamthavorn, C. K., Liu, Y., & Li, L. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3641540 · Cited by 71
Probing model signal-awareness via prediction-preserving input minimization
Suneja, S., Zheng, Y., Zhuang, Y., Laredo, J., & Morari, A. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3468545 · Cited by 41
Finding the Dwarf: Recovering Precise Types from WebAssembly Binaries
Lehmann, D., & Pradel, M. (2022) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3519939.3523449 · Cited by 51
Learning Autocompletion from Real-World Datasets
Aye, G. A., Kim, S., & Li, H. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip52600.2021.00022 · Cited by 29
Memorization and Generalization in Neural Code Intelligence Models
Rabin, M. R. I., Hussain, A., Alipour, M. A., & Hellendoorn, V. J. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.107066 · Cited by 48
Keller, P., Kaboré, A. K., Plein, L., Klein, J., Traon, Y. L., & Bissyandé, T. F. (2021) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3485135 · Cited by 36
Explaining Software Bugs Leveraging Code Structures in Neural Machine Translation
Mahbub, P., Shuvo, O., & Rahman, M. M. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00063 · Cited by 44
Repository-Level Prompt Generation for Large Language Models of Code
Shrivastava, D., Larochelle, H., & Tarlow, D. (2022) · arXiv · doi:10.48550/arxiv.2206.12839 · Cited by 27
“Since code duplication has been shown to have adverse effects [1], within a repository, we look for files that are exact replica of each other, but placed in a different folder.”
BackgroundCiniselli, M., Pascarella, L., & Bavota, G. (2022) · Proceedings of the 19th International Conference on Mining Software Repositories · doi:10.1145/3524842.3528440 · Cited by 26
An Empirical Evaluation of Competitive Programming AI: A Case Study of AlphaCode
Lertbanjongngam, S., Chinthanet, B., Ishio, T., Kula, R. G., Leelaprute, P., Manaskasemsak, B., Rungsawang, A., & Matsumoto, K. (2022) · IEEE International Workshop on Software Clones (IWSC) · doi:10.1109/iwsc55060.2022.00010 · Cited by 39
Rafiq, H., Aslam, N., Aleem, M., Issac, B., & Randhawa, R. H. (2022) · Scientific Reports · doi:10.1038/s41598-022-23766-w · Cited by 25
ExeBench: an ML-scale dataset of executable C functions
Armengol-Estapé, J., Woodruff, J., Brauckmann, A., Magalhães, J. W. D. S., & O’boyle, M. F. P. (2022) · doi:10.1145/3520312.3534867 · Cited by 74
Katana : Dual Slicing Based Context for Learning Bug Fixes
Sintaha, M., Nashid, N., & Mesbah, A. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3579640 · Cited by 35
TF-Coder: Program Synthesis for Tensor Manipulations
Shi, K., Bieber, D., & Singh, R. (2022) · ACM Transactions on Programming Languages and Systems · doi:10.1145/3517034 · Cited by 54
ManyTypes4Py: A Benchmark Python Dataset for Machine Learning-based Type Inference
Mir, A. M., Latoškinas, E., & Gousios, G. (2021) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00079 · Cited by 43
KG4Py: A toolkit for generating Python knowledge graph and code semantic search
Liang, L., Li, Y., Wen, M., & Liu, Y. (2022) · Connection Science · doi:10.1080/09540091.2022.2072471 · Cited by 31
DeepDev-PERF: a deep learning-based approach for improving software performance
Garg, S., Moghaddam, R. Z., Clement, C. B., Sundaresan, N., & Wu, C. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549096 · Cited by 24
“We also de-dupe the examples in each set as well as remove any near duplicates [4] among them to ensure no overlap between train and test data.”
BackgroundEsale: Enhancing Code-Summary Alignment Learning for Source Code Summarization
Fang, C.-R., Sun, W.-S., Chen, Y., Chen, X., Wei, Z., Zhang, Q.-J., You, Y., Luo, B., Liu, Y., & Chen, Z.-Y. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3422274 · Cited by 36
Modeling Vocabulary for Big Code Machine LearningPreprint
Babii, H., Janes, A., & Robbes, R. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.01873 · Cited by 24
Metadata
- Authors
- Allamanis, M.
- Affiliations
- Microsoft (United States) (US)
- Corresponding author
- Allamanis, Miltiadis
- ORCID
- Allamanis, Miltiadis
- Venue
- Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software
- Publisher
- ACM
- Published
- 2019-10-23
- Pages
- 143-153
- OpenAlex
- W2903709763
- Semantic Scholar
- 8ace1951c95f9bbbcf83571ff6c0579521507e2e
- Cited by
- 284
- References
- 30
- Citations by year
- 2026: 19 · 2025: 25 · 2024: 56 · 2023: 46 · 2022: 58 · 2021: 41 · 2020: 31 · 2019: 7
- FWCI
- 27.28
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) (publishedVersion)
- arXiv (Cornell University) (submittedVersion, other-oa)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Keywords
- code duplication, data deduplication, code mining, assessment practices, GitHub
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.