cs.LGMar 27, 2026

On the Complexity of Optimal Graph Rewiring for Oversmoothing and Oversquashing in Graph Neural Networks

Authors: Mostafa Haghir Chehreghani

Organizations: Department of Computer Engineering, Amirkabir University of Technology (Tehran Polytechnic), Tehran, Iran

Abstract

Graph Neural Networks (GNNs) face two fundamental challenges when scaled to deep architectures: oversmoothing, where node representations converge to indistinguishable vectors, and oversquashing, where information from distant nodes fails to propagate through bottlenecks. Both phenomena are intimately tied to the underlying graph structure, raising a natural question: can we optimize the graph topology to mitigate these issues? This paper provides a theoretical investigation of the computational complexity of such graph structure optimization. We formulate oversmoothing and oversquashing mitigation as graph optimization problems based on spectral gap and conductance, respectively. We prove that exact optimization for either problem is NP-hard through reductions from Minimum Bisection, establishing NP-completeness of the decision versions. Our results provide theoretical foundations for understanding the fundamental limits of graph rewiring for GNN optimization and justify the use of approximation algorithms and heuristic methods in practice.

Explore similar work

CardsList
  1. Graph Rewiring in GNNs to Mitigate Over-Squashing and Over-Smoothing: A Survey

    May 1, 2026Hugo Attali, Nathalie Pernelle, Davide Buscaldi +1Graph Neural NetworksGraph Rewiring

  2. Understanding over-squashing and bottlenecks on graphs via curvature

    Nov 29, 2021Jake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain +2Graph RewiringOver-Squashing

  3. Ramanujan Graph Rewiring with Non Negative Resistance Curvature

    Jun 19, 2026Hugo Attali, Rachid El JouhriGraph Structure LearningGraph Rewiring