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

Learning Representation for Multitask Learning Through Self-supervised Auxiliary Learning

Seokwon Shin, Hyungrok Do, Youngdoo Son

Abstract

Multi-task learning (MTL) aims to leverage shared information across tasks to improve generalization. However, shared encoders often suffer from negative transfer or task dominance, failing to learn truly "universal" representations. We propose Dummy Gradient norm Regularization (DGR), a simple yet effective auxiliary learning method. DGR minimizes the gradient norm of the loss with respect to fixed, randomly initialized "dummy" predictors. This objective forces the shared encoder to produce features so informative that even untrained predictors are near a local optimum. Our experiments on UTKFace, NYUv2, and CityScapes demonstrate that DGR consistently enhances performance across various MTL optimization strategies and improves representation quality.

Introduction

In Multi-Task Learning, a single encoder network extracts features that are subsequently utilized by multiple task-specific heads. While the goal is to develop a robust, shared representation, practical applications often encounter negative transfer. This occurs when one task dominates the training signal or when the encoder learns features specific to a subset of tasks at the expense of others.

The authors identify a lack of "universality" in these shared representations. Ideally, a shared encoder should produce features so rich and expressive that any reasonable predictor could use them to solve a task. Prior to this work, there was no formal mechanism to measure or directly optimize for this specific kind of universality.

Methodology: Dummy Gradient norm Regularization (DGR)

The core logic of DGR is that if a representation is truly "universal," even a randomly initialized, non-trained predictor (a "dummy") should be able to find a clear signal within it.

Defining Universality

The authors define universality as the inverse of the gap between an optimal task predictor and an arbitrary (dummy) one. Mathematically, they prove that this universality is inversely proportional to the Frobenius norm of the gradient of the loss function with respect to the dummy predictor's parameters.

The Regularization Term

During training, a penalty term is added to the standard MTL loss. This term encourages the model to minimize the gradient norm of the dummy predictors. Essentially, this instructs the encoder to adjust its features so that the dummy predictors are as close to a local optimum as possible without being trained.

Overview of the Dummy Gradient norm Regularization (DGR) framework.

Implementation Details

  • Efficiency: To avoid the high computational cost of calculating Hessian matrices (gradients of gradients), the authors employ a finite difference approximation, ensuring the method is lightweight and easily integrated into existing pipelines.
  • Stability: To prevent the encoder from over-optimizing for a specific set of random weights, the framework utilizes multiple (typically three) fixed dummy predictors.

Experimental Setup

The effectiveness of DGR was evaluated across several standard computer vision benchmarks:

  • UTKFace: Multi-task image classification involving Age, Gender, and Ethnicity.
  • NYUv2: Scene understanding tasks including Surface normals, Semantic segmentation, and Depth estimation.
  • CityScapes: Urban scene understanding covering Semantic segmentation, Part segmentation, and Disparity estimation.
  • PASCAL & ImageNet: Used for sensitivity analysis and robustness testing.

Results and Discussion

Performance Gains

DGR provides a consistent performance boost across datasets. On the UTKFace dataset, DGR improved the average performance ($Δ_{MTL}$) of a "Vanilla" MTL model from +2.66% to +3.50%. When integrated with state-of-the-art methods like CAGrad, performance increased from +3.17% to +4.11%. On NYUv2, combining DGR with the IMTL algorithm achieved top-tier results across all three tasks.

Representation Quality

To verify the "universality" claim, the authors conducted a "Simple Classifier" test. By freezing the encoder and replacing neural network heads with simple algorithms like SVMs and k-Nearest Neighbors, they found that DGR-trained encoders significantly outperformed others. This suggests the features are inherently higher quality—more linearly separable and better clustered. Qualitative t-SNE visualizations further supported this, showing tighter class clusters and logical sequential arrangements (e.g., age groups) in the feature space.

Compatibility

DGR is a "plug-and-play" loss term rather than a specific architecture. It was shown to consistently improve the performance of various MTL optimization strategies, including PCGrad, CAGrad, and Nash-MTL.

Conclusion and Future Work

DGR introduces a novel perspective on representation learning by forcing the encoder to be "helpful" to untrained predictors. While the current mathematical proof relies on a convexity assumption for the loss with respect to predictor parameters, the empirical results are robust.

Future research could address the hyperparameter sensitivity regarding the penalty weight ($λ$) and explore the application of DGR to "soft parameter sharing" architectures, where tasks utilize separate but constrained encoders rather than a single shared backbone.

Summary updated

BibTeX
@inproceedings{shin2024learning,
  author = {Seokwon Shin and Hyungrok Do and Youngdoo Son},
  title = {{Learning Representation for Multitask Learning Through Self-supervised Auxiliary Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72989-8\_14},
}
Figure