Cluster Purge Loss: Structuring Transformer Embeddings for Equivalent Mutants Detection
Not on the map. Why?
Abstract (arXiv)
Recent pre-trained transformer models achieve superior performance in various code processing objectives. However, although effective at optimizing decision boundaries, common approaches for fine-tuning them for downstream classification tasks - distance-based methods or training an additional classification head - often fail to thoroughly structure the embedding space to reflect nuanced intra-class semantic relationships. Equivalent code mutant detection is one of these tasks, where the quality of the embedding space is crucial to the performance of the models. We introduce a novel framework that integrates cross-entropy loss with a deep metric learning objective, termed Cluster Purge Loss. This objective, unlike conventional approaches, concentrates on adjusting fine-grained differences within each class, encouraging the separation of instances based on semantical equivalency to the class center using dynamically adjusted borders. Employing UniXCoder as the base model, our approach demonstrates state-of-the-art performance in the domain of equivalent mutant detection and produces a more interpretable embedding space.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 26 Jul 2025.
Builds on
14 of 29 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2019Bag of Tricks and A Strong Baseline for Deep Person Re-identificationcited by 430
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2023A Survey of Large Language Models for Code: Evolution, Benchmarking, and Future Trendscited by 66
- 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
- 2024The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunitiescited by 64
2 more
Built on by
Not cited yet.