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

Saliency-Regularized Deep Multi-Task Learning

Guangji Bai, Liang Zhao · DOI

TL;DR

This paper introduces Saliency-Regularized Deep Multi-Task Learning (SRDML), a novel framework that enhances multi-task learning by explicitly modeling task relationships through input gradient similarities. SRDML aims to bridge the gap between shallow and deep multi-task learning by offering both interpretability in task relations and efficient, adaptive feature learning.

What Problem Does This Paper Address?

Traditional multi-task learning (MTL) aims to improve model performance by leveraging knowledge from related tasks. However, existing methods face several challenges:

  • Shallow MTL: Relies on pre-defined features, limiting its ability to learn from raw data.
  • Deep MTL (Hard-parameter sharing): Pre-defines which network layers/neurons are shared, lacking adaptivity.
  • Deep MTL (Soft-parameter sharing): Offers flexibility but can be computationally inefficient as models scale linearly with the number of tasks.
  • Obscure Task Relations: Modern deep MTL often learns latent features without clear interpretability of how tasks relate to each other.
  • Difficulty in Theoretical Analysis: Deep MTL's non-linear nature makes theoretical guarantees challenging.

SRDML seeks to address these by jointly learning latent features and explicit, interpretable task relations in a deep learning setting, while also providing theoretical backing.

Methods

SRDML proposes a new framework that combines the strengths of shallow and deep MTL. The core innovations are:

  • Input Gradient Similarity for Task Relations: Instead of directly regularizing model parameters (which can be a poor proxy for function similarity), SRDML models task relationships by measuring the similarity between the input gradients of different tasks. This is inspired by saliency detection, where input gradients highlight important features. The authors theoretically prove that this input gradient similarity is equivalent to function similarity.
  • Saliency Map Regularization: The framework uses a novel regularizer that explicitly learns task relations by minimizing the distance between the saliency maps of related tasks. These saliency maps are derived from the gradients flowing into the last convolutional layer, capturing high-level semantic information.
  • Adaptive Task Relation Learning: SRDML introduces learnable slack variables for each pair of tasks, allowing the model to adaptively determine the strength of their relationship. This helps in avoiding negative transfer when tasks might be contradicting.
  • Theoretical Guarantees: The paper provides theoretical analysis showing that the proposed regularization helps reduce generalization error and formally connects SRDML to both shallow and deep MTL approaches, demonstrating its generality.

Datasets

The paper evaluates SRDML on:

  • Controlled Synthetic Dataset: A custom regression dataset designed to test the model's ability to learn true task relationships and handle varying levels of task similarity.
  • Real-world Benchmarks:
    • CIFAR-MTL: A multi-task version of CIFAR-10, with 10 binary classification tasks.
  • CelebA: A dataset of celebrity faces with 40 facial attributes, where the authors select 16 attributes for classification.
  • MS-COCO: A dataset of common objects, where 19 object types are used for classification.

Key Insights and Ideas

  • Input Gradients as a Proxy for Function Similarity: This is a crucial insight. Directly regularizing neural network parameters can be misleading because different parameterizations can represent the same function. Using input gradients offers a more direct and theoretically sound way to regularize the function's behavior with respect to the input.
  • Saliency Maps for Interpretability: By linking task relations to saliency maps, SRDML provides a visually interpretable way to understand why certain tasks are considered related. This is a significant improvement over the "black box" nature of many deep MTL models.
  • Adaptive Regularization for Contradicting Tasks: The ability to adaptively decrease the similarity weight to zero for contradicting tasks is key to preventing negative transfer and improving overall performance.
  • Unified Framework: SRDML elegantly unifies hard-parameter sharing, soft-parameter sharing, and other MTL approaches as special cases, highlighting its broad applicability.

Key Results

  • Synthetic Dataset: SRDML accurately captures the ground-truth task relationships and significantly outperforms single-task learning (STL) in terms of RMSE and MAE.
  • Real-world Datasets: SRDML consistently outperforms most baseline methods across CIFAR-MTL, CelebA, and MS-COCO datasets in various metrics (Accuracy, AUC, Precision, Recall). For instance, on CIFAR-MTL, SRDML achieves the highest accuracy (95.82%).
  • Interpretability: Visualizations of learned task relations (Figure 5) show intuitive groupings, such as "Arched Eyebrow" and "Bags Under Eyes" being related in CelebA, and "cat" and "dog" in COCO.
  • Robustness: The model shows good performance even when tasks are contradicting, with the regularizer adaptively reducing task-similarity weights.

Limitations and Future Work

  • Computational Cost: While more efficient than some soft-parameter sharing methods, deep MTL frameworks can still be computationally intensive. The paper mentions that the normalization trick on input gradients might not always guarantee strict satisfaction of lower bounds, but empirical results show it works well.
  • Hyperparameter Sensitivity: The performance is sensitive to the regularization coefficient ($\lambda$), requiring careful tuning.
  • Future Work: The paper suggests exploring different strategies for sharing convolutional layers, as SRDML's core contribution is in the task-specific layers. Further investigation into the theoretical properties and practical applications of saliency-based regularization in MTL could also be fruitful.

Summary updated

BibTeX
@inproceedings{bai2022saliency,
  author = {Guangji Bai and Liang Zhao},
  title = {{Saliency-Regularized Deep Multi-Task Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539442},
}
Figure