Abstract
Multi-task learning (MTL) is a cornerstone of modern Natural Language Processing, yet it often relies on rigid, pre-defined architectures. This paper proposes a novel framework that treats tasks as nodes within a graph, enabling dynamic information sharing via message-passing neural networks. By exploring Complete-graph and Star-graph topologies, the authors demonstrate significant improvements in text classification and sequence labeling benchmarks. Furthermore, the framework provides a mechanism for interpreting task relationships, revealing how models adaptively leverage cross-task knowledge.
Introduction
Multi-task learning is based on the premise that related tasks can provide useful inductive biases for one another. Traditionally, researchers have relied on "static" architectures: either a flat structure, where all tasks share a common hidden layer, or a hierarchical structure, where tasks are stacked in a fixed, pre-defined order.
As shown in Figure 1, these traditional approaches assume that task relationships are fixed and universal. However, the authors argue that the usefulness of one task to another often depends on the specific sample being processed. Furthermore, these "black-box" models offer little insight into which tasks are actually aiding each other during the learning process.
Proposed Framework: Graph MTL
The authors propose a Graph Multi-Task Learning framework where each task is represented as a node in a graph. Information is shared between tasks through a message-passing layer that allows task-specific LSTMs to incorporate representations from other tasks. Two specific architectures are introduced:
- Complete-graph (CG-MTL): Every task can send and receive messages directly to and from every other task. An attention mechanism dynamically weights these messages, allowing the model to decide which tasks are most relevant for a given input sequence.
- Star-graph (SG-MTL): Tasks communicate through a central "virtual node" that acts as a shared knowledge repository. Tasks "write" to this central node and use a gating mechanism to "read" the most relevant shared patterns.
Experimental Results
The framework was evaluated across 16 sentiment analysis datasets and three classic sequence tagging benchmarks (CoNLL 2000, CoNLL 2003, and Penn Treebank).
- Text Classification: The CG-MTL model achieved an average error rate of 12.5% across 16 tasks, significantly outperforming the single-task baseline (18.0%) and the previous state-of-the-art (13.9%).
- Transfer Learning: In "leave-one-out" experiments, the Star-graph model's virtual node proved highly effective at capturing transferable knowledge, achieving a 13.1% error rate on unseen tasks.
- Sequence Tagging: On the CoNLL 2003 NER task, the SG-MTL model achieved an F1 score of 91.47, surpassing strong multi-task baselines.
Key Insights and Interpretability
A major advantage of this graph-based approach is its interpretability. By visualizing attention weights, the authors could observe "dynamic relatedness." For example, when processing a sentence in a "Kitchen" task, the model might pull information from a "Toys" task only when encountering specific sentiment-carrying words like "fragile."
While the Complete-graph model offers the most flexibility, it faces scalability challenges as the number of tasks grows ($O(K^2)$ complexity). The Star-graph model offers a more scalable alternative by centralizing shared knowledge, making it particularly suitable for large-scale multi-task environments.
Conclusion
By treating tasks as nodes in a dynamic graph, this research moves MTL away from rigid architectures toward more adaptive, interpretable systems. Future work will explore more diverse graph topologies and the application of this framework to heterogeneous task sets beyond simple classification and tagging.
Summary updated