atlas

Research map / Large language models / Instruction and fine-tuning

TANDEM: Bi-Level Data Mixture Optimization with Twin Networks

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 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 TANDEM, a penalized single-level reformulation of bi-level data mixture optimization solved with synchronized proxy and reference "twin" networks, with a convergence guarantee and experiments in data-abundant, data-restricted, and SFT settings.

Problem

Finding optimal domain mixture ratios for LLM training data is a bi-level optimization problem that existing methods (DoReMi, DoGE, Skill-It, Aioli) handle poorly, especially in data-restricted and supervised fine-tuning settings.

Approach

Relaxes the inner training constraint into a Lagrangian penalty and solves the resulting single-level problem with a proxy model trained on training data and a reference model trained on training plus validation data, synchronized at each mixture update; domains whose loss gap between the two models is larger are up-weighted.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Optimize the data mixture with TANDEM instead of Aioli160M GPT-style LM · SlimPajama data-abundant pretrainingAverage perplexity: 25.66 -> 25.43Helped
Optimize the data mixture with TANDEM instead of Skill-It160M GPT-style LM · SlimPajama data-restricted pretrainingAverage perplexity: 29.24 -> 28.07Helped
Optimize the data mixture with TANDEM instead of AioliQwen-2 500M · Natural Instructions SFTAvg. Metric: 82.7 -> 83.3Helped
Optimize the data mixture with TANDEM instead of AioliQwen-2 500M · Natural Instructions SFTTest Loss: 0.229 -> 0.208Helped
Synchronize the proxy and reference models at the start of probing (ablation)TANDEM · Data mixture optimizationProxy-reference model distance: under 1.5\text{e}^{-4}Helped
Use more probing steps K (ablation)TANDEM · Supervised fine-tuningHyper-gradient varianceHelped
Increase model scale from 160M to 410M or 1B (ablation)TANDEM · SlimPajama data-restricted pretrainingLearned mixture ratio sharpnessMixed

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama Natural Instructions

Benchmarks: SlimPajama per-domain perplexity Natural Instructions SFT tasks

Metrics: perplexity average perplexity test loss accuracy

Baselines: Uniform DoReMi DoGE Skill-It Aioli

Builds on: DoReMi DoGE Skill-It Aioli

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