Collapse onto the Right Partition: Logic-Declared Targets for Over-Smoothing in Graph Networks

Deep graph neural networks average each node's features with its neighbors' features, layer after layer, until every node looks the same. This failure is called over-smoothing. The standard fix pushes node representations apart: keep high-frequency signal, gate aggregation, or preserve matrix rank. But planning and verification point the other way. Nodes or states that satisfy the same logical description should be merged, because keeping them apart only adds redundant work. We propose that over-smoothing is not too much collapse. It is collapse onto the wrong grouping. A model should make nodes identical exactly when a declared logical description says they are equivalent for the task, and keep them separable otherwise.

Concretely, we use a small grammar of logical node descriptions to name the target grouping. The grammar consists of description-logic concepts such as "has at least two neighbors that are clear blocks," and a solver selects a minimal set of them that separates the training labels. We then build a graph attention layer and a training penalty that pull nodes together inside each group and preserve rank across groups. We also introduce a diagnostic, partition-conditioned rank, that tells harmful smoothing apart from intended abstraction. The testable claim is that this diagnostic predicts accuracy under increasing depth better than plain effective rank. A second claim is that letting declared concepts shape how neighbors are weighted beats simply feeding the same concepts in as input features.

Core Claim and Its Lineage

The diagnostic side builds on Are we measuring oversmoothing in graph neural networks correctly?. That paper shows over-smoothing is a rank collapse of the node-embedding matrix, and that effective rank (the entropy of its singular values) correlates with accuracy at an average Pearson of 0.91 across datasets. The same paper concedes that high rank is necessary but not sufficient, since random noise has full rank and no use. Its metric also penalizes every drop in dimensionality equally.

Semantic state reduction suggests a refinement. Efficient Temporal Planning Using Metastates groups states that share identical facts and expands one representative, solving 189 problems against 164 for the baseline planner. Semantic Exploration with Adaptive Gating merges logically equivalent reasoning steps and cuts the search space by 20–60%. The "Master Theorem" of One Theorem to Rule Them All proves that quotienting by semantic equivalence yields smaller automata than structural translation. Together these papers motivate treating some low rank as correct. None of them involves learned message passing.

Declarative feature engineering supplies the equivalence. Learning Features and Abstract Actions for Computing Generalized Plans and Learning General Planning Policies from Small Examples Without Supervision enumerate description-logic concepts from primitive relations and use weighted Max-SAT to pick a minimal set that distinguishes the states that matter. Each concept is a true/false property of a node. Nodes with identical concept values form one class of a partition $P$. We reuse that selection machinery, but we aim it at node-level labels rather than abstract planning states.

The Logical Expressiveness of Graph Neural Networks constrains the design. It proves that standard local message-passing networks express exactly graded modal logic, the description logic $\mathcal{ALCQ}$. So any partition our grammar declares at bounded depth is, in principle, reachable by such a network. The open question is not whether the network can represent the partition. It is whether training at depth keeps it there or smooths past it. Barceló et al. explicitly leave optimization and depth unanalyzed.

The Diagnostic

Let $H \in \mathbb{R}^{n \times d}$ be node embeddings at some layer, and let $P$ be the declared partition with classes $c$, class means $\mu_c$, and the matrix $M$ that stacks those means. We define the score

$$S(H,P) = \frac{\mathrm{Erank}(M)}{\min(|P|, d)} \cdot \left(1 - \frac{\sum_c \sum_{i \in c} \lVert h_i - \mu_c \rVert^2}{\sum_i \lVert h_i - \bar h \rVert^2}\right).$$

Here $\mathrm{Erank}$ is effective rank and $\bar h$ is the global mean. The first factor measures whether distinct classes stay distinct. The second measures whether nodes inside a class have converged. Noise scores low because classes do not concentrate. Classic over-smoothing scores low because class means coincide. A correct abstraction scores near one. Effective rank alone cannot distinguish these three cases.

Research Program

The method has three parts.

The first part is partition construction. We enumerate description-logic concepts up to quantifier depth $k$ over the node-edge structure, plus thresholded node attributes, following the grammar of D2L. A weighted Max-SAT problem then selects the cheapest concept set that separates training-node labels. On relational planning domains the primitives are predicates such as on(x,y) and clear(x). On attributed graphs they are bag-of-words thresholds and edge relations. Only training labels touch the solver.

The second part is concept-routed attention. We use a graph attention layer in the style of Graph Attention Networks, but add a learned bias to each attention logit indexed by the concept-signature difference between the two endpoints. Within-class edges therefore start out as averaging edges. Cross-class edges are weighted by which concepts differ, not by feature dot products alone. This targets the failure mode proven in Graph Attention is Not Always Beneficial: feature-based attention becomes unreliable when features are noisy. In our layer the routing signal is discrete and computed from structure.

The third part is a training penalty, $-\lambda \log S(H_\ell,P)$, applied at intermediate layers.

