Deep Multi-Task Learning via Generalized Tensor Trace Norm

Yi Zhang, Yu Zhang, Wei Wang · DOI

Abstract

The trace norm is widely used in multi-task learning as it can discover low-rank structures among tasks in terms of model parameters. Nowadays, with the emerging of big datasets and the popularity of deep learning techniques, tensor trace norms have been used for deep multi-task models. However, existing tensor trace norms cannot discover all the low-rank structures and they require users to manually determine the importance of their components. To solve those two issues together, in this paper, we propose a Generalized Tensor Trace Norm (GTTN). The GTTN is defined as a convex combination of matrix trace norms of all possible tensor flattenings and hence it can discover all the possible low-rank structures. In the induced objective function, we will learn combination coefficients in the GTTN to automatically determine the importance. Experiments on real-world datasets demonstrate the effectiveness of the proposed GTTN.

Introduction

Multi-Task Learning (MTL) aims to enhance model performance across multiple related tasks by leveraging shared information. A common approach involves using the matrix trace norm to identify low-rank structures, effectively grouping similar tasks. However, modern deep learning architectures often represent task parameters as high-dimensional tensors (e.g., features $\times$ classes $\times$ tasks).

Existing tensor trace norms, such as Tucker or Tensor-Train (TT), suffer from two primary limitations:

  1. Incompleteness: They only evaluate a limited subset of possible tensor "flattenings" into matrices. If task relationships are embedded in an unexamined flattening, the model fails to capture them.
  2. Manual Weighting: These methods typically assign equal importance to all considered flattenings, which may not reflect the actual data structure.

The Generalized Tensor Trace Norm (GTTN)

To address these issues, the authors propose the Generalized Tensor Trace Norm (GTTN). This approach introduces two key innovations:

  • Exhaustive Flattening: GTTN is defined as a convex combination of matrix trace norms across all possible tensor flattenings. For a $p$-way tensor, there are $2^{p-1}-1$ distinct ways to reshape it. By considering the entire set, GTTN ensures that no potential low-rank structure is overlooked.
  • Learned Importance ($\alpha$): Rather than using fixed weights, GTTN treats the combination coefficients ($\alpha$) as learnable parameters. This allows the model to automatically determine which structural relationships are most relevant for the given tasks.
Comparison of tensor flattenings covered by different norms. GTTN (purple) encompasses all possible flattenings, whereas Tucker, TT, and LAF only cover specific subsets.

The optimization is integrated into standard Stochastic Gradient Descent (SGD) using a reparameterization trick to ensure weights remain positive and sum to unity.

Experimental Evaluation

The GTTN was evaluated on four computer vision benchmarks: ImageCLEF, Office-Caltech, Office-31, and Office-Home. These datasets cover various domains and categories, providing a robust test for multi-task and transfer learning.

The experiments utilized a VGG19 backbone. Features were extracted from the pool5 and fc7 layers, resulting in 5-way and 3-way parameter tensors, respectively.

Key Results and Insights

The experimental results highlight several advantages of the GTTN approach:

  • Superior Accuracy: GTTN consistently outperformed standard Deep Multi-Task Learning (DMTL) and specialized tensor norms (Tucker, TT, LAF) across various datasets and training set sizes.
  • The Benefit of Learning Weights: Models that learned the $\alpha$ weights significantly outperformed those with manually fixed weights, proving that data-driven structural discovery is superior.
  • Performance in High Dimensions: The advantage of GTTN was most pronounced with higher-order tensors (e.g., from pool features). With more "views" of the data available, GTTN's exhaustive search allowed it to capture complex inter-task dependencies that other norms missed.
Accuracy comparison on fc7 and pool15 features. GTTN (pink line with circles) consistently achieves higher accuracy than competing methods across different training proportions.

Conclusion

GTTN provides a mathematically sound and effective framework for deep multi-task learning by automating the discovery of task relationships. While the number of flattenings grows exponentially with tensor order, the method remains computationally efficient for the typical tensor sizes ($p \le 5$) found in current deep learning architectures. Future work may explore pruning strategies for higher-order tensors or extending the generalized approach to Schatten norms.

Summary updated

BibTeX
@misc{zhang2020deep,
  author = {Yi Zhang and Yu Zhang and Wei Wang},
  title = {{Deep Multi-Task Learning via Generalized Tensor Trace Norm}},
  year = {2020},
  eprint = {2002.04799},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.04799},
}
Figure