Oriented Transport Attention: Can Direction Stop Attention's Rank-One Collapse?

Graph neural networks update each node by averaging messages from its neighbors. Stack enough of these averaging layers and every node ends up with the same vector. This failure is called over-smoothing. Graph attention lets the network learn how much weight each neighbor gets, and it was widely hoped to fix the problem. A recent theorem says it cannot. Because softmax attention gives every edge a strictly positive weight that sums to one per node, deep attention networks still collapse exponentially fast to a rank-one representation, meaning a single shared vector up to scale (Demystifying Oversmoothing in Attention-Based Graph Neural Networks). A separate line of work shows that ordinary message passing is also directionally insensitive: it treats a node's neighborhood as an unordered bag and cannot tell "upstream" from "downstream." Directional Graph Networks fix this by steering aggregation along gradients of the graph's low-frequency Laplacian eigenvectors, and they note that the resulting derivative operator counteracts homogenization (Directional Graph Networks). The attention theorem paper explicitly leaves open whether such directional fields change the collapse attractor.

We propose to answer that question with one specific layer. It combines ordinary softmax attention with a second channel: a feature-gated, antisymmetric transport term oriented by a spectral vector field. The antisymmetry makes this channel conserve feature energy rather than dissipate it. A learned sign convention replaces DGN's absolute value, so forward and backward flow stay distinguishable. The new claim is twofold. First, this combination provably escapes the non-negative, row-stochastic structure that the collapse theorem relies on. Second, the global orientation matters, beyond the mere presence of a signed or high-pass channel. The second part is the one a skeptic will doubt most, so the program is built around testing it directly.

Core Claim

Write $X^{(t)} \in \mathbb{R}^{N\times d}$ for node features at layer $t$ and $P^{(t)}$ for the usual row-stochastic softmax attention matrix. Let $\phi$ be a low-frequency Laplacian eigenvector, such as the Fiedler vector, whose sign has been fixed by the canonicalization described below. Let $\gamma_{ij}(X) = \gamma_{ji}(X) \in [0, 1]$ be a symmetric, feature-dependent gate on edge $(i,j)$. The oriented transport operator is

$$K_{ij}(X) = \gamma_{ij}(X)\,(\phi_j - \phi_i)\ \text{for } (i,j)\in E,\qquad K_{ij}=0 \text{ otherwise},$$

which is antisymmetric ($K^\top = -K$) because the gate is symmetric and the field difference flips sign. The layer is

$$X^{(t+1)} = X^{(t)} + \tau\Big[\big(P^{(t)} - I\big)X^{(t)}W_1 + K(X^{(t)})\,X^{(t)}W_2\Big],$$

where $W_1, W_2$ are learned weights and $\tau$ is a step size.

The first term is standard attention diffusion, and it drives features toward consensus. The second term is a gated transport along the field, and it moves signal from low to high $\phi$ without draining energy. An antisymmetric generator has purely imaginary eigenvalues. This is the same stability argument Anti-Symmetric DGN: a stable architecture for Deep Graph Networks uses on weight matrices, here moved onto the edge operator. In addition, $K\mathbf{1}$ is generally nonzero, so the constant "consensus" vector is not a fixed point of the combined dynamics.

Our theoretical target is a statement of the following form. If the gates stay bounded away from zero on a set of edges along which $\phi$ varies, the products of layer operators do not converge to rank one. If all gates go to zero, the collapse rate of plain attention is recovered. We present this as a conjecture to prove, not a result we already have. The continuous-time antisymmetric part is tractable. The interaction with state-dependent $P^{(t)}$ and the nonlinearity is the hard part.

The sign of $\phi$ is arbitrary, and flipping it reverses $K$. DGN avoids the problem by taking absolute values, which its authors acknowledge discards orientation (Directional Graph Networks). We instead fix the sign per graph by choosing the sign that makes $\langle \phi, u(X^{(0)})\rangle$ positive, where $u$ is a small learned node-scoring network. This is a learned canonicalization in the spirit of Adaptive Canonicalization with Application to Invariant Anisotropic Geometric Networks, which supplies the technique. The model stays invariant to the eigenvector's sign while the direction of flow remains meaningful.

How This Differs From the Closest Work

Several papers each cover part of this ground; none combines all three pieces.

DGN and Graph Anisotropic Diffusion use eigenvector-gradient operators with static weights and absolute-value sign handling. Our operator is gated by features and keeps orientation.

Representation Learning on Heterophilic Graph with Directional Neighborhood Attention (DGAT) injects spectral edge features into attention and rewires the graph with hard thresholds. Its attention is still softmax-normalized, so by the collapse theorem it inherits exponential collapse. We leave the edges unchanged and add a non-stochastic channel.

Graph Neural Convection-Diffusion with Heterophily (CDE) adds a signed velocity, but that velocity comes from local feature differences and carries no global orientation.

Advection-Diffusion on Graphs: A Bakry-Emery Laplacian for Spectral Graph Neural Networks (μ-ChebNet) derives drift from a learned scalar node potential inside a spectral filter, with no pairwise attention.

Neural Sheaf Diffusion: A Topological Perspective on Heterophily and Oversmoothing in GNNs increases feature energy through learned local restriction maps, at the memory cost of an $Nd\times Nd$ operator.

A Dynamical Systems-Inspired Pruning Strategy for Addressing Oversmoothing in Graph Attention Networks (DYNAMO-GAT) escapes collapse by deleting attention edges, which its authors say breaks down on sparse graphs.

Our layer deletes nothing. It only adds an energy-conserving term, so sparse graphs are exactly where it should help relative to pruning.

Two negative results constrain the design. The collapse theorem rules out any purely positive, row-normalized reweighting, which is why the second channel must be signed. Graph Attention is Not Always Beneficial: A Theoretical Analysis of Graph Attention Mechanisms via Contextual Stochastic Block Models shows attention can be worse than isotropic averaging in some noise regimes, so we keep a gate that can switch the extra channel off and test in exactly those regimes.

Research Program

The work has three parts.

Theory. We aim to prove the non-collapse statement above for the linearized layer. We will then extend it to the nonlinear, state-dependent case using the joint spectral radius framework of the collapse paper. We will also derive a stability bound that stops the transport channel from blowing features up.

Measurement. We will not rely on Dirichlet energy alone, since Are we measuring oversmoothing in graph neural networks correctly? argues it confuses collapse with shrinkage of scale. Our primary collapse measure will be the effective rank of row-normalized representations, together with the distance to the nearest rank-one matrix.

Scalability. Exact eigendecomposition costs $O(N^3)$. On large graphs we will estimate $\phi$ with a few Lanczos iterations and report how accuracy degrades as the eigenvector estimate gets worse.

Baselines

Naive reference. The do-nothing reference is plain GAT (Graph Attention Networks), run at the same depths with residual connections. It reports 83.0% accuracy on Cora at shallow depth, and the collapse paper shows it decaying toward zero feature distinctiveness by 128 layers. Our layer with the transport channel removed ($W_2=0$) is algebraically this baseline. That makes it the cleanest ablation of the key ingredient.

Static direction. The strongest static-direction competitor is DGN with its derivative aggregator. It reports an 11–32% MAE reduction over PNA and GatedGCN on ZINC. We run it with identical eigenvectors so that the only difference is gating and orientation.

Heterophily. The strongest heterophily competitor in the file is CDE-GRAND, which reports 91.64% accuracy on Roman-Empire and 95.50% on Minesweeper (Graph Neural Convection-Diffusion with Heterophily). DGAT reports 87.27% on Roman-Empire. Beating CDE-GRAND on Roman-Empire at matched parameters would be the headline heterophily result. Matching it while also staying non-collapsed at 64–128 layers, which CDE does not test, would still support the core claim.

Depth. The strongest depth competitors are DYNAMO-GAT and A-DGN. DYNAMO-GAT reports 75.3% on ogbn-products and near-peak Cora accuracy at 128 layers. A-DGN reports −3.40 log₁₀ MSE on single-source shortest path against −1.13 for GCNII.

Long range. For the Barbell bottleneck task, μ-ChebNet reports 0.02 MSE against 0.87 for ChebNet. No reported result was found on Lacuna for NSD on Roman-Empire, Minesweeper or at large depth; we will run it ourselves.

Fairness protocol. Every model gets the same splits, the same parameter budget (roughly 100k on ZINC, matched hidden width elsewhere), and the same number of hyperparameter trials per model. We report mean and standard deviation over at least five seeds. Numbers from papers are used only as sanity checks against our reproductions.

Why not just…?

Why not just concatenate Laplacian eigenvectors to the node features and run GAT? DGN reports that steering aggregation with eigenvectors beats feature concatenation on ZINC and MolPCBA. Benchmarking Graph Neural Networks shows positional encodings mainly fix expressivity, lifting CSL accuracy from 10% to 100%. The collapse theorem does not care what the input features are: a softmax-normalized operator still contracts to rank one. We include GAT with Laplacian positional encodings in the depth sweep. We expect its effective rank to decay like plain GAT.

Why not just add a signed or high-pass channel without any global direction? This is the real threat. The filterbank diversification channel of Complete the Missing Half: Augmenting Aggregation Filtering with Diversification for Graph Convolutional Networks and CDE's feature-difference velocity both break row-stochasticity without eigenvectors. They may well escape collapse just as effectively. Our central ablation keeps the layer fixed and swaps only the field $\phi$. The alternatives are the canonicalized eigenvector, an absolute-value eigenvector (DGN style), a μ-ChebNet-style learned potential, a random smooth field, and a field-free symmetric high-pass channel. If the random field or field-free channel matches the spectral field on both accuracy and effective rank, we will conclude that direction is incidental and that non-stochasticity alone does the work. We will report that result rather than argue around it.

Why not just prune attention edges like DYNAMO-GAT? Pruning is effective on dense graphs. Its authors report failure on sparse graphs, where cuts isolate nodes. We split datasets by average degree and additionally sparsify Cora and Roman-Empire by random edge removal. We predict pruning degrades faster than an additive transport channel as degree falls.

Why not just use residual connections or normalization? The A-DGN comparison already shows standard GAT and GCN losing 24–78% of accuracy at 30 layers on Coauthor CS despite such tricks. All our baselines keep residual connections anyway, so any gain is measured on top of them.

Proposed Experiments

Depth sweep. We sweep depth from 2 to 128 layers on Cora, CiteSeer, Squirrel, Roman-Empire and Minesweeper. For every model we plot accuracy and effective rank.

Decisive test of the mechanism. Two predictions must hold together. With gates active, effective rank should plateau above one at 128 layers. With gates forced to zero, it should decay at GAT's exponential rate.

Controlled regimes. On contextual stochastic block models we vary signal-to-noise and homophily. The goal is to check whether the gate learns to switch the channel off where attention is known to hurt.

Orientation source. We run the field-swap ablation on Roman-Empire, Minesweeper, Barbell and single-source shortest path. On these tasks a globally consistent upstream/downstream sense should matter most. We also compare the learned sign canonicalization against absolute values and against a sign drawn at random each epoch. If learned orientation does not beat absolute values, the sign-handling contribution fails.

Graph level and scale. For graph-level transfer we evaluate on ZINC against DGN and GAD. For scale we run on ogbn-arxiv and ogbn-products with Lanczos-approximated fields. We report accuracy and wall-clock cost against DYNAMO-GAT.

What would support the claim. Non-collapse at depth, plus a clear gap between spectral and random or field-free orientation on the long-range and heterophilic tasks, would support the claim that direction changes the collapse attractor. Non-collapse without that gap would narrow the contribution to an energy-conserving signed channel added to attention.