SSN-CSE-CODECATALYSTS at SemEval-2026 Task 13: Integrating Transformer Semantics and AST-Derived Structural Features for AI-Generated Code Detection.

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

Summary

SSN-CSE-CODECATALYSTS presented a hybrid neural architecture at SemEval-2026 Task 13 for AI-generated code detection, addressing limitations of pre-trained transformers in multi-lingual code classification. This architecture integrates CodeBERT's semantic embeddings with explicit structural features derived from Abstract Syntax Trees (ASTs) using tree-sitter. The approach incorporates handcrafted software engineering metrics and a Head+Tail truncation strategy to manage long code sequences, preserving crucial logic. Key AST features extracted include maximum depth, branching factor, and cyclomatic complexity. This method aims to provide a robust and scalable solution for enhanced code classification by fusing dense language model representations with structural heuristics, specifically targeting the challenges of deep structural complexities and sequence length constraints.

Key takeaway

For Machine Learning Engineers developing code classification or AI-generated code detection systems, you should integrate structural features like Abstract Syntax Tree (AST) metrics with transformer-based semantic embeddings. This hybrid approach, utilizing tools such as tree-sitter and a Head+Tail truncation strategy, overcomes sequence length limitations. It also addresses deep structural complexity challenges, leading to more robust and scalable solutions for multi-lingual code analysis.

Key insights

Fusing transformer semantics with AST-derived structural features improves multi-lingual code classification and AI-generated code detection.

Principles

Method

A hybrid neural architecture fuses CodeBERT semantic embeddings with handcrafted software engineering metrics and AST features (max depth, branching factor, cyclomatic complexity) extracted via tree-sitter, using a Head+Tail truncation strategy.

In practice

Topics

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

Related on AIssential

Open in AIssential →

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