NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multilayer Graph Clustering with Optimized Node Embedding

Mireille El Gheche, Pascal FrossardarXiv 2021

Abstract

We are interested in multilayer graph clustering, which aims at dividing the graph nodes into categories or communities. To do so, we propose to learn a clustering-friendly embedding of the graph nodes by solving an optimization problem that involves a fidelity term to the layers of a given multilayer graph, and a regularization on the (single-layer) graph induced by the embedding. The fidelity term uses the contrastive loss to properly aggregate the observed layers into a representative embedding. The regularization pushes for a sparse and community-aware graph, and it is based on a measure of graph sparsification called "effective resistance", coupled with a penalization of the first few eigenvalues of the representative graph Laplacian matrix to favor the formation of communities. The proposed optimization problem is nonconvex but fully differentiable, and thus can be solved via the descent gradient method. Experiments show that our method leads to a significant improvement w.r.t. state-of-the-art multilayer graph clustering algorithms.

Introduction

In many real-world scenarios, relationships between entities are best described by multilayer graphs. For example, in a social network, one layer might represent geographic proximity, another represents shared interests, and a third represents direct messages.

The challenge lies in clustering: how do we group nodes into communities when the "truth" is spread across multiple, potentially noisy layers? Traditional methods often rely on simple linear combinations (averaging) of layers, which can wash out subtle structures unique to specific layers. More advanced methods treat layers as points on complex mathematical manifolds, but these are often computationally difficult to solve. This paper seeks a way to integrate these multiple views into a low-dimensional embedding that is specifically optimized for discovery via simple algorithms like K-means.

Methodology

The proposed framework learns an embedding matrix $Z$ by solving a single, fully differentiable optimization problem that balances three main components:

  1. Contrastive Loss (Data Fidelity): Instead of simply averaging adjacency matrices, the method uses a contrastive loss function. This pulls nodes that are "neighbors" in any given layer closer together in the embedding space while pushing non-neighbors apart. This effectively "distills" the most important connectivity information from all layers into the embedding.
  2. Effective Resistance Regularization: To ensure the resulting representative graph is not overly dense, the authors apply a penalty based on "effective resistance" (a concept from electrical circuit theory). This encourages graph sparsification, keeping only the most essential edges that define the network's topology and focusing on global connectivity rather than local edge counts.
  3. K-Component Penalization: To explicitly favor the formation of $K$ clusters, the authors penalize the first $K$ eigenvalues of the graph Laplacian induced by the embedding. According to spectral graph theory, a graph with $K$ perfectly disconnected components has $K$ zero eigenvalues; by minimizing these, the algorithm coaxes the embedding to form distinct communities.

By formulating these constraints into a single differentiable cost function, the authors bypass complex, multi-stage manifold optimization, allowing for efficient solution via standard gradient descent.

Experimental Evaluation

The researchers evaluated their approach on three distinct datasets:

  • Synthetic Dataset: A 3-layer graph with 50 nodes and 5 ground-truth clusters generated from Gaussian mixture models.
  • Newsgroup (NGs) Dataset: A subset of the 20 Newsgroup dataset consisting of 500 documents. The three layers are derived from different text segments, with nodes partitioned across 5 different topics.
  • BBC Sport Dataset: 544 documents from the BBC Sport website categorized into five sports, modeled as a 2-layer graph based on text segments.

Results and Discussion

The proposed method consistently outperformed state-of-the-art baselines—including Arithmetic Mean, Geometric Mean, and Projection Mean aggregation—across several metrics: Accuracy, Purity, Normalized Mutual Information (NMI), and Adjusted Rand Index (RI).

On Synthetic Data, the improvement was dramatic, with the proposed method achieving an Accuracy of 0.82, compared to 0.54 for the next best "Clustered Multilayer" approach. On the Newsgroup dataset, the method achieved 0.92 Accuracy, significantly beating the Clustered Multilayer baseline (0.62).

Visual comparison of clustering results on a synthetic multilayer graph. (a) Input layers. (b-e) Baseline methods. (f) Proposed approach.

Qualitative results, as seen in the figure above, demonstrate that while other methods produce "blurry" representative graphs where clusters overlap, the proposed method produces a highly structured graph with clearly defined, separated communities. This confirms that regularizing the graph structure implied by the embeddings, rather than just the embedding vectors themselves, maintains superior structural coherence.

Conclusion and Future Work

While the proposed method shows significant improvement over existing techniques, it faces challenges regarding hyperparameter tuning, as regularization weights currently require manual adjustment. Additionally, the calculation of eigenvalues and the pseudoinverse of the Laplacian may limit scalability for extremely large graphs (millions of nodes).

Future work may involve extending this framework to incorporate deep learning architectures to learn even more complex node features and exploring automated methods for parameter selection.

Summary updated

BibTeX
@misc{gheche2021multilayer,
  author = {Mireille El Gheche and Pascal Frossard},
  title = {{Multilayer Graph Clustering with Optimized Node Embedding}},
  year = {2021},
  eprint = {2103.16534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.16534},
}
Figure