Skip to main content
QUICK REVIEW

[Paper Review] Exploring Shared Structures and Hierarchies for Multiple NLP Tasks

Junkun Chen, Kaiyu Chen|arXiv (Cornell University)|Aug 23, 2018
Topic ModelingComputer Science22 references14 citations
TL;DR

This paper proposes a reinforcement learning-based controller to automatically discover optimal shared neural architectures for multi-task NLP, dynamically selecting from a pool of reusable modules per task. The method learns hierarchical and task-specific structures without human-designed sharing schemes, achieving superior performance on text classification and sequence labeling tasks by implicitly modeling task relationships.

ABSTRACT

Designing shared neural architecture plays an important role in multi-task learning. The challenge is that finding an optimal sharing scheme heavily relies on the expert knowledge and is not scalable to a large number of diverse tasks. Inspired by the promising work of neural architecture search (NAS), we apply reinforcement learning to automatically find possible shared architecture for multi-task learning. Specifically, we use a controller to select from a set of shareable modules and assemble a task-specific architecture, and repeat the same procedure for other tasks. The controller is trained with reinforcement learning to maximize the expected accuracies for all tasks. We conduct extensive experiments on two types of tasks, text classification and sequence labeling, which demonstrate the benefits of our approach.

Motivation & Objective

  • To address the challenge of manually designing effective shared architectures in multi-task learning (MTL), which is time-consuming and prone to negative transfer.
  • To overcome the limitations of fixed sharing schemes (e.g., hard, soft, or predefined hierarchical sharing) that do not adapt to complex task relationships.
  • To automatically discover optimal module compositions and stacking orders for diverse NLP tasks using reinforcement learning.
  • To learn a hierarchical structure among tasks—especially in sequence labeling—without relying on human-defined task hierarchies.
  • To develop a scalable, flexible solution for MTL that adapts to new datasets and task combinations without re-engineering the architecture.

Proposed method

  • A controller network uses reinforcement learning to sample and stack modules from a shared pool for each task, forming a task-specific architecture.
  • The controller selects modules sequentially, with actions indicating module indices, and terminates with a 'Stop' signal after building a valid architecture.
  • The policy gradient method optimizes the controller to maximize expected accuracy across all tasks, using a differentiable reward signal based on model performance.
  • A novel simultaneous on-line update strategy accelerates training by updating shared module parameters across all tasks in parallel for each batch.
  • The architecture search is end-to-end differentiable, allowing joint optimization of module selection and task-specific head parameters.
  • Module selection sequences are visualized in high-dimensional space to analyze clustering patterns and hierarchical tendencies.

Experimental results

Research questions

  • RQ1Can a reinforcement learning controller automatically discover effective shared module architectures for multiple NLP tasks without human-designed sharing schemes?
  • RQ2How well can the controller learn a meaningful hierarchical structure among related NLP tasks such as POS tagging, NER, and SRL?
  • RQ3To what extent do similar tasks cluster together in the learned module selection space, indicating effective representation sharing?
  • RQ4Does the proposed method outperform fixed sharing schemes (e.g., hard or soft sharing) in multi-task learning for text classification and sequence labeling?
  • RQ5Can the controller adapt to new datasets and task combinations without re-designing the architecture?

Key findings

  • The model successfully learns a hierarchical structure among sequence labeling tasks, with lower-level tasks (e.g., POS tagging) sharing earlier modules and higher-level tasks (e.g., SRL) using deeper, more specialized modules.
  • Similar tasks, such as those in the same domain (e.g., broadcast news vs. broadcast conversation), cluster closely in the module selection space, indicating effective representation of task similarity.
  • The controller avoids negative transfer by selectively sharing only relevant modules, with unrelated tasks maintaining private modules.
  • The method achieves superior performance on both text classification and sequence labeling benchmarks compared to baseline MTL models with fixed sharing schemes.
  • The simultaneous on-line update strategy significantly accelerates training while maintaining convergence and performance.
  • Visualizations of module selection sequences confirm that the controller implicitly learns a logical, task-relevant hierarchy without human-provided structure.

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.