We will also test whether the declared partition is a better target than the true training labels used directly. If it is not, the logic layer is decoration. This test is built into the ablations below.

Baselines

The naive reference is a standard degree-normalized GCN at matched depth, the model whose rank provably collapses with depth. Reported reference points come from the papers in our file. On Texas, GCN reaches 52.16% and GAT 58.38% (Geom-GCN). On Chameleon, GCN reaches 28.2% (Geometric Scattering Attention Networks).

The strongest existing heterophily and over-smoothing competitors fall into two groups:

  • Frequency-based methods. GSAN mixes low-pass aggregation with scattering wavelets through node-wise attention and reports 61.2% on Chameleon. Geom-GCN-P reports 67.57% on Texas. The filterbank model of Complete the Missing Half adds a high-pass channel and reports roughly a 10% gain on Texas and Cornell.
  • Adaptive gating. ALaGCN from When Do GNNs Work gates aggregation by neighborhood entropy. It reports 73.3% on Cora at a 1% label rate, against 59.2% for GCN. It is the closest competitor in spirit, because it also decides per node when to stop mixing.

On relational planning-state graphs (Blocksworld, Gripper, Spanner, Miconic, Childsnack), we found no reported GNN result on Lacuna for node- or state-level prediction. There the reference points are a GAT trained by us and a linear model over the Max-SAT-selected concepts alone. The latter is the "symbolic only" baseline in the D2L tradition.

All methods share splits, the same depth grid from 2 to 64 layers, and an equal hyperparameter budget of 60 trials. The concept grammar's cost is reported separately as wall-clock time.

Beating a baseline means two things. At shallow depth, we must match the best published number on each dataset within its seed variance. At 16 layers and beyond, we must hold accuracy while GAT and ALaGCN degrade by a margin larger than three seed standard deviations.

The key ablations isolate one part each:

  • concept-routed attention without the penalty;
  • the penalty without routing;
  • the partition replaced by true training labels, with nodes outside the training set unassigned;
  • the partition replaced by a random partition of equal size and class-size distribution.

Why not just…?

Why not just concatenate the selected concepts as extra input features to GAT? This is the most serious threat. The network may simply learn to use those features, and depth would then smooth them like any other features. We run exactly this model under the same budget. If it matches concept-routed attention at all depths, the architectural claim fails. The contribution then shrinks to the diagnostic and to declarative feature selection as preprocessing, and we will report it that way. Our prediction is that concatenated features wash out with depth, because they enter the same low-pass averaging that the over-smoothing literature documents, while routed features determine where averaging happens.

Why not just quotient the graph by color refinement, the structural equivalence that message-passing networks already respect? Barceló et al.'s result implies that structurally equivalent nodes already get identical embeddings, so quotienting by that equivalence adds nothing. On real attributed graphs, that equivalence is also nearly the identity partition. Our partition is deliberately coarser and task-selected. We test this directly by computing $S$ against the color-refinement partition, expecting it to track accuracy no better than effective rank does.

Why not just use a generic anti-smoothing method such as filterbanks, scattering, or entropy gating? These methods push nodes apart without knowing which nodes should merge. On homophilic graphs they may already be near the ceiling, for example GAT at 83.0% on Cora. The honest expectation is that our method helps most on heterophilic and deep regimes, and helps least where label-scarce gating like ALaGCN already wins. The depth sweep and the per-dataset comparison settle this.

Why not drop the neural model and use the symbolic concepts with a linear classifier? On planning domains this may genuinely win. The Max-SAT methods produce policies of 5–14 rules that generalize to 30+ objects. If it wins, that tells us the declared partition is sufficient and the network's role is limited to noisy or attribute-rich graphs. We report it as a result, not a defeat. On text-attributed graphs we expect the symbolic model to lose, because thresholded words are a crude grammar.

Decisive Experiments

The first test is synthetic and controlled. Following Barceló et al.'s setup, we generate graphs whose node labels are defined by planted $\mathcal{ALCQ}$ formulas. The ground-truth partition is therefore known. We sweep noise in the node features, and we sweep depth from 2 to 64 layers. Two predictions follow. First, $S$ computed against the planted partition should correlate with test accuracy more strongly than effective rank does; the reference is the reported average Pearson correlation of 0.91 for effective rank. Second, concept-routed attention should stay stable at the noise levels where the analysis of Wang et al. says feature-based attention fails.

The second test uses heterophilic graphs: Texas, Cornell, Chameleon and Squirrel, plus Cora, Citeseer and Pubmed as homophilic controls. Here we measure accuracy and $S$ against the learned partition across depth, alongside the solver's runtime.

The third test uses generated instances of the IPC domains. We train on small instances and test on instances with many more objects. The task is predicting distance-to-goal from object-level graphs. This probes whether the declared collapse transfers across instance size, as the symbolic policies do.

The claim fails if any of the following holds:

  • the random-partition ablation scores as well as the declared partition;
  • concatenated concepts match concept-routed attention;
  • $S$ does not beat effective rank as a predictor of accuracy.