While large language models have achieved remarkable performance on various code generation benchmarks, there have been growing concerns regarding potential contamination of these benchmarks as they may be leaked into pretraining and finetuning data. While recent work has investigated contamination in natural language generation and understanding tasks, there has been less extensive research into how data contamination impacts the evaluation of code generation, which is critical for understanding the robustness and reliability of LLMs in programming contexts. In this work, we perform a comprehensive study of data contamination of popular code generation benchmarks, and precisely quantify their overlap with pretraining corpus through both surface-level and semantic-level matching. In our experiments, we show that there are substantial overlap between popular code generation benchmarks and open training corpus, and models perform significantly better on the subset of the benchmarks where similar solutions are seen during training. We also conduct extensive analysis on the factors that affects model memorization and generalization, such as model size, problem difficulty, and question length. We release all resulting files from our matching pipeline for future research.
LogProber: Disentangling confidence from contamination in LLM responses
LNC2, INSERM, Paris, France(LNC2,法国国家医学研究院,巴黎);DEC, ENS, PSL, Paris, France(DEC,巴黎高等师范学院,巴黎);Flowers AI & CogSci Lab Centre Inria de L’Université de Bordeaux(AI与认知科学实验室,Inria-波尔多大学研究中心)
Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Models
Key Laboratory of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院);Beijing Institute of Control Engineering(北京控制工程研究所);China Academy of Space Technology(中国空间技术研究院)
Luddy School of Informatics, Computing & Engineering(卢迪信息学、计算与工程学院);Center for Complex Networks & Systems(复杂网络与系统中心);Indiana University Network Science Institute(印第安纳大学网络科学研究所)
Evaluating Personality Traits in Large Language Models: Insights from Psychological Questionnaires
School of Physics, Mathematics and Computing(物理、数学与计算学院);University of Western Australia(西澳大学);School of Computing(计算机学院);School of Psychological Sciences(心理科学学院)