Skip to main content
QUICK REVIEW

[Paper Review] Deep Multi-Task Learning with Shared Memory

Pengfei Liu, Xipeng Qiu|arXiv (Cornell University)|Sep 23, 2016
Topic ModelingComputer Science32 references34 citations
TL;DR

This paper proposes two deep multi-task learning architectures that enhance performance by sharing an external memory across related text classification tasks. By integrating a fusion gate to selectively combine task-specific LSTM outputs with shared memory representations, the model improves generalization, especially on low-resource tasks, with significant accuracy gains on sentiment and text classification benchmarks.

ABSTRACT

Neural network based models have achieved impressive results on various specific tasks. However, in previous works, most models are learned separately based on single-task supervised objectives, which often suffer from insufficient training data. In this paper, we propose two deep architectures which can be trained jointly on multiple related tasks. More specifically, we augment neural model with an external memory, which is shared by several tasks. Experiments on two groups of text classification tasks show that our proposed architectures can improve the performance of a task with the help of other related tasks.

Motivation & Objective

  • Address the challenge of insufficient training data in neural network models for NLP tasks.
  • Improve model generalization by jointly learning multiple related text classification tasks.
  • Enable knowledge transfer across tasks through an external, shared memory mechanism.
  • Design a flexible, loosely-coupled multi-task framework that avoids conflating task-specific and shared representations.
  • Provide interpretability into how shared memory influences specific task predictions via fusion gate analysis.

Proposed method

  • Augment task-specific LSTMs with an external, shared memory to store long-term knowledge across multiple tasks.
  • Introduce a deep fusion mechanism where a learnable fusion gate controls information flow from shared memory to task-specific LSTM hidden states.
  • Use a differentiable reading and writing mechanism to access and update the shared memory based on task inputs.
  • Train the entire architecture end-to-end using a joint multi-task objective function across all tasks.
  • Apply bidirectional LSTMs to improve sequence modeling and enable better visualization of attention dynamics.
  • Utilize a fusion gate that learns to modulate memory contributions, enabling selective and adaptive use of shared knowledge.

Experimental results

Research questions

  • RQ1Can shared external memory improve performance in multi-task text classification when training data is limited?
  • RQ2How does the fusion gate mechanism control the integration of shared memory information into task-specific representations?
  • RQ3To what extent does knowledge from related tasks transfer to improve performance on low-resource tasks?
  • RQ4Can the model learn to selectively utilize shared memory based on input content and task context?
  • RQ5How does the shared memory mechanism enhance model interpretability and understanding of implicit linguistic patterns?

Key findings

  • The proposed models achieve significant performance improvements on both sentiment classification and text classification tasks compared to single-task and standard multi-task baselines.
  • On the SST-2 dataset, the ARC-I model outperforms vanilla LSTM and standard multi-task models, demonstrating better generalization on low-resource examples.
  • Case studies show that the fusion gate activates strongly at informative words like 'cookie-cutter' and 'cut-and-paste', indicating effective use of shared memory for sentiment prediction.
  • The model correctly identifies implicit sentiment in complex sentences such as 'If you were not nearly moved...', which standard LSTMs fail to capture.
  • Visualization of fusion gate activations reveals that shared memory helps the model learn syntactic patterns and implicit negation, improving reasoning over sentence structure.
  • The fusion gate mechanism provides interpretability, showing when and how shared knowledge is accessed during prediction.

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.