DecorateLM: Data Engineering through Corpus Rating, Tagging, and Editing with Language Models
Not on the map. Why?
Abstract (arXiv)
The performance of Large Language Models (LLMs) is substantially influenced by the pretraining corpus, which consists of vast quantities of unsupervised data processed by the models. Despite its critical role in model performance, ensuring the quality of this data is challenging due to its sheer volume and the absence of sample-level quality annotations and enhancements. In this paper, we introduce DecorateLM, a data engineering method designed to refine the pretraining corpus through data rating, tagging and editing. Specifically, DecorateLM rates texts against quality criteria, tags texts with hierarchical labels, and edits texts into a more formalized format. Due to the massive size of the pretraining corpus, adopting an LLM for decorating the entire corpus is less efficient. Therefore, to balance performance with efficiency, we curate a meticulously annotated training corpus for DecorateLM using a large language model and distill data engineering expertise into a compact 1.2 billion parameter small language model (SLM). We then apply DecorateLM to enhance 100 billion tokens of the training corpus, selecting 45 billion tokens that exemplify high quality and diversity for the further training of another 1.2 billion parameter LLM. Our results demonstrate that employing such high-quality data can significantly boost model performance, showcasing a powerful approach to enhance the quality of the pretraining corpus.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 53 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
43 of 53 references.
References · 43
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
31 more
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2023LIMA: Less Is More for Alignmentcited by 1,100
- 2019Cross-lingual Language Model Pretrainingcited by 1,090
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 527
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 449
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 364
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 157
- 2023What's In My Big Data?cited by 129
- 2019JEC-QA: A Legal-Domain Question Answering Datasetcited by 116
- 2023Skywork: A More Open Bilingual Foundation Modelcited by 112
- 2023#InsTag: Instruction Tagging for Analyzing Supervised Fine-tuning of Large Language Modelscited by 109
- 2023MoDS: Model-oriented Data Selection for Instruction Tuningcited by 107
- 2020CLUECorpus2020: A Large-scale Chinese Corpus for Pre-training Language Modelcited by 36
- 2021Yuan 1.0: Large-Scale Pre-trained Language Model in Zero-Shot and Few-Shot Learningcited by 35
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025AttentionInfluence: Adopting Attention Head Influence for Weak-to-Strong Pretraining Data Selectioncited by 5
- 2025A Survey of LLM × DATAcited by 4
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 4
- 2025AIR: Post-training Data Selection for Reasoning via Attention Head Influencecited by 3
- 2025LLMs and their Limited Theory of Mind: Evaluating Mental State Annotations in Situated Dialoguecited by 1
- 2026Beyond Single Plots: A Benchmark for Question Answering on Multi-Chartscited by 0
- 2026Beyond Single Plots: A Benchmark for Question Answering on Multi-Charts23 Apr 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2025AIR: Post-training Data Selection for Reasoning via Attention Head Influence15 Dec 2025
- 2025LLMs and their Limited Theory of Mind: Evaluating Mental State Annotations in Situated Dialogue2 Sep 2025
- 2025A Survey of LLM × DATA24 May 2025
- 2025AttentionInfluence: Adopting Attention Head Influence for Weak-to-Strong Pretraining Data Selection12 May 2025