High-Value Training Data from Noisy, Diverse Sources
Organizations: Hiddenweights · Arena · UCLA · Stanford ·
Abstract
Training state-of-the-art models increasingly requires learning from large, heterogeneous datasets whose examples vary in quality, domain relevance, and source of supervision. Dataweighting---assigning different weights to training examples---offers a general way to control how such data influences training, but learning effective weights at scale remains challenging. We develop a scalable approach to learning dataweights: given a small, high-quality target dataset, we use metagradients through the training process to efficiently optimize training-example weights directly for performance on the target domain. To scale beyond a fixed dataset and model, we learn parametric weighting rules that generalize to new and streaming examples and transfer from smaller models to substantially larger ones. We study reward modeling as a prototypical application, where preference data may be noisy, adversarial, synthetic, or mismatched with the target domain. Learned dataweights improve held-out performance, automatically adapt reward models to specialized domains, and allow mixtures of human and synthetic supervision to outperform either source alone.
Figures & tables
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Setting |
|---|---|
| Base model | Qwen2.5-Instruct, 0.5B by default; larger models for transfer |
| Reward head | Linear scalar head on the <|cls|> hidden state |
| Training objective | Bradley–Terry loss |
| Optimizer | AdamW |
| Learning rate | |
| Batch size | 128 preference pairs by default |
| Setup | Figure | Optimizer | LR | |||
|---|---|---|---|---|---|---|
| STEM, per-sample | Parametric comparison(a) | AdamW | 0.1 | 10 | 10 | 1 |
| STEM, linear source | Parametric comparison(a–c) | AdamW | 0.1 | 10 | 10 | 1 |
| Ranking, linear source | Ranking transfer | AdamW | 0.1 | 10 | 10 | 1 |
| Ranking, per-sample | Ranking distribution | SignSGD | 0.1 | 10 | 10 | 1 |
| Selection, per-sample | Selection comparison; all pools | SignSGD | 0.1 | 10 | 5–10 | 1 |
| Human-30k, full-pass | Cost–performance | SignSGD | 0.1 | 1 | 15 | 1 |
| Component | Setting |
|---|---|
| Embedding model | OpenAI text-embedding-3-small , frozen |
| Input texts | Prompt and the two candidate responses, embedded separately |
| Embedding dimensions | per preference pair |
| Feature normalization | normalization of the concatenated feature vector |
| Weighting head | Single affine map ; no hidden layers |
| Trainable parameters | 4,609: 4,608 coefficients and one bias |