UIT-AMMC at SemEval-2026 Task 13: Exploiting Structural Formatting Signatures for Robust AI-Generated Code Detection
Summary
UIT-AMMC's Structure-Aware Contrastive Cascade system, presented at SemEval-2026 Task 13, addresses the challenge of distinguishing human-authored from AI-generated code. This multi-stage architecture integrates generative reasoning with explicit structural linguistic features, specifically exploiting formatting signatures that emerge in AI-generated code due to post-training alignment. The system's pipeline employs a Qwen-2.5-Coder 14B model, fine-tuned using QLoRA, and incorporates stochastic data augmentation to ensure robustness across diverse programming languages. Classification is finalized via a late-fusion mechanism that combines contrastive probability scores with code presentation density metrics. For cases of high epistemic uncertainty, a multi-agent adversarial debate step is used to refine the decision. This approach achieved a Macro F1 score of 0.802, securing 3rd place on the official leaderboard for Subtask A.
Key takeaway
For AI Security Engineers tasked with verifying code origin, UIT-AMMC's approach highlights the importance of structural formatting signatures. You should integrate analysis of these signatures, alongside generative reasoning, into your code detection pipelines. This method achieved a Macro F1 of 0.802. It suggests focusing on subtle AI-induced patterns significantly improves robustness in distinguishing human from machine-generated code across diverse languages. Consider implementing multi-agent debate for high-uncertainty cases.
Key insights
AI-generated code can be robustly detected by exploiting structural formatting signatures and combining generative reasoning with statistical code presentation metrics.
Principles
- AI-generated code leaves structural formatting signatures.
- Combine generative reasoning with explicit structural features.
- Stochastic data augmentation enhances cross-language robustness.
Method
Fine-tune Qwen-2.5-Coder 14B via QLoRA with data augmentation. Classify using late-fusion of contrastive probabilities and code presentation density. Refine uncertain verdicts with multi-agent adversarial debate.
In practice
- Identify AI-generated code for integrity checks.
- Verify code authorship in professional settings.
- Detect LLM-specific formatting patterns.
Topics
- AI-Generated Code Detection
- Structural Formatting Signatures
- SemEval-2026 Task 13
- Qwen-2.5-Coder
- QLoRA
- Multi-agent Systems
Best for: Research Scientist, CTO, VP of Engineering/Data, AI Scientist, Machine Learning Engineer, AI Security Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.