Osint at SemEval-2026 Task 13: A Distribution-Aware Framework for Machine-Generated Code Detection and Multi-Source Authorship Attribution

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Cybersecurity & Data Privacy · Depth: Expert, quick

Summary

The paper "Osint at SemEval-2026 Task 13" presents a distribution-aware framework for detecting machine-generated code and attributing authorship. This framework addresses challenges posed by code-generating LLMs like DeepSeek, Qwen, and Meta-LLaMA, which increase risks of plagiarism and insecure code. SemEval-2026 Task 13 includes two subtasks: binary human–machine code detection (Subtask A) and multi-class authorship attribution across ten LLM families (Subtask B). For Subtask A, the authors fine-tuned models such as RoBERTa, CodeBERT, GraphCodeBERT, and StarCoderBase-1B, employing a stratified sampling strategy with class-weighted loss to handle data imbalance and out-of-distribution (OOD) shifts. For Subtask B, they used undersampling, inverse-frequency weights, syntactic noising, and curriculum-based dual-path training with TinyStarCoderPy and CodeBERT to mitigate extreme human-class imbalance. The findings emphasize the importance of long-context modeling, distribution-aware sampling, and noise-robust training for reliable real-world performance in both detection and attribution tasks.

Key takeaway

For Machine Learning Engineers developing code detection systems, you should prioritize integrating long-context modeling and distribution-aware sampling strategies. When facing imbalanced datasets or out-of-distribution code, implement techniques like stratified sampling with class-weighted loss or undersampling with inverse-frequency weights. Additionally, consider noise-robust training, potentially with syntactic noising, to enhance the reliability of your models in real-world, multi-language, and multi-LLM environments, mitigating risks of plagiarism and insecure code.

Key insights

Long-context modeling, distribution-aware sampling, and noise-robust training are crucial for reliable machine-generated code detection.

Principles

Method

For Subtask A, fine-tune RoBERTa, CodeBERT, GraphCodeBERT, and StarCoderBase-1B with stratified sampling and class-weighted loss. For Subtask B, use undersampling, inverse-frequency weights, syntactic noising, and curriculum-based dual-path training with TinyStarCoderPy and CodeBERT.

In practice

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.