Skip to main content
QUICK REVIEW

[Paper Review] Data Management For Training Large Language Models: A Survey

Zige Wang, Wanjun Zhong|arXiv (Cornell University)|Dec 4, 2023
Topic ModelingComputer Science5 citations
TL;DR

This survey provides a comprehensive, systematic analysis of data management practices for training Large Language Models (LLMs), covering data quantity, quality, domain composition, and data management systems in both pretraining and supervised fine-tuning stages. It identifies key strategies, evaluates their impacts, and outlines future challenges, serving as a guiding resource for practitioners aiming to optimize LLM training through effective data curation.

ABSTRACT

Data plays a fundamental role in training Large Language Models (LLMs). Efficient data management, particularly in formulating a well-suited training dataset, is significant for enhancing model performance and improving training efficiency during pretraining and supervised fine-tuning stages. Despite the considerable importance of data management, the underlying mechanism of current prominent practices are still unknown. Consequently, the exploration of data management has attracted more and more attention among the research community. This survey aims to provide a comprehensive overview of current research in data management within both the pretraining and supervised fine-tuning stages of LLMs, covering various aspects of data management strategy design. Looking into the future, we extrapolate existing challenges and outline promising directions for development in this field. Therefore, this survey serves as a guiding resource for practitioners aspiring to construct powerful LLMs through efficient data management practices. The collection of the latest papers is available at https://github.com/ZigeW/data_management_LLM.

Motivation & Objective

  • To address the lack of systematic analysis in data management strategy selection for LLM training, particularly in pretraining and supervised fine-tuning stages.
  • To clarify the rationale, consequences, and evaluation methodologies behind data curation strategies in LLM development.
  • To provide a structured overview of data management practices, including data quantity, quality, and domain/task composition, across both pretraining and fine-tuning phases.
  • To identify open challenges and propose promising future research directions in data management for LLMs.
  • To serve as a practical and guiding resource for researchers and practitioners aiming to build powerful LLMs through effective data management.

Proposed method

  • The survey conducts a systematic literature review of recent works on data management in LLM pretraining and supervised fine-tuning, focusing on data quantity, quality, and domain composition.
  • It categorizes and analyzes data management strategies into key dimensions: data quantity (e.g., scaling laws, repetition), data quality (e.g., deduplication, filtering for toxicity and bias), and domain composition (e.g., mixture-of-datasets, specialized corpora).
  • The paper evaluates data management systems such as Data-Juicer and Oasis, which support scalable and efficient data processing pipelines for LLM training.
  • It examines data-efficient learning techniques in supervised fine-tuning, including data selection and curriculum learning, to improve model performance with minimal data.
  • The survey integrates findings from benchmark evaluations and empirical studies to assess the impact of data curation on model performance and hallucination mitigation.
  • It synthesizes insights from multiple LLMs (e.g., GPT-3, Llama 2, Falcon) and their training data practices to derive generalizable principles for data management.

Experimental results

Research questions

  • RQ1What are the key data management strategies for optimizing data quantity in LLM pretraining and fine-tuning, and how do they affect model performance and training efficiency?
  • RQ2How do data quality factors—such as deduplication, toxicity filtering, bias mitigation, and diversity—impact the robustness and reliability of fine-tuned LLMs?
  • RQ3What role does domain and task composition play in shaping the capabilities of pre-trained and fine-tuned LLMs, and how can optimal mixtures be designed?
  • RQ4How do data management systems enable scalable, efficient, and reproducible data processing pipelines for large-scale LLM training?
  • RQ5What are the open challenges and promising future directions in data management, particularly concerning hallucinations, social bias, and multimodal data integration?

Key findings

  • Data quantity significantly influences LLM performance, with scaling laws demonstrating that model accuracy improves with more training tokens, especially in pretraining.
  • Deduplication and quality filtering—such as using SemDeDup or RefinedWeb—can reduce data redundancy and improve model generalization, particularly in large-scale pretraining.
  • Toxicity and social bias filtering in training data reduce harmful generations and improve fairness, with methods like those in Longpre et al. (2023b) showing measurable improvements in model safety.
  • High-quality instruction datasets, curated via human annotation or self-instruction (e.g., Self-Instruct), significantly enhance instruction-following abilities and reduce hallucinations in fine-tuned models.
  • Data management systems like Data-Juicer and Oasis enable efficient, scalable data processing, supporting complex transformations such as filtering, deduplication, and data augmentation.
  • Multimodal data integration in instruction tuning shows promise, with hybrid language-and-vision datasets improving multimodal LLM performance, though scaling laws and task balancing remain open challenges.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.