Skip to content
AI News HubLIVE
Original source2 min read

DynaMiCS: Fine-Tuning LLMs with Performance Constraints Using Dynamic Mixtures

Summary

DynaMiCS is a dynamic mixture optimizer that casts multi-domain fine-tuning as a constrained optimization problem. It performs short domain-specific probing runs to estimate cross-domain effects, enabling dynamic adjustment of data mixtures to improve target domain performance while preserving constrained capabilities without reference models or manual tuning.

DynaMiCS: Fine-Tuning LLMs with Performance Constraints Using Dynamic Mixtures
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

content type paperpublished July 2026

DynaMiCS: Fine-Tuning LLMs with Performance Constraints Using Dynamic Mixtures

AuthorsEleonora Gualdoni, Sonia Laguna†**, Louis Béthune, Joao Monteiro, Pierre Ablin, Marco Cuturi

View publication

Multi-domain fine-tuning of large language models requires improving performance on target domains while preserving performance on constrained domains, such as general knowledge, instruction following, or safety evaluations. Existing data mixing strategies rely on fixed heuristics or adaptive rules that cannot explicitly enforce preservation of such capabilities. We propose DynaMiCS, a dynamic mixture optimizer that casts multi-domain fine-tuning as a constrained optimization problem. At each update, DynaMiCS performs short domain-specific probing runs to estimate a slope matrix of local cross-domain effects, capturing how training on each fine-tuning dataset affects each evaluation domain. These estimates are then used to compute mixture weights through optimization over the probability simplex, with the objective of improving target-domain performance while keeping constrained-domain losses below reference levels. Across multi-domain fine-tuning scenarios with varying numbers of target and constrained domains, DynaMiCS achieves stronger target-domain improvements and higher constraint satisfaction than fixed-mixture baselines, at lower computational cost and without reference models, per-example scoring, or manually tuned mixture weights.

† ETH Zurich

** Work done while at Apple

Scaling Laws for Forgetting During Finetuning with Pretraining Data Injection

June 20, 2025research area Methods and Algorithmsconference ICML

A widespread strategy for obtaining a language model that performs well in a target domain is to fine-tune it by training it to do unsupervised next-token prediction on data from that domain. Fine-tuning presents two challenges: i) if the amount of target data is limited, as is the case in most practical applications, the model will quickly overfit, and ii) the model will drift away from the original model and forget the pre-training…

Read more

Corpus Synthesis for Zero-shot ASR Domain Adaptation using Large Language Models

March 14, 2024research area Speech and Natural Language Processingconference ICASSP

While Automatic Speech Recognition (ASR) systems are widely used in many real-world applications, they often do not generalize well to new domains and need to be finetuned on data from these domains. However, target-domain data is usually not readily available in many scenarios. In this paper, we propose a new strategy for adapting ASR models to new target domains without any text or speech from those domains. To accomplish this, we propose a…

Read more

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • DynaMiCS formulates multi-domain fine-tuning as a constrained optimization problem to explicitly enforce performance preservation on constrained domains.
  • It estimates a slope matrix of local cross-domain effects via short domain-specific probing runs at each update step.
  • Mixture weights are optimized over the probability simplex to improve target domains while constraining losses on constrained domains below reference levels.
  • DynaMiCS outperforms fixed-mixture baselines across various scenarios with lower computational cost and without needing reference models, per-example scoring, or manually tuned weights.

Highlights and analysis are generated automatically and may contain errors. Check the original source.