TL;DR
Multilinear Relationship Networks (MRN) solve the "dilemma of transfer" in deep multi-task learning by modeling task-specific weights as high-order tensors. By applying a novel tensor normal prior, the model learns fine-grained relationships between features, classes, and tasks, effectively preventing "negative transfer" in feature layers and "under-transfer" in classifiers.
The Dilemma of Transfer in Deep MTL
In Multi-Task Learning (MTL), the goal is to improve a model's performance on several related tasks by training them jointly. Standard deep MTL approaches usually share early convolutional layers and use independent "heads" (classifiers) for each task.
However, this architecture faces two major hurdles:
- Negative Transfer: Deep features transition from general to task-specific as you move deeper into a network. Forcing different tasks to share high-level feature layers (like
fc7) can hurt performance if the tasks are dissimilar. - Under-Transfer: Conversely, using completely independent classifiers for each task ignores the fact that those tasks might share label structures or categories. This prevents the model from "borrowing" knowledge across task heads.
The authors aim to find a "Goldilocks" zone: a way to share knowledge across task-specific layers without forcing them to be identical.
Enter Multilinear Relationship Networks (MRN)
To address these challenges, the authors introduce Multilinear Relationship Networks (MRN). While the early layers (conv1 through fc6) are shared across all tasks, the task-specific layers (fc7 and fc8) are governed by a Tensor Normal Prior.
Key Technical Innovations
- Weight Tensors: Instead of treating weights as flat matrices, MRN stacks the weight matrices of all $T$ tasks into a high-order tensor. This preserves the structural relationships between features, classes, and tasks.
- Tensor Normal Distribution: The authors use this distribution as a prior for the network parameters. It decomposes the massive covariance matrix of the weights into three smaller, interpretable components:
- Feature Covariance ($\Sigma_1$): Relationships between different hidden features.
- Class Covariance ($\Sigma_2$): Relationships between different output classes (e.g., learning that "Dog" in Task A is related to "Cat" in Task B).
- Task Covariance ($\Sigma_3$): Relationships between the tasks themselves. This allows for "soft" sharing; if tasks are unrelated, the model allows their weights to diverge, mitigating negative transfer.
- Optimization: They use a Maximum a Posteriori (MAP) estimation. To handle the computational explosion of Kronecker products in high-dimensional tensors, they implement an efficient "flip-flop" algorithm and leverage low-rank eigendecomposition to speed up covariance updates.
Datasets Evaluated
The model was evaluated on three standard computer vision benchmarks for multi-task and transfer learning:
- Office-Caltech: 10 categories across four domains (Amazon, Webcam, DSLR, and Caltech-256).
- Office-Home: A more challenging dataset with 65 categories across four distinct domains (Artistic, Clip Art, Product, and Real-World).
- ImageCLEF-DA: A benchmark for domain adaptation featuring 12 categories shared across four public datasets (Caltech-256, ImageNet, Pascal VOC, and Bing).
Key Results & Insights
MRN achieved state-of-the-art results across all three datasets, proving particularly effective when training data was scarce (e.g., using only 5% or 10% of samples).
- Accuracy Gains: On the difficult Office-Home dataset, the full MRN model outperformed the standard Single-Task Learning (STL) baseline by nearly 8% in the 5% sample setting.
- Qualitative Success: Using Hinton diagrams, the authors demonstrated that MRN correctly identifies task similarities (e.g., recognizing that Amazon, DSLR, and Webcam domains are highly correlated) much more clearly than previous methods.
- Feature Transferability: t-SNE visualizations showed that MRN features are better clustered by category and better aligned across tasks compared to other deep MTL methods.
Limitations and Future Work
While powerful, the MRN approach has a few limitations:
- Computational Complexity: Even with the "flip-flop" algorithm and low-rank speedups, calculating the inverse of covariance matrices for very large layers remains expensive.
- Task Homogeneity: While the model can theoretically handle tasks with different output spaces, the primary experiments focus on homogeneous tasks (the same classes across different domains).
- Architecture Specificity: The experiments were primarily conducted on AlexNet and VGGnet. It remains to be seen how these priors interact with more modern architectures like ResNets or Transformers.
Summary updated