TL;DR
MetaLink is a novel framework that treats multi-task learning as a link-prediction problem on a knowledge graph. By connecting data points and tasks as nodes, the model can leverage a data point's known labels from auxiliary tasks at inference time to significantly boost prediction accuracy on a target task, achieving up to a 27% improvement in ROC AUC.
Introduction: The Relational Multi-Task Learning Problem
Standard multi-task learning (MTL) operates under a restrictive assumption: at inference time, the model only sees the raw data point and must predict labels for all tasks simultaneously without any cross-task label information. However, in many real-world scenarios—especially in drug discovery or medical diagnosis—we might already know the results of a few "auxiliary" tests for a specific sample.
Existing deep learning architectures aren't built to ingest these sparse, auxiliary labels "on the fly" to improve a target prediction. Furthermore, standard models struggle to generalize to entirely new tasks (meta-learning) while simultaneously utilizing these relational dependencies. To address this gap, the authors introduce Relational Multi-Task Learning, a paradigm designed to leverage auxiliary task labels during inference.
Methods: The MetaLink Framework
To solve the relational multi-task learning problem, the authors introduce MetaLink, which reformulates multi-task learning using a heterogeneous knowledge graph (KG).
- Graph Construction: The KG consists of two types of nodes:
- Data Nodes: Features are embeddings ($z$) generated by a standard neural network backbone (feature extractor).
- Task Nodes: Features are initialized using the weights ($w$) of the final classification layer for each task.
- Edges as Labels: An edge exists between a data node and a task node if a label is known. The edge feature is the actual label (e.g., 0 or 1).
- The GNN Engine: MetaLink uses a modified GraphSAGE architecture to propagate information. It employs different message-passing functions for data-to-task versus task-to-data transfers and incorporates the edge labels directly into the message computation.
- Link-Label Prediction: Predicting a label for a new task becomes a matter of predicting the property of a potential link between a data node and a task node.
This setup allows the model to handle four distinct scenarios:
- Standard Supervised: Predicting unknown labels for seen tasks.
- Relational: Using auxiliary labels to predict unknown labels for seen tasks.
- Meta: Predicting labels for entirely unseen tasks.
- Relational Meta: Using auxiliary labels to predict labels for unseen tasks.
Datasets
The framework was evaluated across diverse domains:
- Biochemical (Molecular Property Prediction): Tox21 (12 tasks), Sider (27 tasks), and ToxCast (617 tasks).
- Computer Vision (Multi-label Classification): MS-COCO (80 object detection tasks converted to binary classification).
- Few-Shot Learning: mini-ImageNet and tiered-ImageNet to test the model's ability to generalize to new classes with limited data.
Key Insights and Results
- Symmetry of Weights and Embeddings: A traditional prediction is a dot product between an embedding ($z$) and a weight ($w$). MetaLink's core insight is realizing that $z$ and $w$ play symmetric roles and can therefore be treated as equivalent nodes in a graph.
- Harnessing Task Correlations: The model doesn't just learn features; it learns the relationships between tasks. If Task A and Task B are highly correlated, knowing a sample is positive for A provides a strong signal for B through the graph's message passing.
- Inductive Initialization: For "meta" tasks (unseen during training), task nodes are initialized with a constant vector. The GNN then uses the relational structure to "fill in the blanks," allowing the model to generalize to new tasks without retraining the entire backbone.
- Massive Gains in Relational Settings: On the Sider dataset, MetaLink improved ROC AUC by 27% compared to standard methods when auxiliary labels were available.
- Outperforming SOTA: MetaLink outperformed GROVER, a massive state-of-the-art pre-trained model for molecular graphs, by a large margin in the relational setting.
- Few-Shot Success: On mini-ImageNet, MetaLink outperformed standard meta-learning baselines like Meta-Baseline, demonstrating that the KG structure provides a superior inductive bias even for standard image classification.
- Correlation Sensitivity: Ablation studies showed that the performance boost is directly tied to task correlation; the more related the auxiliary tasks are to the target, the higher the accuracy gain.
Limitations and Future Work
- Dependency on Correlation: The authors acknowledge that MetaLink is less effective when tasks are entirely uncorrelated, as there is no meaningful information to propagate through the graph.
- Data Availability: The study was limited to multi-label datasets where some labels could be withheld to simulate auxiliary knowledge. Real-world performance depends on the availability of these auxiliary labels at test time.
- Complexity: While powerful, building and running a GNN on top of a feature extractor adds computational overhead compared to a simple MLP head.
- Future Directions: The authors suggest extending MetaLink to model more complex data-data or task-task relationships (e.g., task hierarchies) explicitly within the graph.
Summary updated