WWTC@UniA at SemEval-2026 Task 13: BERT-based Code Authorship Detection and Qualitative Analysis

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

Summary

WWTC@UniA's system for SemEval-2026 Task 13 focuses on detecting machine-generated code and identifying the large language model (LLM) family responsible for its creation. The team fine-tuned small encoder-only models, discovering that ModernBERT, a general-purpose model, surprisingly outperformed models specifically pre-trained for code. In the official evaluation, their system achieved 5th place on subtask B and 6th on subtask C. A detailed analysis showed that natural language elements within code snippets, such as comments, are crucial for identifying the generating LLM family. However, the fine-tuned ModernBERT's embeddings did not effectively differentiate between LLM families, though they successfully clustered human-written code by programming language.

Key takeaway

For AI Security Engineers assessing code provenance, you should consider general-purpose BERT models like ModernBERT for detecting machine-generated code and attributing its LLM family. Your analysis should specifically examine natural language elements, such as comments, within code snippets, as these provide strong signals for LLM identification. Do not solely rely on code embeddings for LLM family distinction, as they may primarily cluster by programming language.

Key insights

A general-purpose BERT model can effectively detect machine-generated code and identify LLM families, outperforming code-specific models.

Principles

Method

Fine-tuning small encoder-only models, specifically ModernBERT, for binary classification (human vs. machine) and multi-class LLM family identification.

In practice

Topics

Best for: AI Scientist, Research Scientist, AI Security Engineer

Related on AIssential

Open in AIssential →

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