atlas

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

Domain2Vec: Vectorizing Datasets to Find the Optimal Data Mixture without Training

ICML 2025 · Label-efficient and robust learning › Domain adaptation and generalization · approach: Mixture and distillation for domain shift · 0 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 Domain2Vec, which decomposes any dataset into a distribution over 260 meta-domains via a fine-tuned Qwen2-1.5B classifier, and uses these domain vectors for training-free data mixture search (DA^2) or as inputs to prior fitting methods like RegMix.

Problem

Finding optimal data mixtures for LLM pretraining is computationally expensive (proxy training, e.g., DoReMi at 3.7e19 FLOPs) and not scalable when the dataset composition changes, since fitted mixture-performance functions must be refit.

Approach

Represent any dataset as a normalized vector over a vocabulary of k-means meta-domains (classifier-averaged over sampled documents), then assume lower validation loss when training and validation domain vectors align (DA^2), and fit per-meta-domain loss functions in this vector space so they transfer to unseen datasets without retraining.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Domain2Vec+DA² to rank preset data mixtures instead of random rankingData-mixture ranking across validation datasets · Validation-set rankingSpearman correlation: 0.0497 -> 0.6657Helped
use Domain2Vec+DA² to rank preset data mixtures instead of kNNData-mixture ranking across validation datasets · Validation-set rankingSpearman correlation: 0.3543 -> 0.6657Helped
use Domain2Vec+DA² to rank preset data mixtures instead of Domain2Vec+RegMixData-mixture ranking across validation datasets · Validation-set rankingSpearman correlation: 0.4629 -> 0.6657Helped
use Domain2Vec+DA² rather than Human's original data mixtureLLaMA-like models; average over 12 downstream tasks · Downstream tasksAverage Performance: 0.424 -> 0.432; improves downstream performance by an average of $1.89\%$Helped
use Domain2Vec+RegMix rather than Human's original data mixtureLLaMA-like models; average over 12 downstream tasks · Downstream tasksAverage Performance: 0.424 -> 0.436; improves downstream performance by an average of $2.83\%$Helped
replace Huber Loss with JS Distance (ablation)Domain2Vec+DA² · Validation-set rankingSpearman correlation: 0.6657 -> 0.5000Hurt
replace Huber Loss with L1 Distance (ablation)Domain2Vec+DA² · Validation-set rankingSpearman correlation: 0.6657 -> 0.5400Hurt
replace Huber Loss with L2 Distance (ablation)Domain2Vec+DA² · Validation-set rankingSpearman correlation: 0.6657 -> 0.6429Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 Knowledge Pile The Pile RedPajama Pile-CC bge embeddings corpus (~5.2TB, 100+ sources)

Benchmarks: Social IQA HellaSwag PiQA OpenBookQA Lambada SciQ ARC Easy COPA RACE LogiQA WinoGrande MultiRC

Metrics: Spearman correlation Pearson correlation validation loss average accuracy estimated FLOPs

Baselines: DoReMi RegMix Human (original Pile mixture) Pile-CC Only kNN

Builds on: RegMix DoReMi Data Mixing Laws

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