# OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration

- **ID:** 515
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2602.05400
- **Authors:** Shaobo Wang, Xuan Ouyang, Tianyi Xu, Yuzheng Hu, Jialin Liu, Guo Chen, Tianyu Zhang, Junhao Zheng, Kexin Yang, Xingzhang Ren, Dayiheng Liu, Linfeng Zhang
- **Venue:** arXiv / SJTU / Alibaba Qwen / UW–Madison / UIUC / Mila
- **Published:** 2026
- **Tags:** opus, data-selection, muon, adamw, fineweb, qwen3, sciencepedia, icml, ghost-gradients, countsketch, sjtu, alibaba-qwen
- **Topics:** data selection, LLM pretraining, optimizers
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/515

## Summary

OPUS (Optimizer-induced Projected Utility Selection) linearizes AdamW/Muon one-step updates, sketches ghost outer-product gradients with CountSketch, and Boltzmann-samples a batch aligned with a Bench-Proxy retrieved from the corpus. Scoring overhead 4.7% vs naive 3.5×. GPT-2 XL Muon FineWeb 30B: avg 41.75 vs random 40.29, beating 60B random (41.29) and static filters. FineWeb-Edu: OPUS on score-3 beats baselines trained on score 4+5 (XL 44.99). Qwen3-8B-Base CPT on SciencePedia: 0.5B tokens beats 3B full CPT. Code https://github.com/gszfwsb/OPUS.

## Attributes

- **Purpose:** Score each pretraining batch by projected utility in AdamW/Muon update space rather than raw gradients
- **Scale:** GPT-2 Large 774M / XL 1.5B, 30B update tokens on FineWeb and FineWeb-Edu; Qwen3-8B-Base CPT SciencePedia 0.5–1.5B vs 3B full; CountSketch m=8192; 4.7% scoring overhead
- **Time period:** 2026-02-05 (arXiv 2602.05400 v1); last revised 2026-02-07 (v2). 45 pages, 7 figures, 8 tables. HF paper publishedAt 2026-02-05.

## From the source (fetched 2026-10-03)

- **Published:** Feb 5, 2026 (arXiv)
- **Last revised:** Feb 7, 2026 (arXiv)
- **arXiv categories:** cs.CL (arXiv)
- **Author comment:** 45 pages, 7 figures, 8 tables (arXiv)
- **Citations:** 16 (1 influential) (Semantic Scholar)
- **References:** 63 (Semantic Scholar)

## Abstract

As high-quality public text approaches exhaustion, a phenomenon known as the Data Wall, pre-training is shifting from more tokens to better tokens. However, existing methods either rely on heuristic static filters that ignore training dynamics, or use dynamic yet optimizer-agnostic criteria based on raw gradients. We propose OPUS (Optimizer-induced Projected Utility Selection), a dynamic data selection framework that defines utility in the optimizer-induced update space. OPUS scores candidates by projecting their effective updates, shaped by modern optimizers, onto a target direction derived from a stable, in-distribution proxy. To ensure scalability, we employ Ghost technique with CountSketch for computational efficiency, and Boltzmann sampling for data diversity, incurring only 4.7\% additional compute overhead. OPUS achieves remarkable results across diverse corpora, quality tiers, optimizers, and model scales. In pre-training of GPT-2 Large/XL on FineWeb and FineWeb-Edu with 30B tokens, OPUS outperforms industrial-level baselines and even full 200B-token training. Moreover, when combined with industrial-level static filters, OPUS further improves pre-training efficiency, even with lower-quality data. Furthermore, in continued pre-training of Qwen3-8B-Base on SciencePedia, OPUS achieves superior performance using only 0.5B tokens compared to full training with 3B tokens, demonstrating significant data efficiency gains in specialized domains.

## Research notes

- Primary: arxiv abs (cs.CL). CC BY 4.0 on HTML. EPIC Lab SJTU / Qwen Team Alibaba / UW–Madison / UIUC / Mila. Wang intern at Qwen; Wang/Ouyang/Xu/Hu/Liu equal contrib. Correspondence xingzhang.rxz / liudayiheng.ldyh@alibaba-inc.com, zhanglinfeng@sjtu.edu.cn. Code MIT https://github.com/gszfwsb/OPUS (29 stars / 4 forks at check); GitHub README frames as ICML 2026 Oral. HF paper page 355 upvotes, org Qwen; no linked models/datasets. Discord posted PDF. Uses public FineWeb/FineWeb-Edu/SciencePedia; no new corpus, so no datasets_local row. License field left blank per catalog convention.

## Similar entries

- [One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs](https://papers.projxon.ai/entries/503) (paper, #503)
- [AMUSE: Anytime Muon with Stable Gradient Evaluation](https://papers.projxon.ai/entries/511) (paper, #511)
- [Demystifying Manifold Constraints in LLM Pre-training](https://papers.projxon.ai/entries/526) (paper, #526)
- [Optimizing Large Language Model Training Using FP4 Quantization](https://papers.projxon.ai/entries/565) (paper, #565)
- [The Best Optimizer Depends on Batch Size](https://papers.projxon.ai/entries/1337) (paper, #1337)
- [Why Adaptive Optimizers Underestimate Rare Tokens](https://papers.projxon.ai/entries/1219) (paper, #1219)
