arXiv:2610.33405cs.AIOct 2026

Manuscript Offprint

arXiv:2610.33405

Data Optimization for LLMs: A Survey

Ou Wu

OU WU ∗^{*}, Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, China

Large language models (LLMs) have attracted great attention in both academic and industrial communities in recent years. Numerous survey studies have covered various aspects of LLMs, such as learning strategies, applications, alignment, explainability, and evaluation. However, little headway has been made in reviewing data-related aspects for LLMs, despite data being recognized as a key factor contributing to the emergence of the LLMs era. A wide range of data optimization algorithms and techniques are employed in LLMs' training and application processes. These techniques often originate from diverse deep learning domains, with their theoretical inspirations and heuristic motivations appearing unrelated to each other. This study aims to develop a comprehensive framework for LLMs' data optimization techniques to enhance data utilization and efficiency. We first discuss data challenges in LLMs' training and inference. Second, we summarize data perception dimensions for evaluating LLMs' data properties. These dimensions primarily include quality, difficulty, diversity, and redundancy, laying a foundation for subsequent optimization. Third, existing optimization techniques are reviewed and categorized into four groups: data selection, augmentation, reweighting, and others. Fourth, we analyze interconnections between these categories. Finally, we identify key challenges and future directions for LLMs' data optimization compared with conventional deep learning approaches.

CCS Concepts: • Computing methodologies Natural language processing; • Information systems Data mining Data preprocessing; • Information systems Data mining Mining methods and algorithms;

Additional Key Words and Phrases: Data Optimization, LLMs, Data Perception, Data Augmentation, Data Reweighting

ACM Reference Format:

Ou Wu. 2026. Data Optimization for LLMs: A Survey. In Proceedings of ACM TKDD (XX). ACM, New York, NY, USA, 50 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

LLMs have gained significant attention in the fields of deep learning and broader artificial intelligence research in recent years. Owing to their remarkable performance, these models have also garnered substantial interest from governments and the general public. Some researchers even suggest that LLMs exhibit strong potential for Artificial General Intelligence [90]. The success of LLMs can be attributed to three main factors: (1) advanced DNN architectures and learning algorithms, particularly the Transformer [213], (2) ultra-large-scale, high-quality training datasets [60, 99], and (3) efficient computational infrastructure, such as GPUs [161]. Thus, high-quality data is indispensable for LLM development. Recent evidence suggests that exhaustion of publicly available datasets will bottleneck large-scale model performance [214], further highlighting data's critical role.

∗^{*}Corresponding author.

This study is supported by NSFC No. 42550187 and 62476191.

Author's Contact Information: Ou Wu, wuou@ucas.ac.cn, Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, Hangzhou, China.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Ou Wu

Figure

Fig. 1. Nine issues around the data in conventional deep learning (left) [233], and around the data in LLMs (right). Key mappings: (1) “Distribution drift” (conventional DL) corresponds to “Distribution mismatch” (LLMs)—with LLM-specific extensions like inference-time prompt distribution shift; (2) “Noisy” (conventional DL) aligns with “Low quality” (LLMs)—including LLM-unique formatting chaos; (3) “Biased distribution” (conventional DL) maps to “Imbalance” (LLMs)—including novel multi-domain mixture proportion bias. Remaining issues (e.g., data poisoning) are LLM-specific or extended from conventional DL.

Researchers have devoted substantial efforts to improving the training and inference performance of LLMs from a data-centric perspective. Based on existing literature, data optimization for LLMs primarily addresses the following data defects (as shown in Fig. 1):

• Low quality: The pretraining of LLMs is fundamentally constrained by two critical data quality issues that pervade their training corpora. The first is the prevalence of noise and errors. Web-scale training data inherently contains significant noise, including factual inaccuracies, grammatical errors, and semantically inconsistent statements. The second is the structural inconsistencies and formatting chaos in the original training data. The latter can be effectively addressed by data cleaning techniques, which are not the focus of this study.

• Low information: This defect mainly refers to domain-specific token density and semantic coverage and lower values mean insufficient domain knowledge per unit text. The supervised fine-tuning (SFT) and inference stages of LLMs usually suffer from the lack of sufficient information. Many vertical AI applications (e.g., biomedical diagnostics, legal analysis) face acute shortages of domain-specific training data. The SciBERT dataset, for instance, contains merely 12% of the token density found in general web text [11], forcing models to rely on inadequate data resources. On the other hand, inputs (e.g., instructions, demonstrations) in inference usually contain limited information, hindering high-quality responses for LLMs.

