Skip to main content
QUICK REVIEW

[Paper Review] Learning Sparse Sharing Architectures for Multiple Tasks

Tianxiang Sun, Yunfan Shao|arXiv (Cornell University)|Nov 12, 2019
Domain Adaptation and Few-Shot LearningComputer Science35 references17 citations
TL;DR

This paper proposes Sparse Sharing, a parameter-efficient multi-task learning framework that automatically learns a sparse, task-specific subnetwork structure from an over-parameterized base network using iterative magnitude pruning. By training these partially shared subnetworks in parallel, the method achieves consistent performance gains across sequence labeling tasks while reducing parameter count and mitigating negative transfer, outperforming single-task and existing multi-task baselines.

ABSTRACT

Most existing deep multi-task learning models are based on parameter sharing, such as hard sharing, hierarchical sharing, and soft sharing. How choosing a suitable sharing mechanism depends on the relations among the tasks, which is not easy since it is difficult to understand the underlying shared factors among these tasks. In this paper, we propose a novel parameter sharing mechanism, named \emph{Sparse Sharing}. Given multiple tasks, our approach automatically finds a sparse sharing structure. We start with an over-parameterized base network, from which each task extracts a subnetwork. The subnetworks of multiple tasks are partially overlapped and trained in parallel. We show that both hard sharing and hierarchical sharing can be formulated as particular instances of the sparse sharing framework. We conduct extensive experiments on three sequence labeling tasks. Compared with single-task models and three typical multi-task learning baselines, our proposed approach achieves consistent improvement while requiring fewer parameters.

Motivation & Objective

  • To address the limitations of existing multi-task learning methods—such as hard sharing’s rigidity, soft sharing’s parameter inefficiency, and hierarchical sharing’s reliance on manual design.
  • To develop a parameter-efficient, flexible sharing mechanism that adapts to both closely and loosely related tasks without prior knowledge of task relationships.
  • To automatically discover a sparse, shared architecture through a data-driven approach that does not require manual architectural engineering.

Proposed method

  • Start with an over-parameterized base network that contains all potential shared and task-specific parameters.
  • Apply Iterative Magnitude Pruning (IMP) to each task’s subnetwork to induce sparsity and extract a compact, task-specific subnet.
  • Train each task’s subnet in parallel, updating only its own parameters while sharing the base network’s structure.
  • Merge the pruned subnetworks into a single sparse sharing architecture where overlapping weights are shared across tasks.
  • Use multi-task warmup (MTW) to stabilize training and improve convergence.
  • Formulate both hard sharing and hierarchical sharing as special cases of the proposed sparse sharing framework.

Experimental results

Research questions

  • RQ1Can a parameter-efficient multi-task learning framework be designed that automatically adapts to varying degrees of task relatedness without manual architectural design?
  • RQ2How does sparse sharing compare to hard sharing, soft sharing, and hierarchical sharing in terms of performance and parameter efficiency?
  • RQ3Does the sparse sharing mechanism effectively reduce negative transfer when tasks are unrelated or loosely related?
  • RQ4To what extent can iterative magnitude pruning (IMP) be used to discover effective, task-specific subnetworks within a shared base architecture?
  • RQ5Can the proposed method achieve consistent performance gains across diverse sequence labeling tasks while requiring fewer parameters than existing baselines?

Key findings

  • Sparse sharing achieved consistent performance improvements over single-task models and three multi-task learning baselines on three sequence labeling tasks: CoNLL-2003 and OntoNotes 5.0.
  • On CoNLL-2003, the method achieved 95.56 F1 for POS, 90.35 F1 for NER, and 91.55 F1 for chunking, outperforming the baseline without multi-task warmup.
  • The ablation study showed that multi-task warmup (MTW) further improved performance, with a 0.2% gain in POS and 0.7% in NER on CoNLL-2003.
  • The method reduced parameter count compared to soft sharing and hard sharing, demonstrating high parameter efficiency.
  • Experiments confirmed that sparse sharing mitigates negative transfer, even when tasks are unrelated, by allowing divergent subnetworks to emerge.
  • The framework was able to recover winning tickets in sequence labeling tasks, validating the existence of sparse, high-performing subnetworks.

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.