                                                                          MixMin: Finding Data Mixtures via Convex Minimization



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

                                                                                                                   0.5                                                                                 0.5

                               0.40                                               MixMin                                                                              MixMin                                                                              MixMin

                                                                                  Natural                                                                             Natural                                                                             Natural

                               0.35                                                                                0.4                                                                                 0.4

        Improvement over Baseline









                                                                                                                                                                                Improvement over Baseline

                                                                                            Improvement over Baseline

                               0.30

                               0.25                                                                                0.3                                                                                 0.3

                               0.20

                                                                                                                   0.2                                                                                 0.2

                               0.15

                               0.10                                                                                0.1                                                                                 0.1

                               0.05

                               0.00                                                                                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    3   4     5   6    7      8      9

                                                             Assay                                                                              Assay                                                                            Assay









Figure 6: MixMin improved over using the natural distribution of data 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.



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

                                                                                                                   0.5                                                                                 0.5

                               0.40       MixMin Retrain                                                                     MixMin Retrain                                                                                                   MixMin Retrain

                                          MixMin Ensemble                                                                    MixMin Ensemble                                                                                                  MixMin Ensemble

                               0.35                                                                                0.4                                                                                 0.4

        Improvement over Baseline









                                                                                                                                                                                Improvement over Baseline

                                                                                            Improvement over Baseline









                               0.30

                               0.25                                                                                0.3                                                                                 0.3

                               0.20

                                                                                                                   0.2                                                                                 0.2

                               0.15

                               0.10                                                                                0.1                                                                                 0.1

                               0.05

                               0.00                                                                                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    3   4     5   6    7      8      9

                                                             Assay                                                                              Assay                                                                            Assay









Figure 7: Retraining with the MixMin mixture performs better than using the MixMin weights to ensemble the proxy

models. We report AP scores with error bars representing a 95% confidence interval over 3 trials. This implies the proxy

models were far from Bayes optimal.





Method Implementation For every assay in PCBA, we                                                                                                    (the final model trained on MixMin or natural mixtures) we

used a 64% − 16% − 20% train-validation-test split: an                                                                                               fixed the n estimators = 100 and max depth = 6.

original 80% − 20% train-test split, and further splitting

the train set into a 20% validation set. We trained proxy                                                                                            6.2.2. R ESULTS

models used for MixMin on just the train split, and trained

                                                                                                                                                     MixMin’s advantage over the baselines increased with

baseline models on the train and validation splits. The

                                                                                                                                                     the number of sources As shown in Figure 6, we ob-

baselines models represent the performance we get by just

                                                                                                                                                     served that MixMin performs mostly on par with the natural

training on the target, as to normalize improvement from

                                                                                                                                                     distribution when working with the first 10 assays and im-

data mixing. Given a target assay, we used the proxy models

                                                                                                                                                     proved over natural as the number of assays to mix grew.

on the other assays in PCBA to run MixMin , using the train

                                                                                                                                                     This suggests MixMin was able to find relevant data sources

set on the target task to fit the MixMin mixture weights

                                                                                                                                                     amongst more diverse sets, and we note its absolute perfor-

(leaving the validation and test set unseen). Finally, given

                                                                                                                                                     mance grew while the performance of the natural mixture

the MixMin mixture we retrained a new model on the train

                                                                                                                                                     decreased with the number of sources. We note in all cases

sets from all the other assays. For the natural distribution

                                                                                                                                                     both MixMin and training on the natural distribution im-

baseline, we trained on all the train sets from other assays as

                                                                                                                                                     proved over the baseline of training on the target assay.

is (no reweighting of sources). For all method we reported

                                                                                                                                                     Similar improvements over random search and RegMix are

the mean test AP score improvement (from 3 trials) over

                                                                                                                                                     presented in Figure 16 and Figure 17 respectively (in Ap-

the baseline of training on the target distribution, with 95%

                                                                                                                                                     pendix B).

confidence intervals.



                                                                                                                                                     Retraining with MixMin Mixture performed better than

Hyperparameter Tuning We selected hyperparameters                                                                                                    ensembling proxy models An alternative approach to

for each proxy and baseline model by doing a 5-fold cross-                                                                                           training on MixMin weights, suggested by the reduction for

validation on the train set. We grid search over all combi-                                                                                          Bayes optimal models, is to ensemble the proxy models with

nations of n estimators ∈ [10, 50, 100] and max depth ∈                                                                                              the MixMin weights. We present a comparison between this

[4, 6, 8]. For the models trained over all the surrogate assays                                                                                      and retraining with MixMin weights in Figure 7. Retraining



                                                                                                                                               8

