AKCIT at SemEval-2026 Task 13: A Lightweight LightGBM Baseline for Cross-Language Detection of LLM-Generated Code
Summary
The paper "AKCIT at SemEval-2026 Task 13" introduces a lightweight, LLM-free pipeline designed for the cross-language detection of code generated by large language models. This method, presented at the 20th International Workshop on Semantic Evaluation (2026) in San Diego, California, combines stylometric feature extraction with a LightGBM classifier. It explicitly prioritizes structural generalization over deep semantic modeling, addressing the challenge of detecting machine-generated code across various programming languages and domains. Despite its simplicity and operating without GPUs or fine-tuning, the pipeline achieved a Macro F1 score of 0.70–0.72. This performance more than doubles the CodeBERT baseline's score of 0.30 in SemEval-2026 Task 13 Subtask A, demonstrating a highly efficient and effective approach to a critical problem in software development.
Key takeaway
For Machine Learning Engineers tasked with detecting LLM-generated code across diverse programming languages, you should consider lightweight, LLM-free approaches. This research demonstrates that a simple pipeline combining stylometric features with a LightGBM classifier can achieve a Macro F1 of 0.70–0.72, significantly outperforming complex baselines like CodeBERT (0.30) without requiring GPUs or fine-tuning. Prioritize structural generalization in your models to enhance efficiency and cross-language performance in code detection tasks.
Key insights
A lightweight, LLM-free pipeline effectively detects machine-generated code across languages by prioritizing structural features over deep semantics.
Principles
- Structural generalization outperforms deep semantic modeling for code detection.
- Simplicity can yield superior performance and efficiency.
- LLM-free approaches are viable for code detection.
Method
The pipeline uses stylometric feature extraction combined with a LightGBM classifier. It operates without GPUs or fine-tuning, focusing on structural code properties for cross-language detection.
In practice
- Implement stylometric features for code analysis.
- Utilize LightGBM for efficient classification.
- Prioritize structural analysis for cross-language tasks.
Topics
- LLM-Generated Code Detection
- Cross-Language Code Analysis
- LightGBM Classifier
- Stylometric Feature Extraction
- SemEval-2026 Task 13
- CodeBERT Baseline
Best for: Research Scientist, CTO, VP of Engineering/Data, AI Scientist, Machine Learning Engineer, AI Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.