COODetect at SemEval-2026 Task 13: Unsupervised Latent Domain Adaptation for Out-of-Distribution AI Code Detection

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Cybersecurity & Data Privacy · Depth: Expert, medium

Summary

COODetect is a novel system designed for out-of-distribution (OOD) detection of AI-generated code, addressing limitations of existing embedder models like CodeBERT that fail to generalize to unseen programming languages and contexts. Developed by Aldan Creo et al. for SemEval-2026 Task 13, COODetect overcomes overfitting by focusing on true generative artifacts rather than "AI syntax." The system employs three orthogonal views—lexical, structural, and symbolic—to identify AI code indicators. To manage OOD shift, it normalizes language-specific scores using Z-scoring and a Gaussian Mixture Model, automatically removing language bias. COODetect demonstrated strong generalization capabilities, achieving a macro F1 of 0.602 on the SemEval-2026 Task 13 dataset, which significantly surpasses the task baseline of 0.305. Its source code and data are publicly available.

Key takeaway

For AI Security Engineers evaluating tools for detecting AI-generated code, COODetect offers a robust solution for out-of-distribution scenarios. You should consider its approach, which generalizes across unseen languages by analyzing lexical, structural, and symbolic features, and normalizing scores to remove language bias. This method provides significantly better performance (macro F1 of 0.602) than baseline models, enhancing your ability to maintain software integrity and academic standards.

Key insights

Overcoming AI code detection's OOD challenge requires focusing on generative artifacts, not just "AI syntax."

Principles

Method

COODetect uses lexical, structural, and symbolic views. It normalizes scores per language with Z-scoring and a Gaussian Mixture Model to remove language bias.

In practice

Topics

Code references

Best for: AI Scientist, Research Scientist, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.