Multi-Task Learning (MTL) aims to improve generalization by training a single model on multiple related tasks simultaneously. However, a persistent challenge in this field is task imbalance, where differences in task difficulty, loss scales, and convergence rates lead to suboptimal performance. While previous approaches have relied on heuristics to balance task weights, a new framework presented at NeurIPS 2025, NTKMTL, provides a theoretically grounded solution using Neural Tangent Kernel (NTK) theory.
The Challenge of Task Imbalance
In a typical MTL setup—such as a self-driving system performing depth estimation, semantic segmentation, and object detection—tasks often compete for the model's capacity. "Easy" tasks tend to converge quickly and dominate the gradient updates, while "hard" tasks may never reach their optimal minima.
Existing solutions often attempt to balance tasks by monitoring loss ratios or gradient magnitudes. However, these methods frequently fail because they do not account for the inherent differences in the "learning speed" of different tasks. NTKMTL addresses this by mathematically characterizing convergence dynamics through the spectral properties of the network's kernel.
Theoretical Framework: The Extended NTK
The core innovation of NTKMTL is the derivation of an Extended NTK matrix for multi-task architectures. In NTK theory, the evolution of a network's output during training is governed by a kernel matrix. The authors demonstrate that in an MTL context, the convergence speed of each individual task is directly determined by the eigenvalues of its corresponding block within this extended matrix.
Spectral Balancing
The researchers identified that task imbalance is essentially a multi-task manifestation of spectral bias—the tendency of neural networks to prioritize components associated with larger eigenvalues. To counteract this, they propose a dynamic weighting strategy where the weight $\omega_i$ for task $i$ is set inversely proportional to the square root of its maximum eigenvalue:
$$\omega_i \propto \frac{1}{\sqrt{\lambda_i}}$$
By applying this normalization, the framework equalizes the learning speeds across all tasks, ensuring that no single task prematurely dominates the training process.
Computational Efficiency: NTKMTL-SR
Calculating the full NTK matrix for a deep neural network is computationally prohibitive. To make the method viable for real-world applications, the authors introduced NTKMTL-SR (Shared Representation). This variant approximates the NTK by calculating it with respect to the shared bottleneck layer rather than the entire parameter set. This optimization allows the method to achieve state-of-the-art results with minimal overhead, requiring only one additional backpropagation per iteration.
Experimental Results
The authors evaluated NTKMTL across a diverse array of benchmarks, demonstrating its versatility and robustness:
- Computer Vision (NYUv2 & CityScapes): On the NYUv2 dataset, NTKMTL achieved a superior average performance drop ($\Delta m\%$) of -6.99%, significantly outperforming single-task baselines. Notably, it was one of the few methods capable of improving performance on the notoriously difficult "surface normal prediction" task.
- Large-Scale Classification (CelebA): In a 40-task facial attribute classification challenge, NTKMTL-SR maintained high accuracy while remaining computationally efficient, with a training time only ~1.24x that of simple linear weighting.
- Molecular Regression (QM9): The method successfully balanced 11 different molecular property predictions, showing its efficacy in scientific domains.
- Reinforcement Learning (Meta-World MT10): In robotic manipulation tasks, NTKMTL reached a 0.96 success rate, surpassing standard Multi-Task SAC and specialized gradient-surgery techniques.
Insights and Future Directions
A key insight from this research is the mathematical explanation for "hard" tasks. By visualizing NTK eigenvalues on the NYUv2 dataset, the authors proved that tasks like surface normal prediction possess significantly smaller eigenvalues than segmentation, explaining why they typically lag behind in standard MTL setups.
While NTKMTL focuses on the diagonal blocks of the NTK matrix (individual task speeds), the authors note that the off-diagonal blocks—which represent inter-task interference—remain an open area for research. Future iterations of the framework may leverage these components to automatically group tasks or design architectures that minimize negative transfer between conflicting objectives.
Summary updated