CUETLuminaries0227 at SemEval-2026 Task 13: Invariance-Oriented Representation Learning for Robust AI-Generated Code Detection
Summary
CUETLuminaries0227 presented a robustness-oriented framework at SemEval-2026 Task 13 Subtask A for detecting AI-generated source code, specifically addressing performance degradation under distribution shifts across programming languages and application domains. The system enhances feature-fused UniXcoder representations by incorporating supervised contrastive learning, adversarial language-invariant training, and uncertainty-aware filtering. This approach aims to promote stable and shift-resilient representations for robust detection. The proposed system achieved a macro-F1 of 0.5411 on the official test set, demonstrating stable performance even under severe language–domain shifts. The research identified domain-level semantic variation as the primary cause of degradation, underscoring the critical role of invariance-oriented representations for consistent out-of-distribution performance in machine-generated code detection.
Key takeaway
For AI Scientists developing robust AI-generated code detection systems, you should prioritize invariance-oriented representation learning. Your models must explicitly account for domain-level semantic variation, which is a primary source of performance degradation under distribution shifts. Consider integrating techniques like supervised contrastive learning and adversarial language-invariant training to ensure stable out-of-distribution performance for your detection solutions.
Key insights
Robust AI-generated code detection needs invariance-oriented representations to overcome performance degradation caused by domain-level semantic shifts.
Principles
- Detection systems degrade under distribution shift.
- Domain-level semantic variation causes degradation.
- Invariance-oriented representations enhance OOD stability.
Method
Enhances feature-fused UniXcoder representations with supervised contrastive learning, adversarial language-invariant training, and uncertainty-aware filtering to promote stable, shift-resilient AI-generated code detection.
Topics
- AI-Generated Code Detection
- SemEval-2026 Task 13
- Distribution Shift
- Invariance Learning
- UniXcoder
- Contrastive Learning
Best for: Research Scientist, AI Scientist, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.