AICD Bench: A Challenging Benchmark for AI-Generated Code Detection

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Orel, Daniil, Azizov, Dilshod, Paul, Indraneil, Wang, Yuxia, Gurevych, Iryna, Nakov, Preslav
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914301531389952
author Orel, Daniil
Azizov, Dilshod
Paul, Indraneil
Wang, Yuxia
Gurevych, Iryna
Nakov, Preslav
author_facet Orel, Daniil
Azizov, Dilshod
Paul, Indraneil
Wang, Yuxia
Gurevych, Iryna
Nakov, Preslav
contents Large language models (LLMs) are increasingly capable of generating functional source code, raising concerns about authorship, accountability, and security. While detecting AI-generated code is critical, existing datasets and benchmarks are narrow, typically limited to binary human-machine classification under in-distribution settings. To bridge this gap, we introduce $\emph{AICD Bench}$, the most comprehensive benchmark for AI-generated code detection. It spans $\emph{2M examples}$, $\emph{77 models}$ across $\emph{11 families}$, and $\emph{9 programming languages}$, including recent reasoning models. Beyond scale, AICD Bench introduces three realistic detection tasks: ($\emph{i}$)~$\emph{Robust Binary Classification}$ under distribution shifts in language and domain, ($\emph{ii}$)~$\emph{Model Family Attribution}$, grouping generators by architectural lineage, and ($\emph{iii}$)~$\emph{Fine-Grained Human-Machine Classification}$ across human, machine, hybrid, and adversarial code. Extensive evaluation on neural and classical detectors shows that performance remains far below practical usability, particularly under distribution shift and for hybrid or adversarial code. We release AICD Bench as a $\emph{unified, challenging evaluation suite}$ to drive the next generation of robust approaches for AI-generated code detection. The data and the code are available at https://huggingface.co/AICD-bench}.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02079
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle AICD Bench: A Challenging Benchmark for AI-Generated Code Detection
Orel, Daniil
Azizov, Dilshod
Paul, Indraneil
Wang, Yuxia
Gurevych, Iryna
Nakov, Preslav
Machine Learning
Software Engineering
Large language models (LLMs) are increasingly capable of generating functional source code, raising concerns about authorship, accountability, and security. While detecting AI-generated code is critical, existing datasets and benchmarks are narrow, typically limited to binary human-machine classification under in-distribution settings. To bridge this gap, we introduce $\emph{AICD Bench}$, the most comprehensive benchmark for AI-generated code detection. It spans $\emph{2M examples}$, $\emph{77 models}$ across $\emph{11 families}$, and $\emph{9 programming languages}$, including recent reasoning models. Beyond scale, AICD Bench introduces three realistic detection tasks: ($\emph{i}$)~$\emph{Robust Binary Classification}$ under distribution shifts in language and domain, ($\emph{ii}$)~$\emph{Model Family Attribution}$, grouping generators by architectural lineage, and ($\emph{iii}$)~$\emph{Fine-Grained Human-Machine Classification}$ across human, machine, hybrid, and adversarial code. Extensive evaluation on neural and classical detectors shows that performance remains far below practical usability, particularly under distribution shift and for hybrid or adversarial code. We release AICD Bench as a $\emph{unified, challenging evaluation suite}$ to drive the next generation of robust approaches for AI-generated code detection. The data and the code are available at https://huggingface.co/AICD-bench}.
title AICD Bench: A Challenging Benchmark for AI-Generated Code Detection
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2602.02079