An Empirical Study on Influence-Based Pretraining Data Selection for Code Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xing, Chengli, Zeng, Zhengran, Fang, Gexiang, Xie, Rui, Ye, Wei, Zhang, Shikun
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918436403150848
author Xing, Chengli
Zeng, Zhengran
Fang, Gexiang
Xie, Rui
Ye, Wei
Zhang, Shikun
author_facet Xing, Chengli
Zeng, Zhengran
Fang, Gexiang
Xie, Rui
Ye, Wei
Zhang, Shikun
contents Recent advancements in code large language models (Code-LLMs) have demonstrated remarkable capabilities in resolving programming related tasks. Meanwhile, researchers have recognized that the quality of pre-training data is crucial for improving LLM performance. However, most of the existing research on pre-training data filtering has focused on general datasets, and little attention for programming datasets. In this paper, we aim to address this gap by exploring the effectiveness of a widely used general data filtering technique, i.e., data-influence-score filtering, within the context of programming-related datasets. To this end, we first introduce a method for calculating data-influence-score for generative programming tasks which involves transforming a variety of downstream coding tasks into validation sets and using the models loss on these sets as a performance metric. Next, we pre-train a Code-LLMs with 1 billion parameters from scratch on a dataset of 100 billion code tokens. Based on it, we conduct an extensive empirical study to evaluate the effectiveness of data-influence-score filtering methods. Specifically, we examine how well this technique improves model performance, investigate how the characteristics of beneficial training data vary across different training stages and programming tasks, and assess the feasibility of prediction-based data-influence-score filtering method. Our findings show that data-influence-score filtering based on validation-set-loss can enhance models programming performance. Moreover, we observe that the criteria of beneficial training data differ significantly across various downstream programming tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2604_07769
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle An Empirical Study on Influence-Based Pretraining Data Selection for Code Large Language Models
Xing, Chengli
Zeng, Zhengran
Fang, Gexiang
Xie, Rui
Ye, Wei
Zhang, Shikun
Software Engineering
Recent advancements in code large language models (Code-LLMs) have demonstrated remarkable capabilities in resolving programming related tasks. Meanwhile, researchers have recognized that the quality of pre-training data is crucial for improving LLM performance. However, most of the existing research on pre-training data filtering has focused on general datasets, and little attention for programming datasets. In this paper, we aim to address this gap by exploring the effectiveness of a widely used general data filtering technique, i.e., data-influence-score filtering, within the context of programming-related datasets. To this end, we first introduce a method for calculating data-influence-score for generative programming tasks which involves transforming a variety of downstream coding tasks into validation sets and using the models loss on these sets as a performance metric. Next, we pre-train a Code-LLMs with 1 billion parameters from scratch on a dataset of 100 billion code tokens. Based on it, we conduct an extensive empirical study to evaluate the effectiveness of data-influence-score filtering methods. Specifically, we examine how well this technique improves model performance, investigate how the characteristics of beneficial training data vary across different training stages and programming tasks, and assess the feasibility of prediction-based data-influence-score filtering method. Our findings show that data-influence-score filtering based on validation-set-loss can enhance models programming performance. Moreover, we observe that the criteria of beneficial training data differ significantly across various downstream programming tasks.
title An Empirical Study on Influence-Based Pretraining Data Selection for Code Large Language Models
topic Software Engineering
url https://arxiv.org/abs/2604.07769