Efficient and Simple Data Mixing All the Time
Michael Y. Hu, Apurva Gandhi, Kyunghyun Cho, Tal Linzen, Pratyusha Sharma
NeurIPS 2026
TL;DR. We introduce a data mixing algorithm using interpolated LoRA proxies that works across the LLM training lifecycle.
Abstract. Data mixing decides how to combine different sources or types of data and is a consequential problem throughout language model training. In pretraining, data composition is a key determinant of model quality; in continual learning and adaptation, it governs what is retained and acquired. Yet existing data mixing methods address only one phase of this lifecycle at a time: some require smaller proxy models tied to a single training phase, others assume a fixed domain set, and continual learning lacks principled guidance altogether. We argue that data mixing is fundamentally an online decision making problem---one that recurs throughout training and demands a single, unified solution. We introduce OP-Mix (On-Policy Mix), a data mixing algorithm that operates across pretraining, midtraining, and instruction tuning. Our main insight is that candidate data mixtures can be cheaply simulated by interpolating between low-rank adapters trained directly on the current model, eliminating separate proxy models and ensuring the search is always grounded in the model's actual learning dynamics. Across the language model training lifecycle, OP-Mix consistently finds near-optimal mixtures while using a fraction of the compute of the baselines. In pretraining, OP-Mix improves upon training without mixing by 6.3% in average perplexity. For continual learning, OP-Mix matches the performance of both retraining and on-policy distillation while using 66% and 95% less overall compute, respectively. OP-Mix suggests a different view of language model training: not a sequence of distinct phases, but a single continuous process of learning from data.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary
This paper studies the problem of finding optimal data-mixtures as an optimization problem during the full model lifecycle (pre-training, mid-training, finetuning) . Instead of relying on expensive proxy models and exhaustive search on mixtures, author propose to combine cheap LoRA adapters on new components, a method they coin OP-Mix. The LoRA adapters are merged to emulate the behavior of the model on the mixture.
In the context of post-training, OP-Mix matches the self-distillation finetuning baseline in accuracy at lower training cost. OP-Mix also outperforms other baselines in the pre-training and the mid-training phases.
Strength
Reviewers recognized the cost-efficiency of the method:
- " a highly scalable and compute-efficient solution for continuous data mixing" (Reviewer Wa95)
- "The core idea is sensible [...] This keeps cost low without sacrificing realism." (Reviewer n4JC)
- "[...] is both cheaper than training models from scratch, and scales linearly with the number of domains. This outperforms similar training-free methods [...]" (Reviewer MJEs)
Weaknesses
The paper contains some over-claim on performance or extensiveness of the setup:
- "State-of-the-art" is overstated" / "Entire lifecycle" is also a small overstatement" (Reviewer n4JC)
Another weakness (connected to the point above), is that the paper lacks downstream task metrics beyond perplexity:
- "It's only tested on small models (150M-530M), so the win might shrink at real scale." (n4JC)
- "The proxy relies on the perplexity and does not quantify how strongly linearly correlating with actual generative evaluation metrics or zero-shot downstream accuracy" (Reviewer Wa95)
Furthermore, a few ablations are missing:
- "How does the Lora Rank affect the performance?" (Reviewer Wa95)
- "could the authors report even a small sweep showing how sensitive the final mixing-weight quality is to these two hyperparameters" (Reviewer n4JC)
- "How sensitive are the choice of hyerparameters to the optimal mix given by OP-Mix? I recall from [1] that LoRA can be more sensitive to hparam choices than full training." (Reviewer MJEs)
Finally, a baseline appears to be missing in Figure 5:
- "could you use the MergeMix" (Reviewer MJEs)
- "can you add the comparison with other data mixing strategies like MergeMix" (Reviewer Wa95)
Addressing these points during rebuttal can make a stronger case for acceptance.
Discussion
Reviewer Wa95, can you expand on "The core mechanisms of using model merging as a low-cost proxy for evaluating data mixtures and mixture reuse for evolving domains heavily build upon previous works."? Are you aware of a similar work, or is your point about the novelty of combining these components?
Final justification
This work was already a strong submission before the first round of reviews, and authors managed to address the concerns at rebuttal time: they added missing ablations for LoRA rank, added a missing baseline, and more importantly added downstream benchmarks metrics beyond raw perplexity. This strengthens the work significantly. With the increasingly high number of training stages, continuous data mixing is an important problem for the community, and scalable methods are needed. The paper convincingly proposes such solution.
I recommend paper acceptance conditioned to:
- adding the new results in the camera-ready version, in particular the 30% data replay baseline
- toning down the over-claims noticed by Reviewer n4JC
- and clarifying the figures that are hard to parse
Read meta-review
Meta-review
Summary
This paper studies the problem of finding optimal data-mixtures as an optimization problem during the full model lifecycle (pre-training, mid-training, finetuning) . Instead of relying on expensive proxy models and exhaustive search on mixtures, author propose to combine cheap LoRA adapters on new components, a method they coin OP-Mix. The LoRA adapters are merged to emulate the behavior of the model on the mixture.
In the context of post-training, OP-Mix matches the self-distillation finetuning baseline in accuracy at lower training cost. OP-Mix also outperforms other baselines in the pre-training and the mid-training phases.
Strength
Reviewers recognized the cost-efficiency of the method:
- " a highly scalable and compute-efficient solution for continuous data mixing" (Reviewer Wa95)
- "The core idea is sensible [...] This keeps cost low without sacrificing realism." (Reviewer n4JC)
- "[...] is both cheaper than training models from scratch, and scales linearly with the number of domains. This outperforms similar training-free methods [...]" (Reviewer MJEs)
Weaknesses
The paper contains some over-claim on performance or extensiveness of the setup:
- "State-of-the-art" is overstated" / "Entire lifecycle" is also a small overstatement" (Reviewer n4JC)
Another weakness (connected to the point above), is that the paper lacks downstream task metrics beyond perplexity:
- "It's only tested on small models (150M-530M), so the win might shrink at real scale." (n4JC)
- "The proxy relies on the perplexity and does not quantify how strongly linearly correlating with actual generative evaluation metrics or zero-shot downstream accuracy" (Reviewer Wa95)
Furthermore, a few ablations are missing:
- "How does the Lora Rank affect the performance?" (Reviewer Wa95)
- "could the authors report even a small sweep showing how sensitive the final mixing-weight quality is to these two hyperparameters" (Reviewer n4JC)
- "How sensitive are the choice of hyerparameters to the optimal mix given by OP-Mix? I recall from [1] that LoRA can be more sensitive to hparam choices than full training." (Reviewer MJEs)
Finally, a baseline appears to be missing in Figure 5:
- "could you use the MergeMix" (Reviewer MJEs)
- "can you add the comparison with other data mixing strategies like MergeMix" (Reviewer Wa95)
Addressing these points during rebuttal can make a stronger case for acceptance.
Discussion
Reviewer Wa95, can you expand on "The core mechanisms of using model merging as a low-cost proxy for evaluating data mixtures and mixture reuse for evolving domains heavily build upon previous works."? Are you aware of a similar work, or is your point about the novelty of combining these components?
Final justification
This work was already a strong submission before the first round of reviews, and authors managed to address the concerns at rebuttal time: they added missing ablations for LoRA rank, added a missing baseline, and more importantly added downstream benchmarks metrics beyond raw perplexity. This strengthens the work significantly. With the increasingly high number of training stages, continuous data mixing is an important problem for the community, and scalable methods are needed. The paper convincingly proposes such solution.
I recommend paper acceptance conditioned to:
- adding the new results in the camera-ready version, in particular the 30% data replay baseline
- toning down the over-claims noticed by Reviewer n4JC
- and clarifying the figures that are hard to parse
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Existing data mixing methods use a fixed target: these methods assume the optimal mix is static for the full pretraining run. The authors argue data mixing should be formulated as an online decision problem and propose On-Policy Mix (OP-Mix).
To make computing OP-Mix tractable, the authors interpolate between low-rank adapters to simulate the effect of various mixtures. This eliminates the need for training a large grid search of proxy models.
The authors show strong empirical results on pretraining, midtraining and instruction tuning, where OP-Mix outperforms baselines in all cases. They show additional results on a post-training setup and match the performance of on-policy distillation (specifically, Self-Distillation Finetuning) with 20x less compute.
Strengths and weaknesses
Strengths
- The OP-Mix method addresses the biggest limitation of data mixing: the large compute required to train swarm models for fitting mixture regressions.
- Because mixing methods rely on a grid search of pretrained models, they require substantial training budgets and scale exponentially w.r.t. the number of domains. The method of training a single LoRA for each domain is both cheaper than training models from scratch, and scales linearly with the number of domains. This outperforms similar training-free methods, like mixing via model merging.
- The authors demonstrate results in midtraining and posttraining, additional settings beyond pretraining that have recieved less attention from mixing.
- Both the loss surface analysis and theoretical findings are a nice addition to the empirical experiments.
- The paper is clearly written and the flow is easy to understand.
Weaknesses
- I found Figure 2, which presents the core empirical results, hard to read: (1) typically, FLOPs is in log-scale; (2) usually pretraining experiments are presented with val PPL across a full training curve, to give the reader some approximation of per-checkpoint noise; (3) I’m not sure what the multiple points for each (color, shape) pair in subfigure B are (perhaps these are intermediate checkpoints?); (4) the third subfig switches direction when presenting accuracy (could you consider using error)?
- I believe the claim in Figure 7 is that OP-Mix predicts a shifted loss surface, rather than the actual loss surface.
- The baselines for continual midtraining seemed inconsistent. In Figure 2B does not have WSDS (unless this is “Continual SFT”), while WSDS was presented later in Figure 3.
- Additionally, given that 10% data replay performed very close to OP-Mix for continual midtraining, I’m curious if simply a larger data replay would close the gap between methods. Especially because past midtraining work has used larger pretraining data ratios, e.g. Olmo 3 midtraining was 32.4% pretraining data with a higher quality filter. I believe results at a few additional replay ratios would strengthen the results.
Questions
- How sensitive are the choice of hyerparameters to the optimal mix given by OP-Mix? I recall from [1] that LoRA can be more sensitive to hparam choices than full training.
- In the continual learning experiment (Figure 5), could you use the MergeMix and Olmix baselines in Figure 4? Performing some mixing would give a stronger baseline than continual SFT.
- In the pretraining experiments (Figure 4), how do you arrive at the base model used for OP-Mix? Do you train with empirical risk minimization? Does the mix used to train the base model impact the final mix?
- My understanding is the mixing objective in Figure 4 is the average loss across the 5 mixing domains. Is the text used to calculate the mixing target (validation PPL) held-out from the training text?
- Is it possible to calculate the error of the fit to the loss surface in Figure 7? This may allow you to make a more precise claim than “closely tracks”
- Would the effect in Figure 3 go away if you trained with 10% data replay?
[2] LoRA Without Regret (Schulman, 2025)
Limitations
I believe the authors have adequately discussed the limitations of their work.
Final justification
I appreciate the authors running additional experiments to help clarify their claims and understand the impact of hparams on their results. Since my core concerns are addressed, I will raise my score. I believe the core claims of the paper are well defended and would be of interest to readers.
However, I also strongly encourage the authors to make their main result figure more readable and include the stronger baseline in their response (30% data replay) in their final transcript.
Formatting concerns
- In Figure 2, is it possible to add RegMix, simply because this is the most popular baseline mixing method? I believe you can calculate it with the evaluation used to compute OLMix. I don’t believe it will outperform the existing methods, but would be nice to have.
- I found the text on figures difficult to read, the figure text fontsize is much smaller than the main text fontsize.
3 comments
Thank you for your detailed review!
Figure 2 is hard to read...
We will remove the intermediate checkpoints in 2B and switch to using error in 2C.
OP-Mix predicts a shifted loss surface
Agreed; we will clarify this point in Figure 7 caption. Overall, the important part is that the minimas of the LoRA and true loss surfaces roughly coincide, which allows us to use the LoRA surface as a proxy.
Figure 2B does not have WSD-S
We always use the WSD-S learning rate schedule for continual SFT. We will clarify this in Figure 2's caption.
How sensitive are the choice of hyperparameters to the optimal mix given by OP-Mix?
We based our hyperparameters on LoRA without Regret and will add a citation for this in Line 142. We've ablated LoRA rank in the pretraining setting and found that changing LoRA rank yields roughly the same data mixtures. The mixture weight differences from changing LoRA rank are around 1% and similar in magnitude to the natural differences between random seeds. Please see the table in the main response.
In the continual learning experiment (Figure 5), could you use the MergeMix and Olmix baselines in Figure 4?
We have added a variant of MergeMix in the main response. OP-Mix matches the performance of MergeMix while using less compute, similar to the results of the pretraining section. We can't use OLMix as-is because it's not clear what separate proxy models we should use, as we argue in line 100. In the continual learning setting, we start with a pretrained model without defined proxies.
How do you arrive at the base model used for OP-Mix?
We train for 20% of the compute budget using ERM (line 146).
Is the text used to calculate the mixing target (validation PPL) held-out?
Yes, data mixing objectives in all settings are calculated on either validation PPL (Figures 4 and 5) or validation accuracy (Figure 6).
Would the effect in Figure 3 go away if you trained with 10% data replay?
We will add the 10% data figure to the Appendix. The amount of forgetting is smaller, but still worse than OP-Mix by 6.7% instead of 27%. Figure 3 is the training curve of Figure 5, 530M (top right).
The figure text fontsize is much smaller than the main text fontsize.
We will increase the figure font sizes by at least 2 pt.
I want to thank the authors for their response, for running new experiments (ablating LoRA rank and the 10% data replay), answering my clarifying questions and addressing writing/formatting improvements. I want to follow up on three points in the response:
We will add the 10% data figure to the Appendix. The amount of forgetting is smaller, but still worse than OP-Mix by 6.7% instead of 27%. Figure 3 is the training curve of Figure 5, 530M (top right).
Thank you for running this experiment! However, my original question was curious about a larger replay than what was tested: “given that 10% data replay performed very close to OP-Mix for continual midtraining, I’m curious if simply a larger data replay would close the gap between methods. Especially because past midtraining work has used larger pretraining data ratios, e.g. Olmo 3 midtraining was 32.4% pretraining data with a higher quality filter”. I’m curious how this method performs against >10% replay. I believe this stronger baseline would strengthen the core results of the paper.
Agreed; we will clarify this point in Figure 7 caption. Overall, the important part is that the minimas of the LoRA and true loss surfaces roughly coincide, which allows us to use the LoRA surface as a proxy.
Thank you for adding this clarification. In my original question I was also curious about whether it was possible to quantify the error of the fit: “Is it possible to calculate the error of the fit to the loss surface in Figure 7? This may allow you to make a more precise claim than “closely tracks””. To clarify, is this possible? Or are you saying that the motivation is instead that the minima align and that we should not worry about the fit error?
We based our hyperparameters on LoRA without Regret and will add a citation for this in Line 142. We've ablated LoRA rank in the pretraining setting and found that changing LoRA rank
Thank you for adding these experiments! To clarify, my question was also directed at the other hparams where we know LoRA is sensitive (the referenced LoRA Without Regret ablated LR, batch size, LoRA on attention vs. MLP layers, A/B matrix init). However, this is a minor point and not a flaw with the core argument.
Thank you for your clarification questions.
Higher replay
We ran a 30% replay baseline in the continual fine-tuning setting, where we train on different orderings of 5 datasets, for the 150M model. In the table below, 30% replay narrows the gap to OP-Mix relative to 10% replay, but does not fully close it.
| Method | Replay | Old domain loss before | Old domain loss after | Forgetting (Δ loss) | Relative forgetting | New domain loss |
|---|---|---|---|---|---|---|
| 10% replay | 10% | 2.5677 | 2.5918 | +0.0241 | +1.0% | 2.5621 |
| 30% replay | 30% | 2.5677 | 2.5310 | -0.0367 | -1.4% | 2.5425 |
| OP-Mix | adaptive | 2.5677 | 2.5047 | -0.0630 | -2.5% | 2.5343 |
The full continual fine-tuning experiments you requested take roughly one week to run; we report results from the first stage of continual learning here and will add complete results in the revision.
Make a more precise claim than "closely tracks."
More precisely, we posit an invariance between the LoRA and full-model minima. This mirrors the assumption behind mixing with proxy models, which posits invariance between the loss surfaces of proxy and full model. We make the analogous claim for LoRA versus full model. We will add this hypothesis explicitly as a new paragraph after line 120.
As you note, the LoRA loss surface is shifted relative to the full model's. Instead of characterizing that shift directly, we quantify the gap by computing the difference between the LoRA and true loss surface's fitted minimum for Figure 7. We use log-linear functional forms for both fits. The difference between minima is a few percentage points, which we read as support for LoRA being a good proxy, consistent with the rest of our experimental evidence.
| Figure panel | LoRA optimum | True optimum | Error |
|---|---|---|---|
| Top: 150M, stage 2 | 0.4425 | 0.4605 | -1.8% |
| Top: 300M, stage 2 | 0.4526 | 0.4559 | -0.3% |
| Top: 530M, stage 2 | 0.3841 | 0.4205 | -3.6% |
| Bottom: 150M, stage 2 | 0.6326 | 0.5931 | +4.0% |
| Bottom: 150M, stage 4 | 0.4571 | 0.4305 | +2.7% |
| Bottom: 150M, stage 5 | 0.0781 | 0.0842 | -0.6% |
Lora is sensitive to LR, batch size
In the continual finetuning setting for model size 150M, we tried LoRA learning rates 2x larger and smaller than our default (1e-3) and found that the overall impact on final loss was small.
| LoRA LR | Mean old-domain loss | Mean new-domain loss | Overall mean loss | Δ mean loss vs. default |
|---|---|---|---|---|
| 5e-4 | 2.5101 | 2.5556 | 2.5328 | -0.0010 |
| 1e-3 | 2.5076 | 2.5600 | 2.5338 | +0.0000 |
| 2e-3 | 2.5139 | 2.5547 | 2.5343 | +0.0005 |
We hope these clarifications and additional experiments help address your concerns! If they do, we would appreciate you considering updating your assessment.
- Rating
- 3/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces OP-MIX (On-Policy Mix), a data mixing algorithm designed to work across the entire language model training lifecycle (pretraining, continual midtraining, continual instruction tuning), positioned as an alternative to two existing categories of methods: those needing separately-trained proxy models (whose dynamics diverge from the real model once it's large) and those assuming a fixed, static domain set (which breaks down once new domains arrive in a continual setting).
OP-MIX works in a few steps. First, when a new domain shows up, it trains one small LoRA adapter for that new domain, plus one adapter that summarizes all the old domains together. Next, it tries blending these adapters in different ratios and checks how well each blend performs, without running any full, expensive training. It then fits a simple model to those results to predict which ratio would work best. Finally, it uses that predicted ratio as the actual mixing weights for the next stage of real training.
OP-MIX is evaluated across three regimes (pretraining on an OLMo ladder, continual midtraining, continual instruction tuning) and in each, matches or beats the best comparable baseline while using substantially less compute (up to 14% less in pretraining, 66% less in midtraining vs. retraining, 95% less in instruction tuning vs. self-distillation). The paper also provides a theoretical error-decomposition bound splitting OP-MIX's suboptimality into a LoRA-approximation error and a model-merging error, with empirical support via linear mode connectivity.
Strengths and weaknesses
Strengths
- Targets a real, underserved gap: most prior methods either need a separate stand-in model or can't handle new data domains arriving later, and few solve both.
- The core idea is sensible: train small adapters directly on the real model instead of a separate stand-in, and keep just one adapter for all old domains instead of one per domain. This keeps cost low without sacrificing realism.
- Tested on three genuinely different training settings, each with matched baselines, though this falls short of covering the entire training lifecycle — see Weaknesses for the missing RLHF phase.
- Reasonably well-documented for reproducibility, with hyperparameters and configs specified.
Weaknesses
- "State-of-the-art" is overstated. Two of the three test settings are really ties, not wins. OP-MIX matches MergeMix's accuracy in pretraining and matches SDFT's accuracy in instruction tuning. It doesn't beat them. The real advantage in those two settings is lower compute, not better quality.
- "Entire lifecycle" is also a small overstatement, since RLHF training is never tested. This is a minor point, though, since the authors say so themselves in their own Limitations section.
- The one setting with a real quality win (continual midtraining) also has the weakest evidence. It's only tested on small models (150M-530M), so the win might shrink at real scale. It also uses only one seed per run, while the other settings use three.
- A few other things are also only tested in a narrow range: the number of data domains never exceeds 5, and some fixed settings (like LoRA rank and warmup length) are never varied to see how much they matter.
Questions
- Domain-count scaling. Given that the regression fit relies on only 20 Dirichlet samples (pretraining) or a 9-point grid (continual settings), do the authors have any preliminary evidence of how mixing-weight quality degrades as the number of domains grows past 5, even on a smaller-scale proxy experiment?
- Rank and warmup sensitivity. Since LoRA rank and the ERM warmup fraction are both fixed and load-bearing for the "LoRA is a faithful proxy" claim, could the authors report even a small sweep showing how sensitive the final mixing-weight quality is to these two hyperparameters?
Limitations
yes
Formatting concerns
none
1 comment
Thank you very much for your review!
"State-of-the-art" is overstated
We will clarify this to say SOTA in performance per compute in line 54.
"Entire lifecycle" is also a small overstatement
We will be more specific and change "entire lifecycle" to "across pretraining, midtraining, and instruction tuning" in the abstract line 10.
Continual midtraining uses only 1 seed per run.
This is because we cyclically permute the datasets so that each dataset is first once. Each permutation uses a fresh random seed, so randomness is taken over both dataset ordering for continual learning and initializations. We would argue that this setting is more akin to using 5 random seeds, not 1.
Could the authors report even a small sweep showing how sensitive the final mixing-weight quality is to these two hyperparameters?
Yes! In the main comment, we have added an ablation to LoRA rank and found that estimated data mixtures are stable across ranks 8, 16 (our value), 32, and 64. We clarify that ERM warmup only occurs for the pretraining experiments and is shared with MergeMix. For the continual finetuning and instruction following experiments, we begin with a trained model and there is no ERM warmup.
Please let us know if we have addressed your concerns here or in the main comment; happy to follow up!
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge of finding optimal and efficient data mixtures across the entire language model training lifecycle. The claims of the paper suggest that candidate data mixtures can be cheaply simulated by interpolating on-policy low-rank adapters (LoRA) without the need for separate offline proxy models.
Strengths and weaknesses
Strengths
- The proposed OP-MIX algorithm provides a highly scalable and compute-efficient solution for continuous data mixing
- The method shows a novel and synergistic composition with self-distillation finetuning, proving that data mixing and training objective modifications can be orthogonal axes of improvement.
Weaknesses
- The core mechanisms of using model merging as a low-cost proxy for evaluating data mixtures and mixture reuse for evolving domains heavily build upon previous works. The novelty somewhat incremental.
- The proxy relies on the perplexity and does not quantify how strongly linearly correlating with actual generative evaluation metrics or zero-shot downstream accuracy
- Does not have comparison with other data mixture methods.
Questions
Questions
- Can you add the downstream accuracy like commonsense reasoning besides perplexity?
- Can you add the comparison with other data mixing strategies like MergeMix and ADO?
- How does the Lora Rank affect the performance? How would the result change if we use the full models as the proxy models?
Limitations
yes
Formatting concerns
N/A
1 comment
Thank you for your suggestions and comments!
Can you add the downstream accuracy like commonsense reasoning besides perplexity?
Yes. For pretraining, please find downstream evals below. OP-Mix improves over the ERM baseline by 2.3% and achieves the best overall performance for the 530M model, with similar results for the 150M and 300M sizes. We note that none of the algorithms directly optimize for downstream accuracy.
| Size | Algorithm | ARC-E | ARC-C | BoolQ | CSQA | HSwag | OBQA | PIQA | WGrd | MMLU | Avg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 150M | ERM | 33.57 | 20.85 | 56.72 | 19.49 | 27.08 | 24.60 | 58.27 | 51.04 | 23.01 | 34.96 |
| 150M | MergeMix | 33.26 | 21.76 | 60.05 | 19.52 | 27.37 | 23.93 | 57.85 | 50.72 | 23.00 | 35.28 |
| 150M | OLMix | 33.66 | 21.76 | 61.27 | 19.49 | 27.53 | 24.00 | 58.85 | 51.01 | 23.05 | 35.62 |
| 150M | OP-Mix | 33.68 | 21.16 | 59.92 | 19.49 | 27.62 | 23.93 | 58.34 | 50.49 | 23.07 | 35.30 |
| — | — | — | — | — | — | — | — | — | — | — | — |
| 300M | ERM | 34.82 | 21.53 | 60.18 | 19.60 | 28.29 | 25.33 | 59.45 | 51.33 | 23.06 | 35.96 |
| 300M | MergeMix | 35.66 | 22.10 | 57.05 | 19.66 | 28.98 | 25.40 | 60.01 | 50.20 | 23.10 | 35.80 |
| 300M | OLMix | 35.90 | 21.56 | 54.10 | 19.49 | 28.80 | 25.80 | 60.39 | 50.59 | 23.04 | 35.52 |
| 300M | OP-Mix | 35.96 | 22.21 | 57.21 | 19.52 | 28.96 | 25.67 | 61.37 | 50.93 | 23.06 | 36.10 |
| — | — | — | — | — | — | — | — | — | — | — | — |
| 530M | ERM | 35.24 | 21.96 | 58.83 | 19.52 | 29.03 | 25.33 | 60.12 | 51.43 | 23.03 | 36.06 |
| 530M | MergeMix | 36.81 | 22.30 | 54.76 | 19.57 | 29.99 | 26.47 | 61.95 | 51.35 | 23.25 | 36.27 |
| 530M | OLMix | 36.41 | 21.99 | 59.04 | 19.44 | 29.54 | 26.13 | 61.43 | 50.83 | 23.12 | 36.43 |
| 530M | OP-Mix | 36.59 | 21.99 | 61.45 | 19.57 | 30.13 | 26.47 | 61.15 | 51.78 | 23.10 | 36.91 |
Can you add the comparison with other data mixing strategies like MergeMix and ADO?
For continual finetuning (Figure 5), we are adding MergeMix + our dataset expansion strategy. This is equivalent to OP-Mix with full finetuning instead of LoRA. Please see results in the main comment. Full finetuning performance is roughly identical to LoRA proxy performance, indicating that LoRA is a faithful proxy in continual finetuning.
How does the Lora Rank affect the performance?
For pretraining, we have ablated the LoRA rank by rerunning proxies with ranks 8, 16, and 32. We set LoRA alpha as 2*r, following recommendations from the LoRA paper (Hu et al. 2021).
The table compares variation across seeds within each LoRA rank with the variation between that rank and the rank-16 condition, which we used for our results. We find that changing the LoRA rank does not significantly change the estimated mixture; these KL divergences roughly result in a data mixture change of ~1% each across 5 datasets.
| Model size | Rank 8 interseed KL | Rank 8 cross-rank KL | Rank 16 interseed KL | Rank 16 cross-rank KL | Rank 32 interseed KL | Rank 32 cross-rank KL | Rank 64 interseed KL | Rank 64 cross-rank KL |
|---|---|---|---|---|---|---|---|---|
| 150M | 0.00284 | 0.00443 | 0.00298 | 0.00509 | 0.00511 | 0.00809 | 0.00993 | |
| 300M | 0.00081 | 0.00257 | 0.00446 | 0.00423 | 0.00688 | 0.00339 | 0.00832 | |
| 530M | 0.00246 | 0.00349 | 0.00320 | 0.00295 | 0.00416 | 0.01750 | 0.00946 |
Comments on the paper
1 comment
Dear Reviewers, we've posted rebuttals addressing your comments and would appreciate it if you could let us know if it resolves your concerns, or if you have additional questions. Thank you for your time and efforts!
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the feedback. We have done several new experiments to incorporate these comments, including downstream evaluations, LoRA rank ablation, and Continual MergeMix (our variant of MergeMix) as a baseline in the continual finetuning setting.
At a high level, we emphasize that data mixing algorithms generally focus on a single phase of language model development, such as pretraining or midtraining. Using separate proxy models (OLMix) or not expanding the data mixture (MergeMix) further limits the algorithms we benchmarked to one phase.
To our knowledge, OP-Mix is the only data mixing algorithm that has demonstrated it can be used across pretraining, midtraining, and post-training (with on-policy distillation).
We changed "state of the art" -> "state of the art in performance per FLOP." Performance per FLOP is a significant metric because it means our method is the most compute efficient, so one can spend less compute on data mixing and train for longer. We also changed "entire lifecycle" -> "across pretraining, midtraining, and instruction tuning" in the abstract, line 10.
In the response to Reviewer Wa95 and the Appendix, we have added standard downstream task evaluations for pretraining, such as BoolQ and HellaSwag. OP-Mix achieves the best downstream task performance for 350M and 530M model sizes, and second best for 150M. This shows that gains in perplexity do translate to downstream metrics.
We ablated LoRA rank and found that different LoRA ranks change the data mixture minimally, or about as much as different random seeds: ~1% per data domain. The table below shows the KL divergences between seeds of the same LoRA rank, compared to seeds of that rank and seeds of LoRA rank 16. We use LoRA rank 16 across our results.
We are adding "Continual MergeMix" to Figure 5 and Figure 2b. Continual MergeMix uses the MergeMix algorithm with our data mix expansion machinery. This is technically a new algorithm, since the original MergeMix does not tell you how to expand the data mixture.
The results are below. The MergeMix and OP-Mix results are nearly identical across the board, indicating that LoRA continues to be a good proxy.