Learning to Rank: How GNNs Solve Max-Clique and Sparse PCA
Elad Shoham, Omri Haber, Havana Rika, Dan Vilenchik
Abstract
Graph neural networks (GNNs) have shown promise on combinatorial problems such as Max-Clique, yet it remains unclear what algorithmic principles they actually learn. This paper introduces a concept-driven framework for evaluating and interpreting GNNs on such tasks. We begin with a principled benchmark based on synthetic graphs with known difficulty levels—easy, medium, and hard—derived from theoretical thresholds for planted cliques. Using this setup, we show that GNNs reliably learn a simple yet powerful concept: degree-based ranking. This insight motivates a new decoder, Least-Probable Removal (LPR), which significantly outperforms the common top-k strategy, especially on harder and real-world instances. Our analysis pipeline connects latent representations to classical heuristics, improving both interpretability and performance. Finally, we demonstrate cross-domain generalization to sparse PCA, showing that the same GNN architecture and decoding strategy succeed in recovering sparse principal components, revealing a shared underlying principle across domains.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on3
- Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on GraphsNikolaos Karalias, Andreas LoukasNeurIPS 2020 · 190 citations
- Can Hybrid Geometric Scattering Networks Help Solve the Maximum Clique Problem?Yimeng Min, Frederik Wenkel, Michael Perlmutter, Guy WolfNeurIPS 2022 · 30 citations
- Are Graph Neural Networks Optimal Approximation Algorithms?Morris Yau, Nikolaos Karalias, Eric Lu, Jessica Xu et al.NeurIPS 2024 · 23 citations
Related papers
- Exact Representation of Sparse Networks with Symmetric Nonnegative EmbeddingsSudhanshu Chanpuriya, Ryan A. Rossi, Anup B. Rao, Tung Mai et al.NeurIPS 2023 · 5 citations
- Exploring Neural Scaling Law and Data Pruning Methods For Node Classification on Large-scale GraphsZhen Wang, Yaliang Li, Bolin Ding, Yule Li et al.WWW 2024 · 2 citations
- Global Concept-Based Interpretability for Graph Neural Networks via Neuron AnalysisHan Xuanyuan, Pietro Barbiero, Dobrik Georgiev, Lucie Charlotte Magister et al.AAAI 2023 · 62 citations
- Global Explainability of GNNs via Logic Combination of Learned ConceptsSteve Azzolin, Antonio Longa, Pietro Barbiero, Pietro Liò et al.ICLR 2023 · 11 citations
- PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural NetworksMinh N. Vu, My T. ThaiNeurIPS 2020 · 437 citations
