Skip to main content
QUICK REVIEW

[Paper Review] Branched Multi-Task Networks: Deciding What Layers To Share

Simon Vandenhende, Georgoulis, Stamatios|arXiv (Cornell University)|Apr 5, 2019
Domain Adaptation and Few-Shot LearningComputer Science25 references8 citations
TL;DR

This paper proposes a method to automatically design branched multi-task neural networks by learning task affinities via representation similarity analysis (RSA), enabling optimal layer sharing decisions. For a given parameter budget, the approach yields higher performance than baselines and achieves target accuracy with fewer parameters by dynamically assigning task-specific depth to shared layers.

ABSTRACT

In the context of multi-task learning, neural networks with branched architectures have often been employed to jointly tackle the tasks at hand. Such ramified networks typically start with a number of shared layers, after which different tasks branch out into their own sequence of layers. Understandably, as the number of possible network configurations is combinatorially large, deciding what layers to share and where to branch out becomes cumbersome. Prior works have either relied on ad hoc methods to determine the level of layer sharing, which is suboptimal, or utilized neural architecture search techniques to establish the network design, which is considerably expensive. In this paper, we go beyond these limitations and propose an approach to automatically construct branched multi-task networks, by leveraging the employed tasks' affinities. Given a specific budget, i.e. number of learnable parameters, the proposed approach generates architectures, in which shallow layers are task-agnostic, whereas deeper ones gradually grow more task-specific. Extensive experimental analysis across numerous, diverse multi-tasking datasets shows that, for a given budget, our method consistently yields networks with the highest performance, while for a certain performance threshold it requires the least amount of learnable parameters.

Motivation & Objective

  • To address the challenge of manually selecting which layers to share in branched multi-task networks, which is error-prone and suboptimal.
  • To eliminate the need for ad hoc or expensive neural architecture search by automating the architecture design process.
  • To improve model efficiency and performance by dynamically determining task-specific depth based on measurable task relatedness.
  • To reduce negative transfer by ensuring only related tasks share early layers, guided by representation similarity.

Proposed method

  • The method computes task affinity scores using Representation Similarity Analysis (RSA), which measures correlation between feature representations of different tasks at various network depths.
  • RSA is applied at multiple layers in a backbone network, using features from a held-out set of images to compute RDM (Representational Dissimilarity Matrix) matrices.
  • Task affinity is quantified as the average correlation across RDM matrices at each depth, indicating how similar the representations of different tasks are.
  • Based on these affinity scores, the method constructs a branched architecture where shallow layers are shared across all tasks, and deeper layers are progressively specialized per task group.
  • The architecture is optimized under a fixed parameter budget, ensuring minimal redundancy and maximal performance.
  • The final network is trained end-to-end with standard optimization, using the same hyperparameters as single-task models.

Experimental results

Research questions

  • RQ1How can we automatically determine which layers to share across multiple tasks in a branched multi-task network?
  • RQ2Can task affinity measured via representation similarity improve multi-task network performance compared to fixed or ad hoc branching strategies?
  • RQ3Does the proposed method achieve better accuracy under a fixed parameter budget than existing multi-task learning baselines?
  • RQ4Can the method reduce the number of parameters needed to reach a target performance threshold?

Key findings

  • For a given parameter budget, the proposed method consistently achieves higher performance than baseline multi-task networks with fixed branching or ad hoc sharing strategies.
  • When constrained by a performance threshold, the method requires significantly fewer learnable parameters than existing approaches, demonstrating improved parameter efficiency.
  • The method identifies optimal task groupings based on representation similarity, reducing negative transfer by avoiding sharing between unrelated tasks.
  • The computational cost is dominated by training single-task models, with minimal overhead—making it more efficient than neural architecture search and comparable to soft parameter sharing methods.
  • On the Taskonomy dataset, the method generates architectures that outperform both standard multi-task and cross-stitch networks in accuracy and efficiency.
  • Qualitative results show that the network learns meaningful task-specific representations in deeper layers, with improved generalization across diverse visual recognition tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.