Learning in the Wild: Towards Leveraging Unlabeled Data for Effectively Tuning Pre-trained Code Models
Not on the map. Why?
Abstract (arXiv)
Pre-trained code models have recently achieved substantial improvements in many code intelligence tasks. These models are first pre-trained on large-scale unlabeled datasets in a task-agnostic manner using self-supervised learning, and then fine-tuned on labeled datasets in downstream tasks. However, the labeled datasets are usually limited in size (i.e., human intensive efforts), which may hinder the performance of pre-trained code models in specific tasks. To mitigate this, one possible solution is to leverage the large-scale unlabeled data in the tuning stage by pseudo-labeling. However, directly employing the pseudo-labeled data can bring a large amount of noise, i.e., incorrect labels, leading to suboptimal performance. How to effectively leverage the noisy pseudo-labeled data is a challenging yet under-explored problem.In this paper, we propose a novel approach named HINT to improve pre-trained code models with large-scale unlabeled datasets by better utilizing the pseudo-labeled data. HINT includes two main modules: HybrId pseudo-labeled data selection and Noise-tolerant Training. In the hybrid pseudo-data selection module, considering the robustness issue, apart from directly measuring the quality of pseudo labels through training loss, we further propose to employ a retrieval-based method to filter low-quality pseudo-labeled data. The noise-tolerant training module aims to further mitigate the influence of errors in pseudo labels by training the model with a noise-tolerant loss function and by regularizing the consistency of model predictions.The experimental results show that HINT can better leverage those unlabeled data in a task-specific way and provide complementary benefits for pre-trained models, e.g., improving the best baseline model by 15.33%, 16.50%, and 8.98% on code summarization, defect detection, and assertion generation, respectively.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 Jan 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 4; 2025: 3; 2026: 2.
9 papers.
- 2024Automatic Programming: Large Language Models and Beyondcited by 36
- 2024Source Code Summarization in the Era of Large Language Modelscited by 31
- 2024Search-Based LLMs for Code Optimizationcited by 28
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 24
- 2025How to Use Graph Data in the Wild to Help Graph Anomaly Detection?cited by 3
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2025ReDef: Do Code Language Models Truly Understand Code Changes for Just-in-Time Software Defect Prediction?cited by 0
- 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translationcited by 0
- 2026Human-Machine Co-Boosted Bug Report Identification with Mutualistic Neural Active Learningcited by 0
- 2026Human-Machine Co-Boosted Bug Report Identification with Mutualistic Neural Active Learning20 Apr 2026
- 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translation30 Jan 2026
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2025ReDef: Do Code Language Models Truly Understand Code Changes for Just-in-Time Software Defect Prediction?11 Sep 2025
- 2025How to Use Graph Data in the Wild to Help Graph Anomaly Detection?4 Jun 2025
- 2024Search-Based LLMs for Code Optimization22 Aug 2024
- 2024Source Code Summarization in the Era of Large Language Models9 Jul 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Models29 Apr 2024