                                                                                                 MixMin: Finding Data Mixtures via Convex Minimization









                                                  Gen Loss Evaluation of MixMin                                                                Pred Loss Evaluation of MixMin                                                                 Accuracy Evaluation of MixMin

                                                                                                       4.0

                                                                                                                                                                                                                                                                                                0.75

                                                                                                                                                                                                       6.5

                             PIQA



                                          3.7                    3.7          3.8            4









                                                                                                                           PIQA









                                                                                                                                                                                                                     PIQA

                                                                                                                                          3.5             3.6         3.7                3.8                                               0.68            0.67      0.66            0.64

                                                                                                       3.8                                                                                                                                                                                      0.70

                                                                                                                                                                                                       6.0

              OpenWebMath SciQ Arc Easy









                                          3.6                    3.5          3.5            3.8                                                                                                                                                                                                0.65

                                                                                                       3.6                                                                                             5.5

                             Evaluated









                                                                                                             Evaluated









                                                                                                                                                                                                             Evaluated

                                                                                                             Arc Easy









                                                                                                                                                                                                             Arc Easy

                                                                                                                                          6.2                6         6                 6.4                                               0.49            0.51      0.49            0.46

                                                                                                                                                                                                       5.0                                                                                      0.60

                                              3                  3            3              3.2       3.4

                                                                                                                                                                                                       4.5                                                                                      0.55

                                                                                                       3.2                                6.9             6.4         6.6                6.8                                               0.76            0.74      0.76            0.76









                                                                                                                           SciQ









                                                                                                                                                                                                                     SciQ

                                          3.5                    3.6          3.4            3.2                                                                                                       4.0                                                                                      0.50

                                                                                                       3.0

                                          PIQA               Arc Easy    SciQ OpenWebMath                                                 PIQA          Arc Easy    SciQ OpenWebMath                                                       PIQA           Arc Easy    SciQ OpenWebMath

                                                             MixMin 410M Trained                                                                        MixMin 410M Trained                                                                               MixMin 410M Trained









Figure 14: We found the MixMin models for PIQA, Arc Easy, and SciQ perform similarly across tasks, however were

(almost) always best for their own task across metrics. We report the cross performance of MixMin for different tasks at the

410M parameter scale. The subfigures report generative loss, predictive loss, and accuracy respectively.









                                                  Gen Loss Evaluation of Baseline                                                              Pred Loss Evaluation of Baseline                                                               Accuracy Evaluation of Baseline

                                                                                                                                                                                                       6.5                                                                                      0.75

                             PIQA









                                                       3.9                           4

                                                                                                                           PIQA









                                                                                                                                                                                                                     PIQA

                                                                                                       3.8                                        3.8                          3.8                                                                 0.65                     0.64

                                                                                                                                                                                                       6.0                                                                                      0.70

              OpenWebMath SciQ Arc Easy









                                                       3.6                           3.8               3.6                                                                                             5.5                                                                                      0.65

                             Evaluated









                                                                                                             Evaluated









                                                                                                                                                                                                             Evaluated

                                                                                                             Arc Easy









                                                                                                                                                                                                             Arc Easy

                                                                                                                                                  6.2                          6.4                                                                 0.49                     0.47

                                                                                                       3.4                                                                                             5.0                                                                                      0.60

                                                       3                             3.2

                                                                                                                                                                                                       4.5                                                                                      0.55

                                                                                                       3.2                                        6.7                          6.5                                                                 0.76                     0.78

                                                                                                                           SciQ









                                                                                                                                                                                                                     SciQ

                                                       3.4                           3.3                                                                                                                                                                                                        0.50

                                                                                                                                                                                                       4.0

                                                   Natural                 Balanced                                                              Natural                 Balanced                                                                 Natural                 Balanced

                                                        Baseline 410M Trained                                                                         Baseline 410M Trained                                                                            Baseline 410M Trained









Figure 15: We report the performance of training on the natural and balanced mixture for different tasks at the 410M

parameter scale. The subfigures report generative loss, predictive loss, and accuracy respectively. Comparing to Figure 14

we see both the natural and baseline mixture are matched or dominated in average performance across tasks by the

MixMin weights for PIQA, Arc Easy, and SciQ.









                                                             Mixing 9 Surrogate Datasets                                                                Mixing 85 Surrogate Datasets                                                                      Mixing 1279 Surrogate Datasets

                                                                                                                                    0.5                                                                                              0.5

                              0.5                 MixMin                                                                                         MixMin                                                                                            MixMin

                                                  Random Search                                                                                  Random Search                                                                                     Random Search

                                                                                                                                    0.4                                                                                              0.4

       Improvement over Baseline









                                                                                                                                                                                                              Improvement over Baseline

                                                                                                             Improvement over Baseline









                              0.4



                                                                                                                                    0.3                                                                                              0.3

                              0.3



                              0.2                                                                                                   0.2                                                                                              0.2



                              0.1                                                                                                   0.1                                                                                              0.1



                              0.0                                                                                                   0.0                                                                                              0.0

                                          0        1         2         3   4     5       6    7    8   9                                   0      1      2       3   4     5         6         7   8   9                                             0                  1                   2

                                                                            Assay                                                                                     Assay                                                                                           Assay









Figure 16: MixMin improved over using random search as we increased the number of surrogate assays. We report

AP scores for the first 10 assays in PCBA, with error bars representing a 95% confidence interval over 3 trials. We only

report the first 3 assays for the 1279 sources setting.









                                                                                                                                                                     16

