Robust Graph Dictionary Learning

Weijie Liu, Jiahao Xie, Chao Zhang, Makoto Yamada, Nenggan Zheng, Hui QianICLR 2023

TL;DR

This paper introduces Robust Graph Dictionary Learning (RGDL), a framework designed to learn representative "atoms" (basis elements) from a collection of graphs, even when those graphs are riddled with structural noise like missing or spurious edges. By proposing a novel Robust Gromov–Wasserstein Discrepancy (RGWD) based on a minimax formulation, the authors provide a way to compare graphs that is theoretically sound, computationally efficient, and significantly more resilient to noise than previous state-of-the-art methods.

What Problem Does This Paper Address?

Dictionary Learning (DL) is a staple in signal processing and machine learning, used to represent complex data as sparse linear combinations of simple "atoms." Think of it as finding the fundamental building blocks of a dataset. While well-established for vectors (like images or audio snippets), extending DL to graphs is notoriously difficult.

Graphs often have different numbers of nodes, and we rarely know which node in Graph A corresponds to which node in Graph B. Previous attempts, like the Gromov–Wasserstein Discrepancy (GWD), solved the alignment problem but stumbled over structural noise. In the real world, graph data is messy—protein networks have missing links, and social networks have "fake" connections. Standard GWD is highly sensitive to these inaccuracies, leading to poor dictionary atoms and unreliable embeddings.

Methods

The authors' core contribution is a "robustified" version of the Gromov–Wasserstein distance.

  1. Robust Gromov–Wasserstein Discrepancy (RGWD): Instead of a simple minimization problem, the authors frame RGWD as a minimax game. It seeks a transport plan (node mapping) that minimizes the discrepancy even under the worst-case perturbation of the graph's structure within a bounded set.
  2. Closed-Form Inner Solution: A major hurdle in minimax problems is computational cost. The authors prove that the "inner maximization" (finding the worst-case noise) actually has a simple closed-form solution. This allows them to develop an efficient numerical scheme using Projected Gradient Descent.
  3. RGDL Algorithm: They integrate RGWD into a dictionary learning pipeline. The algorithm alternates between two steps:
  4. Sparse Coding: Finding the best embedding (weights) for a given graph relative to the current dictionary.
  5. Dictionary Update: Refining the "atoms" (the basis graphs) using stochastic gradient descent to better represent the dataset.

Datasets

The researchers evaluated their approach on both controlled synthetic data and messy real-world benchmarks:

  • Simulated Datasets: They used the Stochastic Block Model (SBM) to generate graphs with known community structures, then intentionally injected noise (Gaussian noise on edge weights or random edge additions/deletions).
  • Real-World Clustering: Benchmarks included MUTAG (bioinformatics), BZR (ligands), and Peking_1 (brain networks).
  • Graph Classification: They tested on IMDB-B and IMDB-M (social networks) to see if the learned embeddings could accurately categorize graphs.

Key Insights and Ideas

  • The Power of Minimax: By explicitly accounting for "perturbations" during the distance calculation, the model learns to ignore structural outliers. It essentially asks, "What is the best way to align these graphs if an adversary is trying to mess up the edges?"
  • Theoretical "Nice-to-Haves": Unlike many robust heuristics, RGWD satisfies the triangle inequality and is invariant to node reordering. This makes it a reliable metric for downstream tasks like K-means clustering.
  • Efficiency Matters: Despite the added complexity of robustness, the authors' numerical scheme achieves a $\delta$-stationary solution with a convergence rate of $O(1/\delta^2)$, making it practical for research-scale datasets.

Key Results

  • Resilience to Noise: On synthetic datasets with high noise levels ($\sigma=0.15$), standard GDL's performance (measured by Adjusted Rand Index or ARI) plummeted to near zero. In contrast, RGDL maintained high ARI scores (often above 0.8 or 0.9), demonstrating its superior robustness.
Table showing clustering performance (ARI) under varying noise levels
  • Superior Clustering: On real-world datasets like MUTAG and BZR, RGDL consistently achieved higher ARI scores over time compared to standard GDL and Gromov-Wasserstein Factorization (GWF).
ARI over time for RGDL compared to baseline methods
  • State-of-the-Art Classification: In classification tasks, RGDL outperformed or matched specialized graph neural network methods (like GNTK) and previous dictionary methods, particularly on the IMDB datasets where structural noise is common.

Limitations and Future Work

While RGDL is a significant step forward, the authors and the nature of the algorithm suggest a few areas for growth:

  • Scalability: The computational complexity is roughly $O(n^3)$ per iteration (where $n$ is the number of nodes). While standard for GW-based methods, this remains a bottleneck for massive graphs with millions of nodes.
  • Asymmetry: The authors note that RGWD is asymmetric (comparing Graph A to B isn't the same as B to A). While this doesn't hurt clustering performance, it means RGWD isn't a "true" distance metric in the mathematical sense.
  • Hyperparameter Sensitivity: While the model is robust to the noise parameter $\epsilon$ within a reasonable range, finding that "sweet spot" still requires some tuning or a small amount of labeled data.

In summary, RGDL provides a much-needed "shield" for graph dictionary learning, allowing researchers to extract meaningful patterns from the noisy, imperfect networks that define our world.

Summary updated

BibTeX
@inproceedings{liu2023robust,
  author = {Weijie Liu and Jiahao Xie and Chao Zhang and Makoto Yamada and Nenggan Zheng and Hui Qian},
  title = {{Robust Graph Dictionary Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=qxRscesArBZ},
}

Loading related content...

Figure