Team Yuvan at SemEval-2026 Task 13: Task-Adaptive Ensemble Strategies for AI-Generated Code Detection

Yuvan Ramesh, Tongtong Wu


Abstract
We describe our system for SemEval-2026 Task 13 on detecting machine-generated code across eight programming languages and three subtasks: binary human-vs-AI detection, 11-way source identification, and 4-way generator classification. Our approach uses a task-specific combination of Qwen2.5-Coder-1.5B with LoRA fine-tuning, abstract syntax tree (AST) features, CodeBERT with head-tail chunking, and TF-IDF features. Experiments reveal three main findings. For Task A, neural detectors degrade markedly on the official test split, while AST-based structural features remain more stable, suggesting substantial distribution shift. For Task B, inverse-frequency class weighting is essential under extreme label imbalance and greatly improves macro-F1. For Task C, combining neural and statistical models performs better than relying on a single model alone, indicating complementary strengths across representations. Our final system achieves 0.638 macro-F1 on Task A, 0.449 macro-F1 on Task B, and 0.714 macro-F1 on Task C, offering practical insights into robustness, imbalance handling, and model complementarity for AI-generated code detection.
Anthology ID:
2026.semeval-1.263
Volume:
Proceedings of the 20th International Workshop on Semantic Evaluation (2026)
Month:
July
Year:
2026
Address:
San Diego, California, USA
Editors:
Ekaterina Kochmar, Debanjan Ghosh, Kai North, Mamoru Komachi
Venues:
SemEval | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
2089–2097
Language:
URL:
https://preview.aclanthology.org/ingest-acl-workshops/2026.semeval-1.263/
DOI:
Bibkey:
Cite (ACL):
Yuvan Ramesh and Tongtong Wu. 2026. Team Yuvan at SemEval-2026 Task 13: Task-Adaptive Ensemble Strategies for AI-Generated Code Detection. In Proceedings of the 20th International Workshop on Semantic Evaluation (2026), pages 2089–2097, San Diego, California, USA. Association for Computational Linguistics.
Cite (Informal):
Team Yuvan at SemEval-2026 Task 13: Task-Adaptive Ensemble Strategies for AI-Generated Code Detection (Ramesh & Wu, SemEval 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl-workshops/2026.semeval-1.263.pdf
Supplementarymaterial:
 2026.semeval-1.263.SupplementaryMaterial.zip