Galaxy Network Embedding: A Hierarchical Community Structure Preserving Approach

Lun Du, Zhicong Lu, Yun Wang, Guojie Song, Yiming Wang, Wei Chen

Introduction

Graph representation learning, or network embedding, is a fundamental task in modern machine learning, mapping nodes into low-dimensional vectors for downstream processing. While established methods like DeepWalk and node2vec excel at capturing local neighborhoods, they often overlook the multi-layered, hierarchical nature of real-world communities. For instance, a social network naturally organizes into universities, then departments, and finally graduation years.

Existing attempts to capture this hierarchy often rely on hyperbolic space, which is mathematically elegant but incompatible with standard Euclidean-based machine learning algorithms. This paper introduces Galaxy Network Embedding (GNE), a novel approach that preserves hierarchical community structures within standard Euclidean space by drawing inspiration from celestial systems.

Overview of the Galaxy Network Embedding approach, showing the transition from tree and network structures to a spherical galaxy model.

The Galaxy Network Embedding (GNE) Framework

GNE models a network's hierarchy using a metaphor of stars, planets, and moons. It takes a network and its corresponding hierarchical clustering tree as inputs, embedding communities top-down using specific geometric constraints:

  1. Spherical Embedding: Sibling nodes (sub-communities sharing a parent) are embedded on the surface of a sphere. The center of this sphere is defined by the vector representation of their parent community.
  2. Shrinking Radii: To ensure that lower-level communities are more cohesive than higher-level ones, the radius of the embedding spheres strictly decreases as one moves deeper into the hierarchy. This mathematical constraint guarantees that siblings remain closer to each other than to more distant "cousin" nodes.
The embedding process mapping a hierarchical tree structure into nested spherical representations.

Optimization Strategy

Directly optimizing neural embeddings under strict spherical constraints is computationally intensive. GNE addresses this through a decoupled two-step optimization process at each layer:

  • Unconstrained Proximity Learning: An extension of the LINE algorithm is optimized via Adam to capture pairwise node proximity without geometric restrictions.
  • Spherical Projection: These intermediate vectors are then mapped onto the parent's sphere. This step maximizes the distance between projected points to preserve relative structural differences while satisfying the hierarchical geometry.

Experimental Evaluation

The authors evaluated GNE against six baselines, including DeepWalk, Node2Vec, and MNMF, using both synthetic and real-world datasets:

  • Synthetic Data: Hierarchical Random Graphs (HRG) with explicit structures ranging from 125 to 3,750 nodes.
  • Real-world Data: Facebook university social networks (Hamilton, Amherst, Georgetown).

Key Results

  • Community Preservation: On synthetic HRG datasets, GNE achieved a Jaccard coefficient of ~1.0, perfectly preserving community structures across all layers, whereas competing methods like MNMF failed on deeper levels.
  • Vertex Classification: GNE consistently outperformed baselines. On the Amherst dataset with only 10% training data, GNE reached 93.57% accuracy, surpassing the next best baseline (GraRep) at 92.13%.
  • Visualization: t-SNE visualizations showed that GNE produces highly modular, distinct hierarchical clusters, while standard methods often resulted in tangled, overlapping representations.

Discussion and Limitations

GNE demonstrates that Euclidean space can effectively represent hierarchical trees if constrained correctly, allowing the resulting embeddings to be used with standard classifiers like Logistic Regression. By decoupling proximity learning from geometric projection, the method remains computationally efficient.

A primary limitation is that GNE requires a pre-computed hierarchical clustering tree as input. It focuses on embedding a known hierarchy rather than discovering one from raw graph data. Future research may explore joint learning frameworks that simultaneously extract the hierarchy and its embedding.

Summary updated

BibTeX
@inproceedings{du2018galaxy,
  author = {Lun Du and Zhicong Lu and Yun Wang and Guojie Song and Yiming Wang and Wei Chen},
  title = {{Galaxy Network Embedding: A Hierarchical Community Structure Preserving Approach}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/287},
}
Figure