SepNE: Bringing Separability to Network Embedding

Ziyao Li, Liang Zhang, Guojie Song

Abstract

Network Embedding (NE) has become a cornerstone of graph analysis, yet traditional methods suffer from an "all-or-nothing" constraint: to embed a single node, the entire graph must be processed. This paper introduces SepNE (SEParated Network Embedding), a novel framework that breaks this global dependency. By utilizing a small set of landmark nodes as a shared reference frame, SepNE allows for independent embedding of network subsets. Our evaluation shows that SepNE achieves state-of-the-art accuracy while providing significant speedups—up to orders of magnitude faster on large-scale social networks—and demonstrating linear scalability.

Introduction

The proliferation of massive networks, such as social media platforms with billions of users, has pushed traditional Network Embedding algorithms to their limits. Methods like DeepWalk and LINE are inherently "inseparable," meaning their optimization processes require global information. This leads to two major inefficiencies: first, the computational cost scales poorly with network size; second, it is impossible to generate embeddings for a specific subset of "interesting" nodes without embedding the entire graph. SepNE addresses these challenges by introducing a separable approach based on Separated Matrix Factorization (SMF).

Methodology: The Separable Framework

The core innovation of SepNE is its ability to decouple the embedding process into independent sub-tasks. This is achieved through a four-stage process:

  1. Landmark Selection: The algorithm identifies a small set of "landmark" nodes—typically high-degree or highly central nodes—that serve as global anchors. These landmarks are embedded first into a shared linear space using standard Singular Value Decomposition (SVD).
  2. Network Partitioning: The remaining nodes are divided into subsets. These can be defined by community structure, random assignment, or simply by identifying specific nodes of interest (the "Interested Only" or SepNE-IO approach).
  3. Independent Embedding: Each subset is embedded independently using the landmarks as a fixed reference. This ensures that even though subsets are processed separately, their resulting vectors are aligned in the same coordinate system.
  4. Optimization: The objective function for each subset balances local proximities, landmark proximities, and an approximation of global structure, solved efficiently via iterative methods and Cholesky decomposition.
Comparison of traditional inseparable methods vs. the separable SepNE framework.

As shown in Figure 1, while traditional methods process all nodes through a single "Inseparable Process," SepNE divides the workload into independent sections, allowing for parallelization and targeted embedding without constant inter-process communication.

Experimental Evaluation

We evaluated SepNE against popular baselines like DeepWalk and LINE across various datasets, including small document networks (Wiki, Cora) and large social networks (Flickr, YouTube).

Speed and Scalability

One of the most striking results is SepNE's efficiency. On the Flickr network (1.7M nodes), the SepNE-IO variant—focusing only on the largest communities—completed in just 6.2 minutes. In contrast, LINE required 138 minutes, and DeepWalk exceeded 24 hours.

Scalability analysis of SepNE variants showing linear time complexity relative to the number of edges.

Figure 2 illustrates the scalability of SepNE. The running time grows linearly with the number of edges, a critical property for processing web-scale graphs. Furthermore, the breakdown in Figure 2(b) and (c) shows that while preparation time (landmark selection and partitioning) scales linearly, the actual optimization time remains remarkably low and stable regardless of network size.

Accuracy

Despite its focus on efficiency, SepNE does not sacrifice performance. In multi-class classification tasks on Wiki and Cora, SepNE outperformed DeepWalk in the majority of test cases. On the Flickr dataset, SepNE-LP (using community partitioning) showed superior performance in link prediction, particularly when training data was sparse. However, the authors noted that on extremely sparse networks like YouTube, the matrix-based proximity of SepNE can be slightly less effective than the long-range random walks used by DeepWalk.

Conclusion

SepNE represents a paradigm shift in network embedding by moving from global, inseparable processes to a flexible, separable framework. By leveraging landmark nodes as a "North Star," it enables researchers to focus computational resources on specific areas of interest without losing global context. Its linear scalability and massive speed advantages make it a powerful tool for modern large-scale graph analysis. Future work will explore extending the SMF framework to heterogeneous networks and attributed graphs.

Summary updated

BibTeX
@inproceedings{li2019sepne,
  author = {Ziyao Li and Liang Zhang and Guojie Song},
  title = {{SepNE: Bringing Separability to Network Embedding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33014261},
}
Figure