                                                                                                         MixMin: Finding Data Mixtures via Convex Minimization



                                                                                                    Baseline                                                           PIQA           ARC-EASY                         SciQ          Open WebMath

                                                                                             Random Search                                                             0.006                 0.011                     0.019                                                          0.839

                                                                                                RegMix                                                                 0.007                 0.004                     0.003                                                          0.051

                                                                                               Balanced                                                                0.008                 0.013                     0.006                                                          0.027

                                                                                                Natural                                                                0.025                 0.206                     0.375                                                         0.0003



Table 3: p-values for a Welch’s t-test with the null hypothesis being MixMin performs the same as the baselines for the

1%-compute experiments presented in Figure 3 (generative loss) over the 3 trials used.



                                                                                                                       Baseline                                                       1%                  5%                10%                                      100%

                                                                                                             Random Search                                                          0.006             0.0003               0.233                                      0.043

                                                                                                                RegMix                                                              0.007             0.011                0.023                                       NA

                                                                                                               Balanced                                                             0.008             0.0003               0.017                                      0.002

                                                                                                                Natural                                                             0.025             0.004                0.224                                      0.018



Table 4: p-values for a Welch’s t-test with the null hypothesis being MixMin performs the same as the baselines on PIQA

for generative loss across compute budgets (as shown in Figure 3) over the 3 trials used.



                                                                                                    Baseline              PIQA                                                ARC-EASY                          SciQ               Open WebMath

                                                                                                    Balanced              0.019                                                       0.000                     0.003                                         0.020

                                                                                                     Natural              0.052                                                       0.003                     0.409                                         0.002



Table 5: p-values for a Welch’s t-test with the null hypothesis being MixMin performs the same as the baselines on generative

loss across tasks for the 410M models experiments shown in Figure 5.



                                                                                     ARC-Easy                                                                                                      SciQ                                                                                                   OpenMath

                                                    0.1                                                                                                                0.05

                                                                                                                                                                                                                                                                               0.2

       Natural Gen Loss - Method Gen Loss









                                                                                                                           Natural Gen Loss - Method Gen Loss









                                                                                                                                                                                                                                          Natural Gen Loss - Method Gen Loss









                                                                                                                                                                       0.00

                                                    0.0

                                                                                                                                                                       0.05

                                                                                                                                                                                                                                                                               0.1

                                                    0.1                                                                                                                0.10

                                                                                                                                                                       0.15                                                                                                    0.0

                                                    0.2

                                                                                                        Natural (y=x)                                                  0.20                                        Natural (y=x)                                                         Natural (y=x)

                                                    0.3                                                 MixMin                                                                                                     MixMin                                                                MixMin

                                                                                                        Balanced                                                       0.25                                        Balanced                                                    0.1       Balanced

                                                                                                        Random Search                                                  0.30                                        Random Search                                                         Random Search

                                                    0.4

                                                                                                        RegMix                                                                                                     RegMix                                                                RegMix

                                                                                                                                                                       0.35                                                                                                    0.2

                                                                   1%             5%            10%            100%                                                           1%             5%            10%           100%                                                           1%             5%            10%            100%

                                                                        Data Mixing Compute / Training Compute                                                                     Data Mixing Compute / Training Compute                                                                    Data Mixing Compute / Training Compute









Figure 9: MixMin consistently performed better than alternative methods on generative loss across compute budgets, and

was robust to using less compute. We note both Random Search and RegMix tend to improve with more compute. We report

improvement over the generative loss of training on the natural distribution.



                                                                                         PIQA                                                                                                   ARC-Easy                                                                                                     SciQ

                                                             0.2

                                                                                                                                                                       0.0                                                                                                     0.2

                      Natural Pred Loss - Method Pred Loss









                                                                                                                                Natural Pred Loss - Method Pred Loss









                                                                                                                                                                                                                                     Natural Pred Loss - Method Pred Loss









                                                             0.1                                                                                                                                                                                                               0.0

                                                                                                                                                                       0.2

                                                             0.0                                                                                                                                                                                                               0.2

                                                                                                                                                                       0.4                                                                                                     0.4

                                                             0.1

                                                                                                          Natural (y=x)                                                                                            Natural (y=x)                                               0.6      Natural (y=x)

                                                                                                                                                                       0.6

                                                             0.2                                          MixMin                                                                                                   MixMin                                                               MixMin

                                                                                                          Balanced                                                                                                 Balanced                                                    0.8      Balanced

                                                                                                          Random Search                                                0.8                                         Random Search                                                        Random Search

                                                             0.3                                                                                                                                                                                                               1.0

                                                                                                          RegMix                                                                                                   RegMix                                                               RegMix

                                                                                                                                                                       1.0                                                                                                     1.2

                                                                    1%             5%            10%            100%                                                          1%             5%            10%            100%                                                          1%             5%            10%            100%

                                                                         Data Mixing Compute / Training Compute                                                                    Data Mixing Compute / Training Compute                                                                    Data Mixing Compute / Training Compute









Figure 10: MixMin often performed better or on par to alternative methods on predictive loss across compute budgets, and

was robust to using less compute. We note both Random Search and RegMix tend to improve with more compute. We report

improvement over the predictive loss of training on the natural distribution.





                                                                                                                                                                                                14

