arXiv

TANDEM: Bi-Level Data Mixture Optimization with Twin Networks

Title: TANDEM: Bi-Level Data Mixture Optimization with Twin Networks

Original: arXiv:2606.04401v1 Announce Type: new Abstract: 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.

Rewrite: The performance of large language models (LLMs) is heavily influenced by the diversity of domains represented in their training datasets. This study frames the task of optimizing domain-specific mixture ratios as a bi-level optimization challenge. To address this, we introduce Twin Networks for bi-level DatA mixturE optiMization (TANDEM), a method that reduces the bi-level problem into a single-level penalized formulation. TANDEM employs twin networks comprising a proxy model trained on primary data and a reference model that is dynamically updated using supplementary data. The method evaluates the utility of specific data sources by calculating the divergence between these twin models, subsequently assigning higher weights to domains that yield greater improvements from the additional data. Compared to existing techniques, TANDEM offers broader applicability and robust theoretical guarantees. Additionally, this bi-level framework opens up novel avenues for investigating domain reweighting in contexts such as supervised fine-tuning and data-constrained environments, where the application of optimized mixture ratios leads to substantial performance gains. Comprehensive experimental results confirm the efficacy of TANDEM across all tested scenarios.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

Dimon and SpaceX Executives to Pitch IPO to Clients
Bloomberg

Dimon and SpaceX Executives to Pitch IPO to Clients

JPMorgan Chase CEO Jamie Dimon and SpaceX executives are pitching IPO details to clients.

Financial Times

Europe is finally flexing its innovation muscles

The EU’s new tech sovereignty package signals a positive shift from defensive regulation to proactive innovation, markin...

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries
Bloomberg

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries

Apollo’s Zelter expects high-grade debt sales to surpass US Treasuries. He anticipates investment-grade debt outperformi...

EU Insurance Watchdog Warns on Loan Risks
Bloomberg

EU Insurance Watchdog Warns on Loan Risks

EIOPA warns insurers to closely monitor loan risks, though initial reports lack specific details on the nature or scope ...

Glazer Family Members Said to Study Manchester United Stake Sale
Bloomberg

Glazer Family Members Said to Study Manchester United Stake Sale

Reports indicate the Glazer family is evaluating a potential sale of their Manchester United stake, with family members ...

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines
Bloomberg

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines

Ares’ Blair Jacobson argues that private credit headlines misrepresent reality, highlighting a disconnect between media ...