DataSculpt: Crafting Data Landscapes for Long-Context LLMs through Multi-Objective Partitioning
Not on the map. Why?
Abstract (arXiv)
In recent years, Large Language Models (LLMs) have demonstrated significant improvements across a variety of tasks, one of which is the long-context capability. The key to improving long-context performance lies in effective data organization and management strategies that integrate data from multiple domains and optimize the context window during training. Through extensive experimental analysis, we identified three key challenges in designing effective data management strategies that enable the model to achieve long-context capability without sacrificing performance in other tasks: (1) a shortage of long documents across multiple domains, (2) effective construction of context windows, and (3) efficient organization of large-scale datasets. To address these challenges, we introduce DataSculpt, a novel data management framework designed for long-context training. We first formulate the organization of training data as a multi-objective combinatorial optimization problem, focusing on attributes including relevance, homogeneity, integrity, and efficiency. Specifically, our approach utilizes a coarse-to-fine methodology to optimize training data organization both efficiently and effectively. We begin by clustering the data based on semantic similarity (coarse), followed by a multi-objective greedy search within each cluster to score and concatenate documents into various context windows (fine). Our comprehensive evaluations demonstrate that DataSculpt significantly enhances long-context training performance, resulting in improvements of 18.09% in retrieval augmentation, 21.23% in summarization, 21.27% in reading comprehension, and a 3.81% increase in code completion, while also maintaining overall model proficiency with a 4.88% improvement.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 44 of its 84 references that are in the map. First posted on arXiv 2 Sep 2024.
Builds on
44 of 84 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
32 more
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
- 2023Baichuan 2: Open Large-scale Language Modelscited by 664
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2024Interpretable Preferences via Multi-Objective Reward Modeling and Mixture-of-Expertscited by 369
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2024Evolutionary Optimization of Model Merging Recipescited by 204
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
- 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 135
- 2021Data Collection and Quality Challenges in Deep Learning: A Data-Centric AI Perspectivecited by 116
- 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
- 2023MoDS: Model-oriented Data Selection for Instruction Tuningcited by 107
- 2019Unicoder: A Universal Language Encoder by Pre-training with Multiple Cross-lingual Taskscited by 96
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 34
- 2021The Inductive Bias of In-Context Learning: Rethinking Pretraining Example Designcited by 33
- 2023Rethinking the Instruction Quality: LIFT is What You Needcited by 33
- 2024Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculumcited by 25
- 2023Structured Packing in LLM Training Improves Long Context Utilizationcited by 17
- 2017Redefining Context Windows for Word Embedding Models: An Experimental Studycited by 3
- 2017A Survey of State Management in Big Data Processing Systemscited by 2
Built on by
Citing papers per year: 2025: 2.
2 papers.