scimeatlas

Research map / Large language models / Agents, code and math

CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settings

Daniil Orel, Dilshod Azizov, Preslav Nakov

ACL 2025Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach38 citations (OpenAlex)

Mohamed bin Zayed University of Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
3improved
2no clear effect
5hurt

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 changedWhereMeasuredEffect
use pre-trained code encoders instead of handcrafted-feature modelsCodeBERT/CodeT5/UniXcoder vs SVM/CatBoost · CoDet-M4 binary detectionmacro F1: 72.19 (SVM) -> 98.65 (UniXcoder)Improved
test on unseen programming languagesUniXcoder · Unseen languages vs in-distributionmacro F1: 98.65 -> 88.96Hurt
test on unseen domains (MBPP, The Vault)UniXcoder · unseen domains vs in-distributionmacro F1: 98.65 -> 55.01Hurt
test on unseen code generatorsUniXcoder · unseen modelsmacro F1: 93.22 (still high)No clear effect
prompt GPT-4o to detect AI code instead of fine-tuned detectorsGPT-4o · CoDet-M4 binary detectionmacro F1: 98.65 (UniXcoder) vs 41.53 (GPT-4o 1-shot)Hurt
add 3-shot examples instead of 1-shot to GPT-4o prompt (ablation)GPT-4o · CoDet-M4 binary detectionmacro F1: 41.53 -> 40.91No clear effect
test on hybrid-authorship code with binary-trained modelUniXcoder · hybrid generationmacro F1: 39.36 (hybrid) vs 98.65 (binary)Hurt
fine-tune on ternary labels including hybrid classUniXcoder · hybrid-aware ternary classificationmacro F1: 39.36 -> 86.10Improved
use CodeT5 instead of UniXcoder on unseen domains (ablation)UniXcoder · Unseen domainsmacro F1: 55.01 -> 58.22Improved
change source to MBPP (unseen source and format) from The Vault (unseen structure only) (ablation)UniXcoder · Unseen domainsmacro F1: 63.38 -> 44.48Hurt

Open problems this paper states

Open problems in code generation benchmarks

Do code benchmarks and methods hold beyond Python, small test sets and leaked data?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy