A multi-task model trains one shared network on several objectives at once. Whether a given set of tasks should share that network is usually decided with a cheap pilot signal: a short joint training run that records how well the tasks' gradients agree. That pilot signal has a known blind spot. When two tasks are labeled on mostly different examples, gradient agreement mostly reflects the fact that the inputs differ, and says little about whether the tasks help or hurt each other. On molecular benchmarks this failure has been measured precisely. It sets in sharply once the overlap in shared examples falls below about 30%. Many real task pools sit in that regime, including standard MoleculeNet splits and cross-source pools.
We propose to manufacture the missing overlap. Before measuring affinity, we train a cheap single-task "teacher" for each task and use it to fill in that task's missing labels on the other tasks' inputs. We then compute gradient affinity on the resulting shared example set, weighting each imputed label by the teacher's confidence. The claim is testable and could fail. If the low-overlap breakdown comes from missing co-measurement rather than from the tasks being intrinsically unrelated, then affinity computed on imputed overlap should recover the predictive power that gradient affinity has at high overlap. It should also improve the task groupings chosen by existing affinity-based grouping methods.
Core Claim and Positioning
The clearest statement of the gap is in Information-Theoretic Requirements for Gradient-Based Task Affinity Estimation. That paper compares the cosine similarity of task gradients against the empirical correlation of co-measured targets on Tox21, ToxCast, SIDER, QM9, a kinase selectivity panel, and a Tox21+ADME mix. It finds a sigmoidal phase transition in overlap, measured as the Jaccard index of the two tasks' example sets. The inflection is at 29.7%, and reliable prediction needs at least 40% overlap. Above that threshold, gradient similarity predicts multi-task benefit at r = 0.71. This paper motivates our work: it diagnoses the failure but offers no remedy for low-overlap pools.
The grouping methods constrain and supply our design. Ensemble Prediction of Task Affinity (ETAP) turns affinity scores from a single pilot joint run into predicted group gains, first through a curve fit and then through a regression correction for group-specific effects. It reports Pearson 0.84 against 0.47 for Task Affinity Grouping (TAG) on ETTm1. ETAP never measures overlap, so its inputs may be corrupted exactly where the diagnosis paper says they fail. Task Grouping via Task Affinity Prediction avoids gradient affinity altogether. It predicts gains from dataset statistics, distribution distances, and early learning-curve slopes, and it reaches 78.7 MSE on School against 86.49 for training each task alone.
Our contribution sits upstream of both. We do not propose a new grouping search. We propose a correction to the affinity signal that these searches consume. We will test whether plugging the corrected signal into ETAP recovers its accuracy on low-overlap pools.
Research Program
The method has three steps. First, for each task $k$, train a single-task teacher $f_k$ on that task's own labeled examples; this is short, cheap training. Second, form the union of all inputs. For every input lacking a label for task $k$, attach the pseudo-label $f_k(x)$ with confidence weight $w_k(x)$, taken from a small teacher ensemble's agreement. Third, run the usual pilot joint training on this completed set. Real labels carry weight one and imputed labels carry weight $w_k(x)$. Gradient affinity $G_{ij}$ is computed only on inputs where both tasks now have a label.
The main risk is that the imputation creates correlation that is not real. If two teachers rely on the same input features, their pseudo-labels will correlate even when the true targets do not. We attack this risk with two controls. The first is a null in which each teacher's pseudo-labels are permuted across inputs. The second is a "teacher-only" affinity: the correlation of the two teachers' predictions on the union, with no joint training at all. If teacher-only correlation already matches the full method, then the joint pilot run adds nothing, and the paper becomes a simpler and still useful result.
Analysis centers on controlled overlap. Tox21, SIDER, and QM9 have 100% overlap, so their true target correlations are known. We delete labels to reach target overlap levels from 5% to 100% and ask whether imputed-overlap affinity flattens the sigmoidal curve. To test that the effect is not specific to chemistry, we repeat the same manipulation on CelebA. There every face image carries every attribute label, so pairwise multi-task gains at full overlap provide ground truth.
We will also separate two readings of the diagnosis paper's threshold: a fraction of overlap versus an absolute number of shared examples. We vary dataset size at fixed Jaccard overlap. This matters because a count threshold favors the simpler fix of computing gradients only on the shared examples.
Baselines
The naive reference is uncorrected gradient cosine affinity from a pilot joint run, exactly as defined in Information-Theoretic Requirements. Its reported number is r = 0.71 with downstream multi-task benefit above 40% overlap, with an average gain of +2.3 for high-affinity pairs on Tox21. To beat it, we must show significantly higher correlation below 30% overlap without falling below it at high overlap.
The strongest existing grouping method is ETAP Ensemble Prediction of Task Affinity. Its best reported figure in our file is Pearson 0.84 on ETTm1. We found no reported result on Lacuna for ETAP on the kinase panel, Tox21+ADME, or any controlled low-overlap setting. We will rerun ETAP with its native affinity inputs and with our corrected inputs, using the same pilot run length, backbone, and hyperparameter search budget for both. ETAP's reported runtime savings over TAG (46% on CelebA, 71% on ETTm1) define the cost envelope. Our teacher training must be counted against that budget.
We also run TAG itself, the lookahead affinity ETAP compares against, and the non-gradient predictor of Task Grouping via Task Affinity Prediction. The latter is the strongest overlap-free competitor, because it never needs shared examples.
The key ablation is overlap-restricted affinity: cosine similarity computed only on the naturally shared examples, with no imputation. This isolates whether the imputed labels matter. The permuted-label null and teacher-only correlation, described above, complete the set.
"Beating" a baseline means higher Spearman correlation between predicted and measured pairwise multi-task gains. Ground-truth gains come from training every pair to completion, which is feasible for 12 to 27 tasks. It also means lower test loss for the chosen groups when overlap is below 30%, with the difference outside across-seed variance over five seeds.
Why not just…?
Why not just train all pairs and measure their gains directly? For pools of 12 to 27 tasks, exhaustive pairwise training is affordable, and it is our ground truth. The problem is that its cost grows quadratically, and pairwise gains do not compose into group gains; ETAP's regression correction exists for exactly that reason. The proposal is worthwhile only if it matches pairwise accuracy at close to single-run cost. We report both accuracy and wall-clock cost so a reader can judge the trade.
Why not just compute gradients on the examples the tasks happen to share? This is the most serious threat. If the diagnosis paper's threshold is really about the absolute number of shared examples, this simple fix may suffice on large pools. The kinase panel, at about 20% overlap, might already have enough shared compounds. Our fixed-Jaccard, varying-size experiment settles the question. If overlap-restricted affinity matches the full method whenever the shared count exceeds some number, we will report that number as the finding. Imputation would then matter only below it, which is where Tox21+ADME, at 8–14% overlap, is likely to sit.
Why not skip gradients and use overlap-free features or heuristics? The feature-based predictor in Task Grouping via Task Affinity Prediction is immune to the overlap problem. Output-format grouping can also match a full 29-task suite, as shown in Exploring the Role of Task Transferability: 75.252 against 75.678. But the same School results show clustering heuristics at 98.43 MSE, worse than single-task training. Format grouping also cannot separate tasks within one format, and all our molecular tasks share one format. We include the feature predictor as a head-to-head baseline rather than assume it loses.
Why not let a gradient-conflict method like RotoGrad sort it out during training? RotoGrad aligns task gradients by rotating shared features and rebalancing gradient sizes. Its alignment is driven by the same gradients the diagnosis paper shows are uninformative at low overlap, so it would align distribution artifacts. We test this directly by adding RotoGrad to all-tasks training on the low-overlap pools and comparing it with our selected groups.
Decisive Checks
The central experiment is the overlap sweep on Tox21 and CelebA. The method succeeds if its correlation with true multi-task gain stays near the full-overlap value down to about 10% overlap, while uncorrected cosine affinity follows the reported sigmoid. It must also clearly beat the permuted-label null. If the imputed affinity tracks teacher-only correlation, or collapses along with the null, the hypothesis that co-measurement is the missing ingredient is refuted.
The applied test runs on the naturally low-overlap kinase panel and Tox21+ADME pools. There, ETAP given corrected affinity must choose groups with lower held-out loss than ETAP given native affinity, under equal compute.
References
- Information-Theoretic Requirements for Gradient-Based Task Affinity Estimation in Multi-Task Learning
- Ensemble Prediction of Task Affinity for Efficient Multi-Task Learning
- Task Grouping for Automated Multi-Task Machine Learning via Task Affinity Prediction
- Exploring the Role of Task Transferability in Large-Scale Multi-Task Learning
- RotoGrad: Gradient Homogenization in Multi-Task Learning