FMI_SU_Yotkova_Kastreva at SemEval-2026 Task 13: Lightweight Detection of LLM-Generated Code via Stylometric Signals

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yotkova, Elitsa, Kastreva, Violeta, Dimitrov, Dimitar, Koychev, Ivan, Nakov, Preslav
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915982014939136
author Yotkova, Elitsa
Kastreva, Violeta
Dimitrov, Dimitar
Koychev, Ivan
Nakov, Preslav
author_facet Yotkova, Elitsa
Kastreva, Violeta
Dimitrov, Dimitar
Koychev, Ivan
Nakov, Preslav
contents SemEval-2026 Task 13 investigates machine-generated code detection across multiple programming languages and application scenarios, asking participating systems to generalize to unseen languages and domains. This paper describes our participation in Subtask A (binary classification) and explores both pretrained code encoders and lightweight feature-based methods. We design ratio-based features that are less sensitive to snippet length. To support the extraction of descriptiveness-related signals, we use parsing engines and a programming-language classifier. Additionally, we train a separate code-vs-text line classifier to identify raw natural language segments embedded within samples. We combine a shallow decision tree with heuristic rules derived from data analysis to produce the final predictions. Our approach is computationally efficient, requires only CPU resources for training, and achieves near-instant inference time, offering a lightweight alternative to large pretrained models.
format Preprint
id arxiv_https___arxiv_org_abs_2605_04157
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FMI_SU_Yotkova_Kastreva at SemEval-2026 Task 13: Lightweight Detection of LLM-Generated Code via Stylometric Signals
Yotkova, Elitsa
Kastreva, Violeta
Dimitrov, Dimitar
Koychev, Ivan
Nakov, Preslav
Computation and Language
SemEval-2026 Task 13 investigates machine-generated code detection across multiple programming languages and application scenarios, asking participating systems to generalize to unseen languages and domains. This paper describes our participation in Subtask A (binary classification) and explores both pretrained code encoders and lightweight feature-based methods. We design ratio-based features that are less sensitive to snippet length. To support the extraction of descriptiveness-related signals, we use parsing engines and a programming-language classifier. Additionally, we train a separate code-vs-text line classifier to identify raw natural language segments embedded within samples. We combine a shallow decision tree with heuristic rules derived from data analysis to produce the final predictions. Our approach is computationally efficient, requires only CPU resources for training, and achieves near-instant inference time, offering a lightweight alternative to large pretrained models.
title FMI_SU_Yotkova_Kastreva at SemEval-2026 Task 13: Lightweight Detection of LLM-Generated Code via Stylometric Signals
topic Computation and Language
url https://arxiv.org/abs/2605.04157