mlsanityData to 14 Oct 2026

textttDroid: A Resource Suite for AI-Generated Code Detection

arXiv 2507.10583 ↗First posted 11 Jul 2025cs.SE cs.AI cs.CYcited by 9

Not on the map. Why?

Abstract (arXiv)

In this work, we compile textbftextttDroidCollection, the most extensive open data suite for training and evaluating machine-generated code detectors, comprising over a million code samples, seven programming languages, outputs from 43 coding models, and over three real-world coding domains. Alongside fully AI-generated samples, our collection includes human-AI co-authored code, as well as adversarial samples explicitly crafted to evade detection. Subsequently, we develop textbftextttDroidDetect, a suite of encoder-only detectors trained using a multi-task objective over textttDroidCollection. Our experiments show that existing detectors' performance fails to generalise to diverse coding domains and programming languages outside of their narrow training data. Additionally, we demonstrate that while most detectors are easily compromised by humanising the output distributions using superficial prompting and alignment approaches, this problem can be easily amended by training on a small amount of adversarial data. Finally, we demonstrate the effectiveness of metric learning and uncertainty-based resampling as means to enhance detector training on possibly noisy distributions.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 57 of its 83 references that are in the map. First posted on arXiv 11 Jul 2025.

Builds on

57 of 83 references.

References · 57

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  6. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,311
  7. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  9. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  10. 2023Large Language Modelscited by 780
  11. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  12. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
38 more
  1. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  2. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
  3. 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 481
  4. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  5. 2014Deep metric learning using Triplet networkcited by 422
  6. 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 417
  7. 2023Can AI-Generated Text be Reliably Detected?cited by 386
  8. 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 287
  9. 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 261
  10. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  11. 2019Billion-scale semi-supervised learning for image classificationcited by 232
  12. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
  13. 2020Automatic Detection of Machine Generated Text: A Critical Surveycited by 166
  14. 2024RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectorscited by 163
  15. 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
  16. 2023MAGE: Machine-generated Text Detection in the Wildcited by 132
  17. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
  18. 2023M4: Multi-generator, Multi-domain, and Multi-lingual Black-Box Machine-Generated Text Detectioncited by 121
  19. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
  20. 2024A Note on Shumailov et al. (2024): `AI Models Collapse When Trained on Recursively Generated Data'cited by 115
  21. 2023Intrinsic Dimension Estimation for Robust Detection of AI-Generated Textscited by 112
  22. 2023Artificial Artificial Artificial Intelligence: Crowd Workers Widely Use Large Language Models for Text Production Taskscited by 103
  23. 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
  24. 2023MGTBench: Benchmarking Machine-Generated Text Detectioncited by 93
  25. 2023OUTFOX: LLM-Generated Essay Detection Through In-Context Learning with Adversarially Generated Examplescited by 80
  26. 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 52
  27. 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Codecited by 39
  28. 2023HC3 Plus: A Semantic-Invariant Human ChatGPT Comparison Corpuscited by 35
  29. 2022Findings of the The RuATD Shared Task 2022 on Artificial Text Detection in Russiancited by 29
  30. 2023Zero-Shot Detection of Machine-Generated Codescited by 24
  31. 2025Rewriting Pre-Training Data Boosts LLM Performance in Math and Codecited by 21
  32. 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
  33. 2025DAMAGE: Detecting Adversarially Modified AI Generated Textcited by 20
  34. 2024Assessing AI Detectors in Identifying AI-Generated Code: Implications for Educationcited by 18
  35. 2024Distinguishing LLM-generated from Human-written Code by Contrastive Learningcited by 16
  36. 2024Multi-line AI-assisted Code Authoringcited by 13
  37. 2024Whodunit: Classifying Code as Human Authored or GPT-4 Generated -- A case study on CodeChef problemscited by 13
  38. 2025CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settingscited by 11

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 6.

9 papers.