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

Learning Multi-Task Communication with Message Passing for Sequence Learning

Pengfei Liu, Jie Fu, Yue Dong, Xipeng Qiu, Jackie Chi Kit Cheung

Introduction: Beyond Static Task Relationships

In conventional multi-task learning (MTL), the structural relationship between tasks is typically fixed during the design phase. Common paradigms include flat structures, where all tasks share a single hidden layer, or hierarchical structures, where low-level tasks provide inputs to higher-level ones.

Comparison of MTL structures

The authors identify two primary limitations in these static approaches:

  1. Rigidity: They assume task relationships are invariant. In reality, the relevance of one task to another often depends on the specific context—such as the particular sentence or word being processed.
  2. Lack of Interpretability: These models often function as "black boxes," making it difficult to discern what specific information is being shared between tasks.

Methodology: Graph-Based Communication

To address these issues, the authors propose a framework based on Graph Neural Networks (GNNs) and message passing, treating tasks as nodes in a graph. Two specific architectures are introduced:

DC-MTL and IC-MTL architectures

Direct Communication (DC-MTL)

In DC-MTL, every task can communicate directly with every other task. At each time step, the model computes a dynamic "relatedness score" ($\alpha$) between the target task and its peers. This allows the model to attend to the most relevant peer information contextually.

Indirect Communication (IC-MTL)

To improve scalability, IC-MTL introduces a "virtual node" or global mailbox. Tasks write information to this shared space, and other tasks read from it using a selective attention mechanism ($\beta$). This centralized approach scales linearly with the number of tasks, avoiding the quadratic complexity of direct communication.

Both architectures utilize a gating unit to control the integration of received messages, ensuring that only non-redundant, useful information is incorporated into task-specific representations.

Key Results and Insights

The models were evaluated across 16 text classification tasks and several sequence labeling benchmarks (NER, Chunking, POS tagging).

  • Performance Gains: DC-MTL achieved an average error rate of 12.5% in classification, significantly outperforming the single-task baseline of 18.0%. In sequence labeling, IC-MTL reached a 91.47 F1 score on CoNLL 2003 NER.
  • Dynamic Relatedness: A key insight is that task relationships are sample-dependent. For example, a model processing a "Kitchen" review may find the "Electronics" task highly relevant when encountering shared sentiment indicators like the word "easily."
  • Transferability: The IC-MTL model's shared mailbox acts as a "linguistic library." In "leave-one-task-out" experiments, transferring this learned mailbox to a new task reduced error rates by 4.9%, proving the robustness of the learned communication patterns.

Limitations and Future Work

While effective, DC-MTL faces scalability challenges for very large task sets. Additionally, the current implementation is tailored to LSTM-based models. Future work could explore extending these graph-based communication mechanisms to Transformer architectures and more diverse, multi-modal task sets.

Summary updated

BibTeX
@inproceedings{liu2019learning,
  author = {Pengfei Liu and Jie Fu and Yue Dong and Xipeng Qiu and Jackie Chi Kit Cheung},
  title = {{Learning Multi-Task Communication with Message Passing for Sequence Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33014360},
}
Figure