Research map / Large language models / Language, safety and interpretability
Rethinking KenLM: Good and Bad Model Ensembles for Efficient Text Quality Filtering in Large Web Corpora
Yungi Kim, Hyunsoo Ha, Sukyung Lee, Jihoo Kim, Seonghoon Yang, Chanjun Park
Liner · Upstage AI · Korea University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| train KenLM on S2ORC + Textbooks instead of Wikipedia (Good vs Wiki KenLM) (ablation) | KenLM · Fineweb-edu recall | Average recall: 0.7022 -> 0.8127 | Improved |
| ensemble Bad KenLM with Good KenLM (ablation) | Good KenLM · Fineweb-edu recall | Average recall: 0.8127 -> 0.8919 | Improved |
| replace Bad KenLM with Wiki KenLM in the ensemble (ablation) | Ens(Good, Bad) · Fineweb-edu recall | Average recall: 0.8919 -> 0.7605 | Hurt |
| use Bad KenLM alone for filtering (ablation) | Bad KenLM · Fineweb-edu recall | Average recall: 0.5217 vs Good 0.8127 | Hurt |
| ensemble KenLMs instead of FastText on same data (ablation) | Good + Bad training data · Fineweb-edu recall | Recall@30 / Recall@60: FastText(Good, Bad) 0.7462 -> 0.8190; 0.9412 -> 0.9647 | Improved |
| train Bad KenLM on Twitter data (ablation) | Ens(Good, Bad) · Fineweb-edu recall | Average recall: Twitter 0.8891 vs Toxic 0.8361 | Improved |
| add toxic data to Bad KenLM training (ablation) | Ens(Good, Bad) · Fineweb-edu recall | Average recall: Spam + Twitter 0.8919 -> Spam + Twitter + Toxic 0.8720 | Hurt |
| increase alpha beyond 0.7 (Recall@30) / 0.6 (Recall@60) (ablation) | Ens(Good, Bad) · Fineweb-edu recall | Recall@30 / Recall@60 | Hurt |
| add Bad KenLM to the pipeline (compute cost) (ablation) | Good KenLM · CC-MAIN-2024-10 | processing time: 2,234s -> 3,928s; cost $1.42 -> $2.50 | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Towards Scalable Data Diversification for Language Model Pretraining via Leverage Score Sampling (NeurIPS 2026 · similarity 0.87)
- Organize the Web: Constructing Domains Enhances Pre-Training Data Curation (ICML 2025 · similarity 0.87)
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale (NeurIPS 2024 · similarity 0.87)
- DataMan: Data Manager for Pre-training Large Language Models (ICLR 2025 · similarity 0.86)
- MuRating: A High Quality Data Selecting Approach to Multilingual Large Language Model Pretraining (NeurIPS 2025 · similarity 0.86)
- Enhancing LLMs via High-Knowledge Data Selection (AAAI 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.