NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Trace Norm Regularised Deep Multi-Task Learning

Yongxin Yang, Timothy M. Hospedales

Introduction

Instead of manually deciding which layers of a neural network to share between tasks, this paper proposes using tensor trace norm regularization to learn the sharing strategy automatically. By treating the parameters of multiple task-specific networks as a single tensor and encouraging it to be "low-rank," the model discovers which features are universal and which are task-specific directly from the data.

The Challenge of Multi-Task Sharing

In Multi-Task Learning (MTL), the goal is to improve a model's performance on several related tasks by training them jointly. The standard approach in deep learning is to "hard-code" a sharing strategy: for example, sharing the first three layers of a Convolutional Neural Network (CNN) across all tasks while keeping the final layers task-specific.

However, as neural networks grow deeper and more complex, deciding exactly where to "split" the network becomes an arbitrary and difficult engineering challenge. If you share too much, tasks might interfere with each other (negative transfer); if you share too little, you lose the benefits of joint learning. The authors tackle this by proposing a "soft" sharing framework where every layer is potentially shareable, and the degree of sharing is determined by optimization rather than manual design.

Tensor Trace Norm Regularization

The authors propose a framework where $T$ tasks are each modeled by a separate neural network with the same architecture. To link these networks, they collect the parameters of each corresponding layer across all tasks and stack them into a tensor.

To encourage these networks to "reuse" each other's parameters, they apply a Trace Norm regularizer to these tensors. In matrix calculus, the trace norm (the sum of singular values) is a convex proxy for the rank of a matrix. By minimizing this norm, the model is pushed toward a low-rank solution, which physically means the different task-networks are forced to share common parameter structures.

The paper explores three ways to extend this matrix concept to higher-order tensors:

  1. Last Axis Flattening (LAF): The simplest approach, where the tensor is flattened into a matrix along the task dimension.
  2. Tucker Norm: Based on the Tucker decomposition, this encourages low-rank structure across all dimensions of the parameter tensor (e.g., width, height, channels, and tasks).
  3. Tensor-Train (TT) Norm: Based on the Tensor-Train decomposition, offering a different way to capture multi-linear correlations.

Because the trace norm is non-differentiable, the authors use sub-gradient descent (utilizing Singular Value Decomposition) to integrate the regularizer into standard deep learning backpropagation.

Experimental Setup

The researchers evaluated their method on the Omniglot dataset, which contains handwritten characters from 50 different alphabets (e.g., Cyrillic, Korean, Tengwar). Each alphabet is treated as a separate task, and the goal is to recognize characters within that specific alphabet. They utilized a CNN architecture consisting of 3 convolutional layers and 2 fully connected layers.

Key Insights

  • Data-Driven Branching: The model naturally learns the "branching" structure. Instead of a hard split, the regularizer allows for "partial" sharing at every level of the hierarchy.
  • Confirmation of Intuition: The results showed that the "sharing strength" was highest in the bottom (earlier) layers and lowest in the top (later) layers. This aligns with the common deep learning intuition that early layers learn general features (like edges), while later layers learn task-specific features.
  • Regularization vs. Architecture: This approach shifts the problem of multi-task learning from architectural design (how do I build the graph?) to regularization (how do I constrain the weights?).

Performance and Results

Comprehensive results showing accuracy improvements, loss convergence, and layer-wise sharing strength across different tensor norms.
  • Improved Generalization: All three MTL variants (LAF, Tucker, TT) outperformed Single Task Learning (STL). While STL achieved the lowest training loss, it suffered from significant overfitting. The MTL regularizers acted as a powerful counter-measure, leading to higher testing accuracy (~36% vs ~34% for STL).
  • Robustness to Norm Choice: Interestingly, the specific type of tensor norm (LAF, Tucker, or TT) didn't drastically change the final accuracy. This suggests that the core benefit comes from the general principle of low-rank regularization across tasks rather than the specific decomposition method.
  • Efficiency: The method allows for training multiple networks simultaneously while preventing the parameter explosion usually associated with having $T$ separate models.

Limitations and Future Work

  • Computational Overhead: Calculating the sub-gradient of the trace norm requires a Singular Value Decomposition (SVD) at every training step. For very large layers or many tasks, this could become a significant computational bottleneck.
  • Homogeneous Architectures: The current framework requires all tasks to share the same base architecture (same number of layers and neurons). It is not immediately clear how to apply this to tasks that require fundamentally different network structures.
  • Hyperparameter Sensitivity: While the authors used a fixed regularization strength ($\gamma$) for their experiments, in a real-world scenario, tuning the balance between the classification loss and the trace norm for every layer could be tedious.

Summary updated

BibTeX
@inproceedings{yang2017trace,
  author = {Yongxin Yang and Timothy M. Hospedales},
  title = {{Trace Norm Regularised Deep Multi-Task Learning}},
  booktitle = {Workshops @ ICLR},
  year = {2017},
}
Figure