ICI Innolabs at SemEval-2026 Task 13: Sliding Windows Meet Code Transformers
Summary
ICI Innolabs developed a system for SemEval-2026 Task 13, Subtask B, focusing on multi-class authorship attribution for code snippets, distinguishing human-written code from that generated by ten LLM families. The system addresses challenges of severe class imbalance and long input sequences exceeding Transformer context limits. It employs a window-based framework, sampling 512-token windows during training with class-weighted cross-entropy and label smoothing. For inference, a sliding-window strategy aggregates window-level logits for snippet-level predictions. Three pretrained code encoders—CodeBERT, UniXcoder, and StarEncoder—were fine-tuned and their outputs combined via majority voting. The StarEncoder achieved 0.60 macro F1 on the validation split, while the three-model ensemble reached 0.41 macro F1 on the final test set, ranking 10th. This approach demonstrates a robust baseline for LLM attribution under distribution shift.
Key takeaway
For Machine Learning Engineers developing LLM authorship attribution systems, particularly for code, this work highlights the effectiveness of window-based modeling and imbalance-aware optimization. If your task involves long code sequences or severe class imbalance, you should implement a sliding-window framework with techniques like class-weighted cross-entropy and label smoothing. Combining multiple fine-tuned code encoders via majority voting can further enhance your system's robustness and performance under distribution shift.
Key insights
Window-based modeling and imbalance-aware optimization provide a robust baseline for multi-class LLM attribution.
Principles
- Window-based modeling addresses long input sequences.
- Class-weighted cross-entropy mitigates class imbalance.
- Ensembling multiple models improves robustness.
Method
Fine-tune code encoders using 512-token windows, class-weighted cross-entropy, and label smoothing. Apply sliding-window inference, aggregating logits for snippet-level predictions.
In practice
- Apply sliding windows for long sequence processing.
- Use class-weighted loss for imbalanced datasets.
- Combine diverse models via majority voting.
Topics
- Code Transformers
- Authorship Attribution
- LLM Attribution
- Sliding Windows
- Class Imbalance
- Ensemble Methods
Best for: AI Scientist, Research Scientist, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.