mlsanityData to 7 Oct 2026

Joint Selection for Large-Scale Pre-Training Data via Policy Gradient-based Mask Learning

arXiv 2512.24265 ↗First posted 30 Dec 2025cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

A fine-grained data recipe is crucial for pre-training large language models, as it can significantly enhance training efficiency and model performance. One important ingredient in the recipe is to select samples based on scores produced by defined rules, LLM judgment, or statistical information in embeddings, which can be roughly categorized into quality and diversity metrics. Due to the high computational cost when applied to trillion-scale token pre-training datasets such as FineWeb and DCLM, these two or more types of metrics are rarely considered jointly in a single selection process. However, in our empirical study, selecting samples based on quality metrics exhibit severe diminishing returns during long-term pre-training, while selecting on diversity metrics removes too many valuable high-quality samples, both of which limit pre-trained LLMs' capabilities. Therefore, we introduce DATAMASK, a novel and efficient joint learning framework designed for large-scale pre-training data selection that can simultaneously optimize multiple types of metrics in a unified process, with this study focusing specifically on quality and diversity metrics. DATAMASK approaches the selection process as a mask learning problem, involving iterative sampling of data masks, computation of policy gradients based on predefined objectives with sampled masks, and updating of mask sampling logits. Through policy gradient-based optimization and various acceleration enhancements, it significantly reduces selection time by 98.9% compared to greedy algorithm, enabling our study to explore joint learning within trillion-scale tokens. With DATAMASK, we select a subset of about 10% from the 15 trillion-token FineWeb dataset, termed FineWeb-Mask. Evaluated across 12 diverse tasks, we achieves significant improvements of 3.2% on a 1.5B dense model and 1.9% on a 7B MoE model.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 29 of its 43 references that are in the map. First posted on arXiv 30 Dec 2025.

Builds on

29 of 43 references.

References · 29

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2025Qwen3 Technical Reportcited by 8,195
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  8. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  10. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
17 more
  1. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  2. 2024Qwen2 Technical Reportcited by 2,076
  3. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  4. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  5. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  6. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  7. 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
  8. 2025Seed1.5-Thinking: Advancing Superb Reasoning Models with Reinforcement Learningcited by 159
  9. 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
  10. 2014A Proximal Stochastic Gradient Method with Progressive Variance Reductioncited by 78
  11. 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
  12. 2024Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Modelscited by 60
  13. 2024Programming Every Example: Lifting Pre-training Data Quality Like Experts at Scalecited by 37
  14. 2025Ultra-FineWeb: Efficient Data Filtering and Verification for High-Quality LLM Training Datacited by 35
  15. 2021Combinatorial Optimization for Panoptic Segmentation: A Fully Differentiable Approachcited by 10
  16. 2025GneissWeb: Preparing High Quality Data for LLMs at Scalecited by 6
  17. 2025Combatting Dimensional Collapse in LLM Pre-Training Data via Diversified File Selectioncited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024How to Train Data-Efficient LLMs
  2. 2024Rethinking Data Selection at Scale: Random Selection is Almost All You Need
  3. 2025LLM4FS: Leveraging Large Language Models for Feature Selection
  4. 2025Learning from the Best, Differently: A Diversity-Driven Rethinking on Data Selection
  5. 2024Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection
  6. 2026Aligning the Query Space: Greedy Information Projection for Language Model Data Selection
  7. 2026Data-Constrained Language Model Pretraining: Improved Regularization and Scaling Laws
  8. 2024Take the essence and discard the dross: A Rethinking on Data Selection for Fine-Tuning Large Language Models