• Redundancy: While LLMs are typically trained on massive datasets, not all data contributes equally to model performance. Two distinct but interrelated redundancy problems emerge in LLM development: 1) Web-crawled training corpora exhibit significant duplication, with studies showing 3–14% of tokens in datasets like Common Crawl appearing in near-identical form across multiple documents [113]; 2) Even with deduplication, not all samples are necessary in training.

• Lack of diversity: LLMs face significant challenges due to the lack of diversity in their training corpora, which manifests through the disproportionate representation of certain linguistic patterns, styles, or domain-specific knowledge. While web-scale datasets may appear comprehensive, they often exhibit systemic biases in which particular writing styles (e.g., Wikipedia’s encyclopedic tone) and topical coverage become disproportionately prevalent. This homogeneity can lead to spurious correlations between specific languages, styles, or semantic topics. Crucially, while this issue shares similarities with data redundancy in that both involve skewed distributions, the lack of diversity is fundamentally distinct—it pertains to the absence of meaningful variation rather than mere duplication of content.

• Insufficiently challenging: A critical yet understudied limitation in SFT for LLMs lies in the prevalence of insufficiently challenging data, which manifests through two interrelated dimensions: inadequate data difficulty and low data complexity. Over-reliance on simplistic training data (e.g., short sentences) leads to premature model convergence and weak generalization, while the lack of complex examples (e.g., abbreviated Chain-of-Thought sequences) inherently restricts systematic reasoning capabilities.

• Bias: This issue shares some commonalities with the lack of diversity. The pretraining of LLMs inherently amplifies social biases embedded in their training corpora, manifesting through distorted representations across dimensions such as demographics and geographic perspectives. Web-scale datasets systematically overrepresent majority perspectives. In addition, gender stereotypes are particularly pervasive: LLMs exhibit a 3–6 times higher propensity to select occupations aligned with gender stereotypes [105].

• Imbalance: This issue also heavily constrains the development of LLMs across both pretraining and SFT phases. During pretraining, web-scale datasets exhibit severe domain imbalance, where technical content and low-resource languages are dramatically underrepresented compared to high-frequency web genres, forcing models to develop uneven world knowledge that privileges dominant contents and semantic patterns. The instruction-tuning datasets often overrepresent popular tasks while neglecting complex reasoning formats, creating artificial capability ceilings as models overfit to prevalent task structures.

• Distribution mismatch: LLMs face a persistent distribution mismatch issue throughout their lifecycle, beginning with pretraining and extending to inference-time deployment and continual learning scenarios. Temporal drift in pretraining causes models to struggle with evolving language and facts. During inference, deviations from training data often generate poor responses. Continual learning further worsens performance through catastrophic forgetting during domain adaptation. Notably, LLM-specific inference-time prompt distribution shift (e.g., few-shot exemplar ordering impacting outputs) does not exist in conventional deep learning.

• Data poisoning: The growing threat of data poisoning in LLM training has emerged as a critical security concern, particularly given the reliance on web-scale corpora with minimal curation. Maliciously crafted training samples can induce systematic vulnerabilities, enabling targeted misinformation propagation, backdoor attacks, or subtle behavioral manipulation that evades conventional anomaly detection [64]. A recent study [3] demonstrates that as little as 0.001% poisoned data can reliably compromise model outputs while maintaining standard benchmark performance, highlighting the stealthiness of such attacks.

Wu and Yao [233] briefly summarized data-related issues concerning conventional deep learning scenarios as shown in Fig. 1(left). Three key distinctions drive differences in data focus between LLMs and conventional models: (1) LLMs require holistic optimization across pretraining, SFT, and inference stages versus conventional models' training-centric approach; (2) general-purpose LLMs contrast with application-specific conventional tasks; (3) LLMs must address safety/value alignment challenges beyond conventional accuracy prioritization.

The above-mentioned issues for LLMs mainly refer to data defects. There are other issues pertaining to data utility:

• Data order: The sequential organization of data during both training and inference phases constitutes a critical yet underappreciated determinant for LLMs. In SFT, curriculum learning strategies that progressively escalate

Ou Wu

task complexity have been shown to improve final performance compared to random ordering [112]. During inference, the ordering of few-shot exemplars significantly impacts output quality [147].

• Mixture proportions: The pretraining for LLMs involves multi-domain datasets. Empirical studies reveal that the setting of mixture proportions for multiple data domains has emerged as a critical determinant of model performance [12]. This sensitivity necessitates systematic balancing between domain diversity and task relevance, particularly given the varying linguistic patterns, conceptual densities, and noise levels inherent in heterogeneous corpora. This sensitivity is LLM-exclusive as conventional DNN models usually train on single-domain data and require no multi-domain proportion tuning, whereas LLM pretraining merges general and domain-specific corpora.

