Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TANDEM: Bi-Level Data Mixture Optimization with Twin Networks

About

The capabilities of large language models (LLMs) significantly depend on training data drawn from various domains. Optimizing domain-specific mixture ratios can be modeled as a bi-level optimization problem, which we simplify into a single-level penalized form and solve with twin networks: a proxy model trained on primary data and a dynamically updated reference model trained with additional data. Our proposed method, Twin Networks for bi-level DatA mixturE optiMization (TANDEM), measures the data efficacy through the difference between the twin models and up-weights domains that benefit more from the additional data. TANDEM provides theoretical guarantees and wider applicability, compared to prior approaches. Furthermore, our bi-level perspective suggests new settings to study domain reweighting such as data-restricted scenarios and supervised fine-tuning, where optimized mixture ratios significantly improve the performance. Extensive experiments validate TANDEM's effectiveness in all scenarios.

Jiaxing Wang, Deping Xiang, Jin Xu, Mingyang Yi, Guoqiang Gong, Zicheng Zhang, Haoran Li, Pengzhang Liu, Zhen Chen, Ke Zhang, Ju Fan, Qixiang Jiang• 2026

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisSST-2 (test)
Accuracy88.7
162
Boolean Question AnsweringBoolQ (test)--
41
Language ModelingSlimPajama (test)
PPL (CommonCrawl)39.59
25
Multi-turn Dialogue ReasoningMuTual (test)--
19
Language ModelingSlimPajama data-restricted
Average Perplexity24.35
17
Abstractive SummarizationAMRSum (test)
ROUGE-L45.19
6
Language ModelingSlimPajama data-restricted regime 6B (test)
Perplexity (Arxiv)16.85
6
Multi-task LearningMixture of 6 task-level SFT tasks (test)
Test Loss0.508
6
Question AnsweringSQuAD 1.1 (test)
Rouge-L72.73
6
Multi-choice Question AnsweringSemEval (test)
Accuracy89.7
6
Showing 10 of 15 rows

Other info

Follow for update