Abstract
Social Network Representation Learning (NRL) typically focuses on topological structure, often overlooking the rich semantic information embedded in edges. We present TransNet, a novel framework that treats social interactions as translations in a vector space. By integrating a deep autoencoder to model complex, multi-label edge semantics, TransNet effectively addresses the Social Relation Extraction (SRE) task. Experimental results on large-scale academic networks demonstrate that TransNet significantly outperforms state-of-the-art NRL and Knowledge Graph models.
Introduction
Traditional Network Representation Learning (NRL) models, such as DeepWalk and node2vec, excel at capturing network topology by embedding nodes into low-dimensional vector spaces. However, these methods generally treat edges as binary indicators of connectivity, ignoring the diverse semantic meanings they carry. In real-world social networks, an edge often represents a multi-faceted relationship—for example, two researchers may collaborate on multiple distinct topics like "machine learning" and "optimization."
This paper introduces the task of Social Relation Extraction (SRE), which aims to identify these latent, multi-label relationships. To solve this, we propose TransNet, a model that bridges the gap between structural network analysis and semantic knowledge representation.
Methodology
TransNet's architecture is built upon two primary components: a translation mechanism for node embeddings and a deep autoencoder for edge semantics.
1. Translation Mechanism
Inspired by Knowledge Representation models like TransE, TransNet posits that if a relationship $l$ exists between node $u$ and node $v$, their embeddings should satisfy the geometric relationship $\mathbf{u} + \mathbf{l} \approx \mathbf{v}$. To capture directional nuances, each node is represented by two vectors: one for its role as a "head" (source) and another for its role as a "tail" (target).
2. Edge Autoencoder
The core innovation of TransNet is the use of a deep autoencoder to handle multi-label edge semantics. Since social relations are often sparse and multi-labeled, a standard one-hot encoding is insufficient.
- Encoder: Maps a sparse binary label vector into a dense, low-dimensional latent space, producing the relation vector $\mathbf{l}$.
- Decoder: Reconstructs the original label vector from the latent representation.
- Loss Function: A weighted loss function is employed to address the extreme sparsity of labels, ensuring the model focuses on the few present labels among hundreds of possibilities.
For prediction on unseen edges, the model computes the difference $\mathbf{l} = \mathbf{v} - \mathbf{u}$ and passes it through the pre-trained decoder to identify the most likely relationship labels.
Experimental Setup
The model was evaluated on three datasets derived from ArnetMiner, an academic co-author network. Labels were extracted from author profiles and paper abstracts to represent research interests.
- Arnet-S: 188k vertices, 100 labels.
- Arnet-M: 268k vertices, 500 labels.
- Arnet-L: 945k vertices, 500 labels. Notably, over 40% of edges in these datasets are multi-labeled, presenting a significant challenge compared to standard benchmarks.
Results and Discussion
TransNet was compared against traditional NRL baselines (DeepWalk, LINE, node2vec) and the Knowledge Graph model TransE.
As shown in the experimental results, TransNet consistently outperforms all baselines. On the hits@1 metric, TransNet achieves a 10% to 20% improvement over the best-performing baseline. While traditional NRL models struggle as the label space grows, TransNet maintains stable performance due to its robust autoencoder-based representation.
Qualitative analysis further reveals that TransNet captures highly specific neighbor-dependent relations. For instance, it can distinguish between a general "wireless network" connection and a specific "routing protocol" collaboration, whereas simpler models tend to default to high-frequency, generic labels.
Conclusion
TransNet represents a significant step forward in Social Relation Extraction by explicitly modeling edge semantics within a translation-based framework. By treating relations as decodable latent variables, it provides a flexible and scalable solution for multi-label social networks. Future work will explore extensions to heterogeneous networks and the integration of raw interactive text to further enrich the learned representations.
Summary updated