UCSC-NLP at SemEval-2026 Task 13: Multi-View Generalization and Diagnostic Analysis of Machine-Generated Code Detection

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

Summary

UCSC-NLP's system for SemEval-2026 Task 13 addresses machine-generated code detection, covering both binary detection (Subtask A) and multi-class attribution (Subtask B). For Subtask A, the team developed a multi-view training framework utilizing UniXcoder-base, enhanced with domain-specific structural prefixes, delexicalization incorporating symmetric KL consistency loss, and token dropout. This approach achieved a macro F1 of 0.845 on an out-of-distribution test set, demonstrating strong generalization across five unseen languages and two unseen domains. For Subtask B, a diagnostic analysis revealed significant majority-class bias in transformer-based detectors. Despite an 88.4% accuracy, the system showed a near-complete failure in minority-class attribution, evidenced by a 0.086 Macro F1. This highlights that standard fine-tuning is inadequate for fine-grained generator identification and underscores the necessity for imbalance-aware, structure-focused modeling in future code detection research.

Key takeaway

For Machine Learning Engineers developing code detection systems, your focus on overall accuracy metrics like 88.4% can mask critical failures in fine-grained attribution. You should prioritize diagnostic analyses for minority classes, especially when dealing with diverse code generators, as standard fine-tuning is insufficient. Consider implementing imbalance-aware and structure-focused modeling techniques to ensure robust and equitable performance across all generator types, moving beyond simple binary detection.

Key insights

The system achieved high binary detection but exposed severe multi-class attribution bias in machine-generated code detection.

Principles

Method

A multi-view training framework for binary detection uses UniXcoder-base, structural prefixes, delexicalization with symmetric KL consistency loss, and token dropout.

In practice

Topics

Best for: 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.