Crucially, each of these data defects and utility considerations directly impacts specific aspects of LLM behavior. Low-quality data undermines trustworthiness by causing factual hallucinations; insufficiently challenging data limits effectiveness by preventing the development of complex reasoning; lack of diversity harms fairness by amplifying societal bias; and data redundancy impairs efficiency by wasting computational resources. Data optimization techniques investigated in this survey serve as the primary means to address these issues, thereby enhancing the overall capabilities of LLMs. Throughout this paper, we will explicitly connect each optimization method to the LLM aspects it influences, providing a holistic view of how data-centric interventions shape model behavior.

To address the above defects and improve data utility for LLMs, numerous new methodologies and various empirical studies have been proposed in previous literature. Similar to the survey study summarized by Wu and Yao [233], this paper focuses on methods that improve LLM performance by intervening on the data used in training or inference, rather than by designing new model architectures or learning algorithms. We refer to this family of methods as data optimization for LLMs. More specifically, data optimization denotes the systematic improvement of data usage through operations such as selecting, augmenting, reweighting, re-ordering, or compressing data, with the goal of improving one or more downstream objectives, including effectiveness, efficiency, fairness, and trustworthiness.

Existing LLM studies addressing data deficiency and utility usually originate from disparate subfields with divergent motivations and focuses. A systematic synthesis and interdisciplinary integration of these investigations could facilitate mutual understanding among different data optimization paths, foster deeper comprehension of data's multifaceted roles in LLM development, and ultimately inspire novel approaches to data optimization methodologies for LLMs. Such an endeavor would not only promote the training and inference of LLMs but also establish foundational principles for data-centric LLM research paradigms.

The differences between our survey and existing surveys on LLMs in relevant areas—including data selection, data augmentation, adversarial training, and dataset distillation—lie in two aspects. First, this survey takes a much broader view of previous data-centric studies concerning LLMs. Consequently, a more comprehensive taxonomy is constructed, where most relevant surveys only address a subdivision of our taxonomy. Second, connections among different optimization paths are discussed in this survey, which are typically not addressed in existing surveys. Our contributions are summarized as follows:

• Methodologies to address distinct data defects and to improve data utility in LLM pretraining and inference are organized within a new taxonomy. To our knowledge, this is the first work that aims to construct a data-centric taxonomy focusing on data optimization across multiple subdivisions for LLMs.

• Several fundamental dimensions are summarized for the analysis of both training and inference data for LLMs. A new taxonomy is also constructed for these analytical dimensions.

Table 1. Several relevant data-centric survey studies (most are about LLMs).

Survey studiesTopicsTechniquesStagesPerception
Albalak et al. [2], Wang et al. [218]Data selectionSelection, re-orderingTraining, InferenceMentioned but not systematically elaborated
Ding et al. [43], Chai et al. [19]Data augmentationAugmentation, synthesisTraining, InferenceNot referred
Wang et al. [221]Synthesis, augmentationSynthesis, augmentationTraining, InferenceMentioned but not systematically elaborated
Das et al. [41], Zhao et al. [271]Security, poisoningSelectionTraining, InferenceNot referred
Navigli et al. [162], Chu et al. [32]Bias and fairnessSelection, augmentation, reweightingTraining, InferenceData balance
Ferdaus et al. [55], Huang et al. [81]TrustworthinessSelection, augmentation, reweightingTraining, InferenceData quality, balance
Li et al. [117], Li et al. [134]Prompt engineeringSelection, prompt compressionInferenceNot referred
Wang et al. [229]Data managementSelectionTrainingQuality, difficulty, diversity, redundancy
Wu and Yao [233]Data optimization (for deep learning)Selection, augmentation, reweighting, distillationTrainingDistribution, cleanliness, difficulty, uncertainty, balance, consistency, value
Our surveyData optimization (for LLMs)Selection, augmentation, reweighting, reordering, distillation, compressionTraining, InferenceQuality, difficulty, diversity, uncertainty, value, redundancy, balance, contamination, coverage

• Connections among different data optimization techniques are established. Additionally, potential future research directions are outlined.

This paper is organized as follows: Section 2 reviews existing surveys; Section 3 establishes data optimization overview; Sections 4-5 detail data perception and optimization techniques respectively; Section 6 analyzes technical interconnections and proposes future directions; Section 7 concludes the study.

References (69)