atlas

Research map / Label-efficient and robust learning / Domain adaptation and generalization

DOGE: Domain Reweighting with Generalization Estimation

ICML 2024 · Label-efficient and robust learning › Domain adaptation and generalization · approach: Optimization-based domain generalization · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DoGE, a first-order bi-level domain reweighting method that trains one small proxy model and uses gradient alignment with target domains to set pretraining domain sampling weights, outperforming DoReMi on SlimPajama perplexity and 5-shot reasoning.

Problem

Choosing pretraining domain weights for LLMs relies on heuristics or costly downstream tuning; the prior DoReMi method depends heavily on a well-trained reference model and cannot handle out-of-domain targets.

Approach

Reweight domain gradients in a proxy model's single-step inner update and update domain weights via multiplicative weights on a generalization estimation score (gradient inner products with the average or target-domain gradient), giving a first-order, one-proxy-model method that also supports out-of-domain targets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DoGE domain reweighting instead of uniform domain weights684M Transformer trained on SlimPajama · SlimPajama 7 domainsaverage perplexity: 16.526 -> 15.806Helped
Use DoGE domain reweighting instead of DoReMi-10k684M Transformer trained on SlimPajama · SlimPajama 7 domainsaverage perplexity: 17.172 -> 15.806Helped
Use DoGE domain reweighting instead of DoReMi-50k684M Transformer trained on SlimPajama · SlimPajama 7 domainsaverage perplexity: 16.124 -> 15.806Helped
Use DoGE domain reweighting instead of uniform domain weights684M Transformer · Six 5-shot reasoning tasks, averageexact-match accuracy (%): 50.59 -> 52.29Helped
Use DoGE instead of DoReMi-10k domain weights684M Transformer · Six 5-shot reasoning tasks, averageexact-match accuracy (%): 49.79 -> 52.29Helped
Use DoGE instead of DoReMi-50k domain weights684M Transformer · Five of six 5-shot reasoning tasksexact-match accuracy (%)Mixed
Use DoGE domain reweighting instead of uniform source-domain weights124M Transformer · SlimPajama OoD target domainsperplexityHelped
Use DoGE instead of uniform domain weights124M Transformer trained on SlimPajama · SlimPajama universal, 124Maverage perplexity: 18.566 -> 18.066Helped
Use DoGE instead of uniform domain weights210M Transformer trained on SlimPajama · SlimPajama universal, 210Maverage perplexity: 17.218 -> 16.661Helped
Use DoGE-low10 instead of full-gradient DoGE (ablation)124M Transformer trained on SlimPajama · SlimPajama universalaverage perplexity: 18.066 -> 18.848Hurt
Use DoGE-low30 instead of full-gradient DoGE (ablation)124M Transformer trained on SlimPajama · SlimPajama universalaverage perplexity: 18.066 -> 18.442Hurt
Use DoGE-low50 instead of full-gradient DoGE (ablation)124M Transformer trained on SlimPajama · SlimPajama universalaverage perplexity: 18.066 -> 18.151Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama Wiki40b

Benchmarks: COPA SciQ PIQA LogiQA WiC WinoGrande SlimPajama validation perplexity per domain Wiki40b Catalan/Dutch perplexity

Metrics: perplexity exact-match accuracy (5-shot)

Baselines: DoReMi Uniform baseline Oracle

Builds on: DoReMi influence functions Group DRO

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy