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

SC-LSTM: Learning Task-Specific Representations in Multi-Task Learning for Sequence Labeling

Peng Lu, Ting Bai, Philippe LanglaisNAACL 2019

Abstract: Peng Lu, Ting Bai, Philippe Langlais. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. This paper introduces the Shared-Cell Long Short-Term Memory (SC-LSTM) architecture, designed to improve multi-task learning (MTL) for sequence labeling. By incorporating task-specific gates within a shared LSTM cell, the model effectively learns both universal linguistic patterns and task-specific nuances, mitigating optimization conflicts common in traditional MTL.

Introduction

In Natural Language Processing (NLP), sequence labeling tasks such as Named Entity Recognition (NER), Text Chunking, and Part-of-Speech (POS) tagging are inherently related. For instance, identifying a word's POS can significantly aid in determining if it belongs to a named entity. Multi-task learning (MTL) aims to exploit these relationships by training a single model on multiple tasks simultaneously, theoretically allowing tasks to benefit from shared knowledge.

However, traditional MTL approaches often encounter "optimization conflicts." When Task A requires one set of features and Task B requires another, a single shared encoder may fail to satisfy both, potentially leading to performance that is worse than training the models separately. Existing solutions typically involve either sharing the entire architecture (risking interference) or stacking tasks in a rigid hierarchy. The authors propose SC-LSTM to learn shared and task-specific information efficiently without these architectural constraints.

Methodology: The SC-LSTM Cell

The core innovation of this research is the SC-LSTM cell. Unlike standard LSTMs that use a single set of gates for all outputs, the SC-LSTM architecture introduces a hybrid gating mechanism.

The internal architecture of the SC-LSTM cell, highlighting the shared core and the task-specific output gates ($o_t^k$) that produce task-specific hidden states ($q_t^k$).

Shared Core and Task-Specific Gates

The cell maintains a standard LSTM "shared core" that processes input and maintains a memory state ($c_t$) accessible to all tasks. On top of this shared memory, the authors add a task-specific output gate ($o_t^k$) for each task $k$. This gate learns to "filter" the shared memory to extract information relevant only to that specific task, producing a task-specific hidden state ($q_t^k$).

Hybrid Representation

The final representation for a given task is a concatenation of the global shared hidden state ($h_t$) and the task-specific hidden state ($q_t^k$). This allows the model to maintain a "best of both worlds" representation: shared features that capture universal linguistic patterns and task-specific features that capture the nuances of individual tasks. The model is trained using a stochastic procedure that samples tasks and updates parameters via a weighted linear combination of task-specific losses.

Experimental Results

The model was evaluated on three classic sequence labeling benchmarks: CoNLL 2003 (NER), CoNLL 2000 (Text Chunking), and Universal Dependency (UD) English POS v1.3. The authors also tested a high-performance variant, SC-LSTM-LM-CNN, which incorporates character-level CNNs, Conditional Random Fields (CRF), and ELMo contextual embeddings.

Performance comparison (F1/Accuracy vs. Epoch) showing that SC-LSTM (red) achieves faster convergence and higher final performance across various task combinations compared to standard MTL baselines.

Key Findings

  • State-of-the-Art Performance: The SC-LSTM-LM-CNN variant achieved an F1-score of 97.40 in Text Chunking and an accuracy of 96.83% in POS Tagging, setting new state-of-the-art (SOTA) records at the time of publication. Its NER performance (92.60 F1) was also highly competitive.
  • Mitigating Interference: Empirical analysis showed that SC-LSTM converges faster and follows a smoother performance curve than standard shared-encoder models. While POS tagging can sometimes "harm" NER in traditional MTL setups, the SC-LSTM architecture successfully mitigated this interference.
  • Simultaneous Improvement: Crucially, SC-LSTM was the only model in the experiments that improved performance on all three tasks simultaneously compared to single-task baselines.

Conclusion and Future Work

SC-LSTM provides a robust framework for multi-task sequence labeling by allowing each task to selectively "look" at shared memory. This reduces the "tug-of-war" between tasks during training and removes the need for manual task ordering in hierarchical models. Future research directions include scaling the architecture to handle dozens of tasks simultaneously and integrating the SC-LSTM gating mechanism into Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{lu2019sc,
  author = {Peng Lu and Ting Bai and Philippe Langlais},
  title = {{SC-LSTM: Learning Task-Specific Representations in Multi-Task Learning for Sequence Labeling}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=X0qJk4i3QUC},
}
Figure