Abstract
Multi-task learning (MTL) improves prediction performance in different contexts by learning models jointly on multiple different, but related tasks. Network data, which are a priori data with a rich relational structure, provide an important context for applying MTL. In particular, the explicit relational structure implies that network data is not i.i.d. data. Network data also often comes with significant metadata (i.e., attributes) associated with each entity (node). Moreover, due to the diversity and variation in network data (e.g., multi-relational links or multi-category entities), various tasks can be performed and often a rich correlation exists between them. Learning algorithms should exploit all of these additional sources of information for better performance. In this work we take a metric-learning point of view for the MTL problem in the network context. Our approach builds on structure preserving metric learning (SPML). In particular SPML learns a Mahalanobis distance metric for node attributes using network structure as supervision, so that the learned distance function encodes the structure and can be used to predict link patterns from attributes. SPML is described for single-task learning on single network. Herein, we propose a multi-task version of SPML, abbreviated as MT-SPML, which is able to learn across multiple related tasks on multiple networks via shared intermediate parametrization. MT-SPML learns a specific metric for each task and a common metric for all tasks. The task correlation is carried through the common metric and the individual metrics encode task specific information. When combined together, they are structure-preserving with respect to individual tasks. MT-SPML works on general networks, thus is suitable for a wide variety of problems. In experiments, we challenge MT-SPML on two real-word problems, where MT-SPML achieves significant improvement.
Introduction
In network analysis, a primary objective is link prediction: determining whether two nodes, such as individuals in a social network or documents in a citation index, should be connected based on their attributes. Traditional approaches typically rely on Single-Task Learning (STL), which treats networks as isolated silos, or Data Pooling, which ignores the unique characteristics of individual domains. Furthermore, standard multi-task learning (MTL) often assumes data is independent and identically distributed (i.i.d.), an assumption that fails for network data where relationships provide a rich, non-random structure.
To address these challenges, we introduce Multi-Task Structure Preserving Metric Learning (MT-SPML). This framework leverages the power of MTL for network data by learning how to measure the "distance" between nodes across multiple related tasks, using a shared global metric combined with task-specific adjustments.
The MT-SPML Framework
MT-SPML builds on the concept of Mahalanobis distance metrics to measure similarity while accounting for feature correlations. The core innovations include:
- Structure as Supervision: Instead of external labels, the algorithm utilizes existing network links. It enforces a margin where connected nodes are closer in the feature space than disconnected nodes.
- Shared Parametrization: The model learns a metric $M$ for each task $q$ by decomposing it into two components: $M = M_0 + M_q$. Here, $M_0$ is a common metric capturing shared knowledge across all tasks, while $M_q$ is a task-specific metric capturing the nuances of a particular network.
- Efficient Optimization: Using a stochastic subgradient descent algorithm, the model samples node triplets (node, neighbor, non-neighbor) and iteratively updates metrics. This approach ensures scalability even with large feature sets.
Experimental Evaluation
We evaluated MT-SPML on two real-world scenarios:
- Wikipedia Citation Prediction: Three networks based on subject areas (Search Engines, Graph Theory, and Philosophy), where the goal was to predict citations based on bag-of-words text content.
- Google+ Social Circles: Ego-networks where the goal was to predict a friend's social circle (e.g., family, coworkers) based on profile metadata.
Key Results
MT-SPML consistently outperformed various baselines, including Support Vector Machines (SVMs) and single-task variants. As shown in the Wikipedia experiments, the multi-task approach is particularly effective when training data is sparse.
In the Google+ experiments, MT-SPML demonstrated a significant performance "lift" as more related social circles were added to the joint training process. This confirms the model's ability to successfully capture and leverage task correlations.
Insights and Future Work
A key insight from our study is that MT-SPML respects the boundaries of dissimilar tasks. While simple data pooling can hurt performance when tasks are unrelated, MT-SPML remains robust by isolating task-specific traits in its $M_q$ component. This allows for effective knowledge transfer in sparse data environments by "borrowing" structural logic from related networks via $M_0$.
Future work will explore low-rank approximations for full matrices to better capture feature interactions in high-dimensional data. Additionally, extending MT-SPML to handle dynamic, evolving networks and improving scalability for web-scale graphs remain important open challenges.
Summary updated