Over-smoothing is the tendency of node representations to become nearly identical as a graph neural network stacks more message-passing layers, so that nodes from different classes can no longer be told apart. In graph learning, it is the main reason why many graph neural networks perform best with only two to four layers, unlike convolutional networks for images that routinely use dozens.
The effect follows directly from how most graph layers work: each layer replaces a node’s features with a weighted average of its neighborhood. Averaging is useful for removing noise, but repeated averaging erases the differences that a classifier needs, much like blurring an image until every pixel has the same gray value. The term is also written oversmoothing.
Why repeated message passing causes over-smoothing
A graph convolutional layer multiplies the feature matrix by a normalized adjacency matrix, which is mathematically a form of Laplacian smoothing. Applying it once pulls each node toward its neighbors; applying it k times mixes information from the whole k-hop neighborhood.
As k grows, powers of the normalized adjacency matrix converge to a projection onto the dominant eigenvector. In a connected graph, features then depend mainly on node degree and the connected component, not on the original input. Theoretical analyses show this convergence is exponential in depth, at a rate set by the spectral gap of the graph and the singular values of the layer weights.
Nonlinearities and learned weights slow the collapse but do not stop it in general. ReLU activations, for example, can shrink feature magnitudes further, and weight matrices with small singular values accelerate the decay. The following table summarizes the factors that make over-smoothing appear sooner or later.
| Factor | Effect on smoothing speed | Reason |
|---|---|---|
| Number of layers | More layers, faster collapse | Each layer adds another averaging step |
| Graph connectivity | Dense, small-diameter graphs collapse sooner | Neighborhoods cover the graph quickly |
| Spectral gap | Larger gap, faster convergence | Nonleading eigenvalues decay faster |
| Self-loop weight | Stronger self-loops slow it | Nodes retain more of their own signal |
| Heterophily | Harm appears earlier | Neighbors carry features of other classes |
How over-smoothing is measured
Over-smoothing is diagnosed by tracking how similar node embeddings become layer by layer, alongside task accuracy. A drop in accuracy alone is not proof, because depth also introduces optimization difficulties.
| Metric | What it measures | Sign of over-smoothing |
|---|---|---|
| Dirichlet energy | Sum of squared feature differences across edges | Energy decays toward zero |
| Mean average distance (MAD) | Average cosine distance between node pairs | Distance approaches zero |
| MADGap | Remote-node distance minus neighbor distance | Gap shrinks or turns negative |
| Accuracy versus depth | Task performance as layers are added | Sharp decline beyond a few layers |
Dirichlet energy is the most widely used theoretical measure because it links directly to the graph Laplacian. MAD-based measures are easier to interpret in experiments, since they compare embeddings of nearby and distant nodes.
Over-smoothing compared with related failure modes
Over-smoothing is often confused with other problems of deep graph models, yet each has a different cause and remedy. Separating them is essential before choosing a fix.
| Problem | Core cause | Typical symptom |
|---|---|---|
| Over-smoothing | Repeated averaging of neighbor features | Embeddings converge to similar vectors |
| Over-squashing | Exponentially many messages pass through bottlenecks | Long-range information is lost |
| Vanishing gradients | Deep stacks of transformations | Early layers barely train |
| Overfitting | Too many parameters for few labels | High training accuracy, low test accuracy |
Over-squashing is the closest neighbor concept. It concerns information that cannot get through a narrow part of the graph, whereas over-smoothing concerns information that spreads too evenly. Methods that add edges to fight over-squashing, such as graph rewiring, can worsen over-smoothing, so the two must be balanced.
Techniques that mitigate over-smoothing
Mitigation strategies either preserve each node’s own signal, limit how much averaging happens, or normalize embeddings so they stay apart. Most practical systems combine several of them.
- Residual and initial connections, as in GCNII, add the input features back at every layer.
- Jumping knowledge networks combine outputs from all layers so the classifier can pick a suitable depth per node.
- Personalized PageRank propagation, as in APPNP, uses a teleport probability around 0.1 to keep a share of the original features.
- Normalization layers such as PairNorm keep the total pairwise distance between embeddings constant.
- DropEdge randomly removes edges during training, which slows information mixing.
- Decoupled models separate a few transformation layers from many cheap propagation steps.
Graph transformers reduce reliance on local averaging, but global attention can smooth as well when attention weights become nearly uniform. Depth should therefore be chosen by validation on the actual graph, not by analogy with image or language models.
Practical guidance for choosing model depth
In most node classification tasks on citation and social graphs, two or three message-passing layers give the best accuracy. Deeper models pay off mainly when labels depend on long-range structure, such as in molecules or large sparse graphs.
A sound workflow is to start shallow, measure accuracy and Dirichlet energy at several depths, and add mitigation only when deeper receptive fields are genuinely needed. Ignoring heterophily is a common mistake: on graphs where neighbors usually differ, even two layers of plain averaging can hurt.
When a deeper receptive field is required, it is usually cheaper to decouple propagation from transformation than to stack many full layers. Precomputing several propagation steps once, as simplified graph convolution does, keeps training fast and lets the analyst tune the number of hops as a single hyperparameter. Monitoring embedding similarity on a held-out set during this tuning reveals the depth at which representations begin to collapse.
In simple terms
A graph neural network learns about each point in a network by listening to its neighbors. Each layer is one more round of listening.
After a few rounds, every point has heard almost the same mix of opinions. Then all points start to sound alike. This is over-smoothing. It is like passing a rumor around a small town too many times: in the end, everyone tells the same story, and nobody remembers who said what first.
A practical example
A data science team builds a fraud detection model on a transaction graph with about 2 million accounts. Its first graph convolutional network with eight layers flags fraud poorly, and inspection shows that embeddings of fraudulent and legitimate accounts have a mean cosine distance close to zero.
The team reduces the network to three layers with residual connections, adds PairNorm and uses personalized PageRank propagation for broader context. Dirichlet energy stays stable across layers, embeddings of the two account types separate clearly, and the precision of flagged accounts improves enough for investigators to review the alert queue each day without a growing backlog.