MANTRA: a Framework for Multi-stage Adaptive Noise TReAtment During Training
Not on the map. Why?
Abstract (arXiv)
The reliable application of deep learning models to software engineering tasks hinges on high-quality training data. Yet, large-scale repositories inevitably introduce noisy or mislabeled examples that degrade both accuracy and robustness. While Noise Label Learning (NLL) has been extensively studied in other fields, there are a few works that investigate NLL in Software Engineering (SE) and Large Language Models (LLMs) for SE tasks. In this work, we propose MANTRA, a Multi-stage Adaptive Noise TReAtment framework that embeds noise diagnosis and mitigation directly into the fine-tuning process of code-Pretrained Language Models (PTM) and code-LLMs. We first investigate the effect of noise at varying levels on convergence and loss trajectories of the models. Then we apply an adaptive dropout strategy guided by per-sample loss dynamics and Gaussian Mixture Model clustering to exclude persistently noisy points while preserving clean data. Applying to code summarization and commit intent classification, our experiments reveal that some LLMs are more sensitive to noise than others. However, with MANTRA, the performance of all models in both tasks is improved. MANTRA enables researchers and practitioners to reduce the impact of errors introduced by the dataset in training, saves time in data cleaning and processing, while maximizing the effect of fine-tuning.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 33 of its 54 references that are in the map. First posted on arXiv 3 Dec 2025.
Builds on
33 of 54 references.
References · 33
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2018Co-teaching: Robust Training of Deep Neural Networks with Extremely Noisy Labelscited by 1,059
- 2020DivideMix: Learning with Noisy Labels as Semi-supervised Learningcited by 692
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2020Early-Learning Regularization Prevents Memorization of Noisy Labelscited by 416
21 more
- 2019Confident Learning: Estimating Uncertainty in Dataset Labelscited by 413
- 2019Peer Loss Functions: Learning from Noisy Labels without Knowing Noise Ratescited by 142
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
- 2021Detecting Corrupted Labels Without Training a Model to Predictcited by 58
- 2021Multilingual training for Software Engineeringcited by 43
- 2023An Empirical Comparison of Pre-Trained Models of Source Codecited by 25
- 2024RobustFT: Robust Supervised Fine-tuning for Large Language Models under Noisy Responsecited by 24
- 2021Learning with Noisy Labels by Efficient Transition Matrix Estimation to Combat Label Miscorrectioncited by 20
- 2019Automatic Code Summarization: A Systematic Literature Reviewcited by 18
- 2025On the Effectiveness of LLM-as-a-judge for Code Generation and Summarizationcited by 18
- 2025Hide and Seek in Noise Labels: Noise-Robust Collaborative Active Learning with LLM-Powered Assistancecited by 11
- 2022SelfMix: Robust Learning Against Textual Label Noise with Self-Mixup Trainingcited by 8
- 2022Noisy Label Learning for Security Defectscited by 7
- 2024Towards Understanding the Impact of Data Bugs on Deep Learning Models in Software Engineeringcited by 6
- 2022Towards Using Data-Influence Methods to Detect Noisy Samples in Source Code Corporacited by 4
- 2024Learning with Noisy Labels: Interconnection of Two Expectation-Maximizationscited by 4
- 2025Calibrating Pre-trained Language Classifiers on LLM-generated Noisy Labels via Iterative Refinementcited by 4
- 2023Logistic-Normal Likelihoods for Heteroscedastic Label Noisecited by 3
- 2024Productively Deploying Emerging Models on Emerging Platforms: A Top-Down Approach for Testing and Debuggingcited by 2
- 2024Data Quality Antipatterns for Software Analyticscited by 1
- 2025SnipGen: A Mining Repository Framework for Evaluating LLMs for Codecited by 1
Built on by
Not cited yet.