Yuvan Ramesh
2026
Team Yuvan at SemEval-2026 Task 13: Task-Adaptive Ensemble Strategies for AI-Generated Code Detection
Yuvan Ramesh | Tongtong Wu
Proceedings of the 20th International Workshop on Semantic Evaluation (2026)
Yuvan Ramesh | Tongtong Wu
Proceedings of the 20th International Workshop on Semantic Evaluation (2026)
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.