Mashup Learning: Faster Finetuning by Remixing Past Checkpoints
Organizations: Together AI.
Abstract
Finetuning on domain-specific data is a well-established method for enhancing LLM performance on downstream tasks. Training on each dataset produces a new set of model weights, resulting in a multitude of checkpoints saved in-house or on open-source platforms. However, these training artifacts are rarely reused for subsequent experiments despite containing improved model abilities for potentially similar tasks. In this paper, we propose Mashup Learning, a simple method to leverage the outputs of prior training runs to enhance model adaptation to new tasks. Our procedure identifies the most relevant historical checkpoints for a target dataset, aggregates them with model merging, and uses the result as an improved initialization for training. Across 8 standard LLM benchmarks, four models, and two collections of source checkpoints, Mashup Learning consistently improves average downstream accuracy by 0.5-5 percentage points over training from scratch. It also accelerates convergence, requiring 41-46% fewer training steps and up to 37% less total wall-clock time to match from-scratch accuracy, including all selection and merging overhead.
Figures & tables
| Dataset | Short name | Train size | Val size |
|---|---|---|---|
| ARC-Easy | ARC-e | 2,251 | 570 |
| CommonsenseQA | CSQA | 9,741 | 1,221 |
| HellaSwag | Hella. | 39,905 | 10,042 |
| MathQA | MathQA | 29,837 | 4,475 |
| OpenBookQA | OBQA | 4,957 | 500 |
| PIQA | PIQA | 16,113 | 1,838 |
| Method | ARC-e | Hella. | MathQA | OBQA | PIQA | Wino. | Avg. |
|---|---|---|---|---|---|---|---|
| From scratch | 84.0 | 93.2 | 21.7 | 74.6 | 85.2 | 81.4 | 73.4 |
| Text-to-LoRA | 82.4 | 47.6 | 26.3 | 71.2 | 80.2 | 66.1 | 62.3 |
| Text-to-LoRA used as init | 83.1 | 91.6 | 26.2 | 74.6 | 85.1 | 74.2 | 72.5 |
| Mashup Learning at init | 85.0 | 61.2 | 26.4 | 77.9 | 80.6 | 64.9 | 66.0 |
| Mashup Learning | 87.9 | 95.1 | 32.1 | 86.6 | 86.5 | 82.5 | 78.5 |
| Model | Setup | Method | ARC-e | CSQA | Hella. | MathQA | OBQA | PIQA | SIQA | Wino. | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gemma-3 1B | LoRA | From scratch | 75.0 | 71.9 | 81.4 | 39.3 | 70.3 | 77.0 | 74.2 | 70.6 | 70.0 |
| Mashup Learning | 78.8 | 73.5 | 82.7 | 39.8 | 75.6 | 78.4 | 74.1 | 71.2 | 71.8 | ||
| Full FT | From scratch | 73.9 | 68.8 | 79.8 | 37.3 | 68.3 | 76.1 | 73.0 | 69.2 | 68.3 | |
| Mashup Learning | 78.1 | 70.5 | 80.2 | 39.1 | 73.1 | 77.7 | 73.3 | 69.6 | 70.2 | ||
| Gemma-2 2B | LoRA | From scratch | 90.1 | 82.5 | 93.5 | 44.7 | 85.0 | 85.3 | 81.5 | 83.6 | 80.8 |
| Mashup Learning | 91.6 | 82.7 | 93.6 | 45.8 | 85.5 | 86.3 | 81.7 | 84.4 | 81.5 |
| Model | Setup | Method | ARC-e | CSQA | Hella. | MathQA | OBQA | PIQA | SIQA | Wino. | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gemma-3 1B | LoRA | From scratch | 74.1 | 80.3 | 73.9 | 88.8 | 82.7 | 73.0 | 78.5 | 84.1 | 79.4 |
| Mashup | 28.9 | 48.5 | 61.1 | — | 43.1 | 47.4 | 75.0 | 69.1 | 59.1 | ||
| Full FT | From scratch | 62.8 | 65.5 | 67.8 | 72.4 | 74.2 | 60.3 | 70.8 | 64.8 | 67.3 | |
| Mashup | 9.6 | 53.5 | 61.0 | 55.5 | 41.0 | 42.1 | 51.4 | — | 51.8 | ||
| Gemma-2 2B | LoRA | From scratch | 53.7 | 72.2 | 65.0 | 80.8 | 79.7 | 66.1 | 71.2 | 72.5 | 70.2 |
| Mashup | 11.7 | 69.4 | 58.1 | 74.8 | 64.9 | 55.8 | 73.5 | 64.0 | 59.0 |
| Model | Setup | ARC-e | CSQA | Hella. | MathQA | OBQA | PIQA | SIQA | Wino. | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gemma-3 1B | LoRA | From scratch (s) | 101 | 162 | 611 | 356 | 134 | 261 | 365 | 400 | 299 |
| Mashup (s) | 90 | 146 | 438 | 337 | 99 | 181 | 400 | 356 | 256 | ||
| Ratio (%) | 89% | 90% | 72% | 95% | 73% | 69% | 109% | 89% | 86% | ||
| Full FT | From scratch (s) | 298 | 308 | 2799 | 1801 | 231 | 842 | 1026 | 1021 | 1041 | |
| Mashup (s) | 127 | 188 | 2001 | 1177 | 136 | 398 | 656 | 991 | 709 | ||
| Ratio (%) | 42% | 61% | 72% | 65% | 59% | 47% | 64% | 97% | 63% |
| Method | Checkpoint Selection | ARC-e | CSQA | Hella. | MathQA | OBQA | PIQA | SIQA | Wino. | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|
| LoRA | – | 87.32 | 83.06 | 93.38 | 21.27 | 84.38 | 86.90 | 82.79 | 84.62 | 77.96 |
| Mashup | Random | 88.42 | 82.73 | 93.63 | 21.16 | 85.42 | 87.77 | 32.94 | 84.54 | 72.08 |
| By accuracy | 88.24 | 83.47 | 93.44 | 40.38 | 85.62 | 87.61 | 80.99 | 84.46 | 80.53 | |
| By loss | 88.24 | 83.47 | 93.44 | 21.54 | 85.62 | 86.95 | 81.71 | 84.46 | 78.18 | |
| Oracle | 89.52 | 84.79 | 94.02 | 42.18 | 87.50 | 88.65 | 82.63 | 84.94 | 81.78 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Score | Params |
|---|---|---|
| Gemma 3n E4B IT | 1319 | 4B |
| Gemma 3 4B IT | 1303 | 4B |
| Ministral 8B | 1237 | 8B |
| Llama 3 8B Instruct | 1224 | 8B |
| Llama 3.1 8B Instruct | 1212 | 8B |
| Gemma 2 2B IT | 1199 | 2B |
| Hyperparameter | LoRA | Full FT |
|---|---|---|
| Optimizer | AdamW | AdamW |
| Weight Decay | 0.01 | 0.01 |
| LR Schedule | Cosine | Cosine |
| LR Warmup | 10% | 10% |
| Batch Size | 32 | 32 |
| Epochs | 1 | 1 |
| Model | Setup | Method | ARC-e | CSQA | Hella. | MathQA | OBQA | PIQA | SIQA | Wino. |
|---|---|---|---|---|---|---|---|---|---|---|
| Gemma-3 1B | LoRA | From scratch | ||||||||
| Mashup Learning | ||||||||||
| Full FT | From scratch | |||||||||
| Mashup Learning | ||||||||||
| Gemma-2 2B | LoRA | From scratch | ||||||||
| Mashup Learning |
LLM Fine-Tuning
LLM fine-tuning adapts pretrained large language models to tasks, domains, languages, and behaviors through additional training.
See all 754 papers