Multi-task learning fits many related prediction problems at once, such as exam scores in 139 different schools, so that data-poor tasks can borrow strength from data-rich ones. It works only if the tasks are actually related. When they are not, sharing hurts, a failure called negative transfer. The field's answer has been to learn which tasks belong together: methods that cluster tasks into groups and share parameters only within a group. These methods always return groups, whether or not any exist. Nobody checks whether the discovered grouping would survive a fresh sample of the data, or whether the tasks were all alike in the first place.
Consensus clustering is a technique from genomics that asks exactly this question of patient subtypes. You re-cluster many perturbed copies of the data, and you trust only the groupings that keep reappearing. It also carries a warning. A naive stability score finds structure in pure noise, and it had to be calibrated against simulated structureless data before it stopped inventing subtypes. We propose to carry that calibration into supervised multi-task learning, where it becomes stronger, because a fitted regression model can simulate its own null world. The two-sentence version is this. Build a task-by-task consensus matrix from resampled per-task fits, and judge its stability against data simulated from the fitted "all tasks are the same" model. That null must keep each task's own design matrix and sample size. Share parameters only along groupings that beat this null, and use the same simulation from a fitted $K$-group model to test $K$ against $K+1$.
Core Claim
Current task-clustering methods take the number of groups as given. VSTG-MTL, Variable Selection and Task Grouping for Multi-Task Learning, fixes a latent dimension and allows overlapping groups. CoCMTL, Exploiting Task-Feature Co-Clusters in Multi-Task Learning, fixes a co-cluster count. STCMTL, Semisoft Task Clustering for Multi-Task Learning, assumes each group contains "pure anchor" tasks. All three solve a single non-convex optimization and report whatever grouping it lands on.
Our claim has two parts. First, the grouping these methods report is often not reproducible, and it is often an artifact. Second, the artifact has a specific and predictable source in the multi-task setting that genomic consensus clustering never faced. Tasks differ in how many examples they have and how noisy they are. Their per-task estimates therefore differ in variance, and a similarity-based clustering will group tasks by estimate noise rather than by true parameters. In the School data, sample sizes vary widely across schools. That makes it the natural place for small-sample schools to be clustered together simply because their estimates shrink similarly.
The null model of M3C: Monte Carlo reference-based consensus clustering preserves feature covariance, but it has no notion of tasks or responses, so it cannot remove this artifact. A parametric bootstrap from a fitted pooled model can. It keeps every task's actual design matrix $X_t$ and its own residual variance, and it makes the coefficients identical across tasks.
Research Program
The pipeline has four stages: a consensus stage, a calibration stage, a sequential test over group counts, and a final fit.
Consensus stage. In each of $R$ rounds, we subsample 80% of the rows within each task and 80% of the features. We fit a cheap per-task estimator, either ridge or lasso. We then cluster the $T$ coefficient vectors into $K$ groups by spectral clustering on their correlations, and record co-membership. This yields a $T \times T$ consensus matrix $M^{(K)}$, where $M^{(K)}_{st}$ is the fraction of rounds in which tasks $s$ and $t$ landed together.
The matrix is $T \times T$, not $n \times n$. The memory bottleneck flagged for consensus clustering therefore disappears: 139 schools give a 139-by-139 matrix. The per-task fits are also cheap, which avoids the cost of rerunning VSTG-MTL hundreds of times; that method alone took 50,029 seconds on Isolet according to Semisoft Task Clustering for Multi-Task Learning.
Calibration stage. We fit a single shared coefficient vector $\hat\beta_0$ by pooled lasso, together with task-specific noise levels $\hat\sigma_t$. We then simulate null responses and rerun the entire consensus stage on each simulated dataset:
$$y_t^{*} = X_t \hat\beta_0 + \hat\sigma_t \varepsilon_t, \qquad \varepsilon_t \sim N(0, I),$$
Here $y_t^{*}$ is task $t$'s simulated response vector and $\varepsilon_t$ is fresh standard noise. From these runs we obtain a null distribution for the proportion of ambiguous pairs (PAC), meaning the share of consensus entries between 0.1 and 0.9. Following M3C, we compare the observed PAC to this null. This gives a relative stability score and an empirical p-value for "no task structure" at each $K$.
Sequential test over $K$. The supervised setting also supports a test that M3C lacks: $K$ structured groups against $K+1$. We fit a $K$-group model and simulate from it using the same recipe as above. We then ask whether the observed stability at $K+1$ exceeds what that $K$-group world produces. Testing proceeds upward from $K=1$ and stops at the first non-rejection. We will control the sequential error with a pre-specified level at each step, and report calibration in simulation rather than claim a formal family-wise guarantee.
Final fit. The accepted groups feed a three-level decomposition that extends A Dirty Model for Multi-task Learning:
$$\Theta = B + G + S,$$
The terms are as follows:
- $\Theta$ is the $p \times T$ coefficient matrix.
- $B$ is row-sparse across all tasks, as in the dirty model.
- $G$ is row-sparse within each accepted group.
- $S$ is elementwise sparse, capturing task-specific effects.
The dirty model can only say a feature matters to every task or to one task. $G$ adds the missing middle level identified in the research file. If the test accepts $K=1$, then $G$ vanishes and the estimator reduces exactly to the dirty model. The statistical question is thus settled before the non-convex fitting starts. The final fit is convex once the groups are fixed.
The method supplies its ingredients from different sources. Lifting partitions to co-membership matrices, and the guarantee that averaging many perturbed partitions converges, come from Statistical Guarantees for Consensus Clustering. The reference-null idea comes from M3C. The decomposition comes from the dirty model.
One caution constrains us. The consistency results of Statistical Guarantees for Consensus Clustering assume independent perturbed partitions, and subsamples of one dataset are dependent. This is why we calibrate by simulation instead of relying on those rates.
Baselines
Naive reference points. The first reference is independent lasso per task, which shares nothing. The second is pooled block-sparse learning, as in Taking Advantage of Sparsity in Multi-Task Learning, which shares everything. Both bracket the question of whether sharing helps. On the digits benchmark, A Dirty Model for Multi-task Learning reports 10.8% average error for independent lasso and 9.9% for block-sparse learning at $n=10$.
Dirty model. The dirty model is itself the strongest competitor on the question "do intermediate groups add anything?" It reports 8.6% on the same digits benchmark. Our method must beat it, or else match it while correctly accepting $K=1$.
Strongest task-grouping methods. These are VSTG-MTL, which reports RMSE 9.9475 on School against 12.0483 for lasso, and CoCMTL, which reports nMSE 1.8588 on Computer Survey. We found no reported absolute number on Lacuna for STCMTL on School or Isolet, only that it was best among its baselines. We will run all three with each author's recommended $K$ grid chosen by the same cross-validation folds, on identical train/test splits and the published 10/20/30% training ratios. Every method, ours included, gets an equal budget of hyperparameter configurations. Beating them means lower test error at the smallest training ratios, where negative transfer bites hardest. It also means markedly higher reproducibility of the grouping across resampled training sets, measured by adjusted Rand index between groupings from disjoint halves.
Ablation of the key ingredient. This baseline runs M3C's covariance-preserving null on the per-task coefficient vectors, with no knowledge of task design or sample size. If this ablation performs as well as the task-aware null, our central mechanism is unnecessary.
Why not just…?
Why not just pick $K$ by cross-validated prediction error? For prediction alone this is a real threat, and we expect cross-validation to be competitive on large-sample tasks. It falls short in two places. It answers "which $K$ predicts best" and not "is there group structure," so it can select $K>1$ in homogeneous data whenever extra flexibility slightly helps. It is also very noisy when tasks have tens of examples each. We will report where the two agree. If cross-validation matches our test in both group recovery and false-structure rate on the synthetic nulls, we will say the test adds interpretability but not accuracy.
Why not just run VSTG-MTL or CoCMTL with many random restarts and keep the best objective? Restarts attack local minima but still assume the chosen $K$ is right, and they give no null reference. The M3C findings show that stability without a null favors larger $K$: standard consensus clustering suggested 10 glioblastoma subtypes where the calibrated answer was 4. Restarting also multiplies an already large runtime. We will include a restart-consensus version of VSTG-MTL, with a matched compute budget, on the smaller benchmarks.
Why not just cluster per-task estimates once with $k$-means, then fit group lasso within clusters? This two-stage heuristic is what our pipeline becomes if you remove resampling and calibration. Its known weakness is that distances collapse in high dimensions under noise features, as noted by Robust Molecular Subtyping through Consensus Clustering. The weakness we predict is sharper: clustering by sample size. It is included directly as a baseline.
Proposed Experiments
Synthetic studies. We will use the dirty-model two-task overlap setup and VSTG-MTL's Syn1–Syn4. We will extend them with planted groups, pure-null settings ($K=1$), and a regime where task sample sizes vary tenfold while coefficients are identical. We will measure the false-structure rate under the null, recovery of the true $K$, adjusted Rand index to planted groups, support recovery, and predictive risk.
Real benchmarks. On School, Computer Survey, the MNIST/USPS digits, Parkinson's voice, and Isolet, we will measure RMSE, nMSE, or error rate as each benchmark uses, plus split-half grouping reproducibility and wall-clock time.
Decisive checks. The main claim fails in any of three cases:
- The design-blind M3C ablation controls false structure as well as the task-aware null on the unequal-sample-size synthetic null.
- On School, the naive two-stage clustering does not correlate with school sample size, which would mean the artifact we predict is absent.
- The three-level fit never beats the dirty model on benchmarks where the test rejects $K=1$.
A secondary, reportable outcome is a benchmark where the test accepts $K=1$. That would be evidence that published groupings there were artifacts.
References
- Variable Selection and Task Grouping for Multi-Task Learning
- Exploiting Task-Feature Co-Clusters in Multi-Task Learning
- Semisoft Task Clustering for Multi-Task Learning
- M3C: Monte Carlo reference-based consensus clustering
- A Dirty Model for Multi-task Learning
- Statistical Guarantees for Consensus Clustering
- Taking Advantage of Sparsity in Multi-Task Learning
- High-Resolution Genomic Profiling Reveals Association of Chromosomal Aberrations on 1q and 16p with Histologic and Genetic Subgroups of Invasive Breast Cancer