Adapting English Quality Classifiers for Multilingual LLM Pretraining Data Selection
cs.CL, cs.AI
Submitted: 2026-10-08
Updated: 2026-10-08
Code: https://github.com/huggingface/datatrove
License: http://creativecommons.org/licenses/by/4.0/
The gist: Recent advances in large language model (LLM) pretraining highlight the role of high-quality training data in improving performance.
Terminology
Abstract
Recent advances in large language model (LLM) pretraining highlight the role of high-quality training data in improving performance. While model-based filtering has proven effective in selecting high-quality subsets from web-scale corpora, especially for high-resource languages, low-resource languages face challenges due to limited availability of annotated data. This work explores extending quality filtering to over 100 languages by proposing a multilingual adaptation approach that converts an existing English quality classifier into a multilingual variant. Our approach proposes training a small multi-layer perceptron on top of Transformer encoder-only model embeddings, using multilingual text as input and scores obtained from English classifiers applied to machine-translated text as labels. Our 1B, 3B and 8B scale experiments show that our approach maintains the downstream LLM benchmark performance of existing multilingual model-based filtering baselines, without harming regional and cultural knowledge benchmarks. To further evaluate cross-lingual generalization, we compare classifier scores of high-quality synthetic data and web samples, and the correlation of classifier scores with LLM-based ones, revealing that the classifier can learn the scoring criteria of its original English variant, even for languages not included in its training data.
Sources
- Apertus: Democratizing Open and Compliant LLMs for Global Language Environments
- An Expanded Massive Multilingual Dataset for High-Performance Language Technologies (HPLT)
- MuRating: A High Quality Data Selecting Approach to Multilingual Large Language Model Pretraining
- CulturalBench: A Robust, Diverse, and Challenging Cultural Benchmark by Human-AI CulturalTeaming
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- XNLI: Evaluating Cross-lingual Sentence Representations
- Unsupervised Cross-lingual Representation Learning at Scale
- A New Massive Multilingual Dataset for High-Performance Language Technologies
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategies
- Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations
- Bag of Tricks for Efficient Text Classification
- Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
- The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Dataset
- Decoupled Weight Decay Regularization
- mmBERT: A Modern Multilingual Encoder with Annealed Language Learning
- Enhancing Multilingual LLM Pretraining with Model-Based Data Selection
- Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering
- Crosslingual Generalization through Multitask Finetuning
- CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languages
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering