Graph neural networks build each node's representation by repeatedly averaging over its neighbors. Stack enough averaging steps and every node starts to look the same, a failure called over-smoothing. Recent models for heterogeneous temporal graphs, meaning graphs with several kinds of nodes and edges that change over time (authors, papers and venues in a growing citation network, for example), have made this averaging cheaper and more uniform. None of them measure whether nodes are collapsing. We argue the collapse is easy to miss in these graphs. Nodes of different types live in different regions of feature space, so the representation matrix as a whole keeps a high rank even when all papers, or all authors, have become nearly identical to one another.
We propose to measure and prevent collapse within each node type and at each time step. We first show diagnostically whether within-type rank collapse explains the accuracy loss of current heterogeneous temporal models as they get deeper or see longer histories. We then add a cheap hinge penalty that keeps each type's centered representations from losing more rank than their input features have. In two sentences: over-smoothing in multi-type graphs hides behind differences between types, so you have to measure it inside each type. Once you measure it there, you can regularize against it directly with a few small eigendecompositions per batch, and you don't need expensive negative sampling or a new architecture.
Core Claim
The rank-based view of over-smoothing comes from Are we measuring oversmoothing in graph neural networks correctly?. That paper shows Dirichlet energy, the usual smoothness measure (the summed squared difference between neighbors' representations), can stay flat while a trained GCN's accuracy collapses. Effective rank, the exponentiated entropy of the normalized singular values, tracks accuracy with an average Pearson correlation of 0.91. That work studied only homogeneous, static graphs. Our first claim is that on a heterogeneous graph, global effective rank is inflated by per-type mean offsets: with $K$ node types it is bounded away from collapse by roughly $K$ directions even if every type has collapsed to a point.
The correct diagnostic is therefore the effective rank of $\bar H^{\ell}_{\tau,t}$, the layer-$\ell$ representations of nodes of type $\tau$ in snapshot $t$, after subtracting that type's mean. Our second claim is that penalizing the loss of this quantity relative to the input features prevents collapse without pushing representations toward noise. Plain rank maximization has exactly that failure mode: random noise has maximal rank and no meaning. The training objective is
$$ \mathcal{L} = \mathcal{L}_{\text{task}} + \lambda \sum_{t}\sum_{\ell}\sum_{\tau} \max\!\big(0,\; \rho\,\mathrm{Erank}(\bar X_{\tau,t}) - \mathrm{Erank}(\bar H^{\ell}_{\tau,t})\big). $$
Here $\bar X_{\tau,t}$ is the type-centered input (after the type-specific projection), $\rho \in (0,1]$ sets how much rank each layer may give up, and $\lambda$ weights the penalty. Each term needs the spectrum of a $d \times d$ covariance per type, where $d$ is the hidden size. With $d \le 256$ and a handful of types this costs little next to message passing, and it is far cheaper than the determinantal sampling of Negative Samples-enhanced Graph Convolutional Neural Networks, whose cost scales with the cube of node degree.
Why this gap, and what is already done
Two recent models represent the heterogeneous-temporal side, and both motivate the proposal. Simple and Efficient Heterogeneous Temporal Graph Neural Network (SE-HTGNN) evolves relation-level attention with a GRU and replaces node-level attention with uniform GCN-style averaging, arguing that same-type neighbors have low variance in influence. Its own design is therefore built from the operator the over-smoothing literature identifies as the cause of collapse. THGFM uses dual-branch temporal attention with rotary time encodings and never measures smoothing or rank. We take both as backbones and do not change their architecture.
The closest existing work joining over-smoothing and heterogeneity is TAGDN. It aligns type distributions with a closed-form Gaussian optimal-transport map before long diffusion, and it stays stable to 40 steps. It is static, it assumes each type's features are unimodal Gaussian, and it controls collapse through architecture rather than through a measured quantity. Our method is a training penalty that drops into any backbone and adapts per snapshot as type statistics drift. UniEA repels distinct entities within a knowledge graph through an intra-graph contrastive loss, but it is static and relies on alignment seeds.
The identity-preserving regularizers supply the idea of pushing nodes apart, and they also constrain our design. BSG adds a hinge divergence loss against neighbor similarity, but it assumes homophily and needs three loss weights plus a margin. In a heterogeneous graph, a paper's neighbors are mostly authors and venues, so "too similar to neighbors" is not even well defined. Negative Samples-enhanced Graph Convolutional Neural Networks shows that intermediate-layer repulsion beats final-layer contrast; the paper argues that geometric compression in intermediate layers cannot be undone by a loss on the output. We keep its lesson that the penalty must act on intermediate layers, but we replace pairwise negatives with a spectral quantity that needs no sampling. Complete the Missing Half and A-DGN are architectural alternatives. A-DGN explicitly states it does not target over-smoothing, only observing reduced smoothing as a side effect, which leaves room for a direct objective.
Research Program
The work has three stages, and each can stop the project early. Stage one is diagnosis. We train SE-HTGNN and THGFM at depths 1 through 16 and over history windows of increasing length. At every layer and snapshot we log global effective rank, numerical rank, Dirichlet energy, and per-type centered effective rank. We then ask which of these quantities predicts the drop in validation accuracy, across depth and separately across temporal horizon.
The horizon analysis matters most because it separates two explanations for degradation over long histories. If per-type rank falls together with accuracy, the cause is collapse. If per-type rank stays high while accuracy falls, the cause is distribution drift or forgetting in the sequence model, and our regularizer should not help. That outcome would itself be a useful negative result, and we would report it as such. The question is open in the literature as Gap 3 of the file describes it.
Stage two adds the hinge penalty to both backbones, at intermediate layers and per snapshot, using minibatch estimates of the covariance spectrum. To keep tuning comparable to the baselines, we tune only $\lambda$ and fix $\rho$ to the layer-1 retained fraction.
Stage three tests whether type conditioning is the active ingredient. We compare the penalty against the same penalty computed on the global, uncentered matrix, and against a per-type normalization that recenters and rescales without any rank objective.
Baselines
The naive reference point is each backbone run unmodified at its validation-selected depth and window, together with the same backbone forced to the depth our method uses. This gives two numbers: whether we improve the best practical configuration, and whether we only rescue artificially deep ones.
The strongest existing method on the temporal benchmarks is the unmodified backbone itself. THGFM reports a +12.37% relative gain on OAG-CS Paper-Venue prediction and a +3.25% mean gain over HGT and other baselines across six tasks, including HTAG-ArXiv and HTAG-DBLP. SE-HTGNN reports a 7.27% MAE improvement and a 10× speedup over CasMLN on COVID-19 forecasting. The file gives relative gains only; no absolute reported result was found on Lacuna for the HTAG or OAG-CS metrics, so we will reproduce both backbones with their published configurations before any comparison. Beating them means a statistically significant improvement over five seeds at the backbone's own best depth.
For the static sanity check on DBLP and ACM, the strongest competitor is TAGDN. It reports an average 5.02% node-classification gain and a 25.43% clustering gain across its benchmarks, but no isolated per-dataset number was found on Lacuna. We will rerun it and claim parity or better only if we match it within one standard deviation while staying architecture-agnostic.
The competing regularizers are four. The first is a final-layer InfoNCE loss with uniform random negatives within each type. The second is BSG's divergence hinge adapted to same-type, same-relation neighbors. The third is a Dirichlet-energy floor. The fourth is A-DGN's anti-symmetric update substituted into the relation-level aggregation.
Two ablations isolate the key ingredient. The global-rank penalty removes type conditioning. Per-type centering-and-rescaling normalization removes the rank objective. Every method gets the same data splits, the same 40-trial random-search budget over its own hyperparameters, the same hidden size, and the same GPU-hour cap. We report wall-clock time alongside accuracy.
Why not just…?
Why not just keep the model shallow? On some of these benchmarks a two-layer backbone may already be optimal, and if so our penalty only helps configurations nobody would use. The evidence that depth pays off comes from other settings. A-DGN reaches −3.40 log₁₀ MSE on shortest-path prediction against −1.13 for the best baseline, and TAGDN improves up to 40 diffusion steps. Neither result concerns heterogeneous temporal link or venue prediction. We therefore treat this alternative as a real threat. The decisive comparison is our best configuration against the backbone's best configuration, not against its deep version, and we will report honestly if the gain appears only at depth.
Why not just add a contrastive loss at the output? The negative-sampling work shows that collapse in intermediate layers is not undone at the end, with D2GCN beating random-negative methods, for example 0.74 versus 0.66 on Proteins. Random negatives also over-sample dense communities. In a heterogeneous graph they mostly come from the dominant type. Our final-layer InfoNCE baseline with per-type negatives tests this directly.
Why not just normalize each type, recentering and rescaling, with no rank objective at all? This is the simplest competitor and the most likely to match us, because recentering removes exactly the type offsets that hide collapse. Normalization fixes scale but cannot stop representations from concentrating in a few directions. The rank paper notes that its metric still signals degradation under BatchNorm and LayerNorm. Our ablation decides the matter. If per-type normalization matches the penalty, we will report the diagnostic as the contribution and recommend normalization as the remedy.
Why not just penalize global effective rank or Dirichlet energy? Dirichlet energy is shown not to track accuracy in trained networks. Global rank is the quantity we predict is inflated by type offsets. Both are run as baselines, and stage one tests our prediction directly by comparing their correlation with accuracy against per-type rank.
Proposed Experiments
The temporal benchmarks are HTAG-ArXiv, HTAG-DBLP, OAG-CS Paper-Venue, YELP temporal node classification, AMiner link prediction, and COVID-19 forecasting, all as used by the two backbones. DBLP and ACM serve as static heterogeneous controls. Metrics are the task metrics each backbone reports (accuracy, ROC-AUC or NDCG, and MAE), plus per-type effective rank curves over depth and time and wall-clock overhead.
Four checks decide the project. First, in stage one, per-type centered rank must correlate with accuracy more strongly than global rank and Dirichlet energy, across depth on at least four of six datasets. If it does not, the core claim fails. Second, on long-horizon evaluation, rank trajectories must distinguish collapse from drift: the penalty should help only where per-type rank falls. Third, the penalty must beat both the global-rank and per-type-normalization ablations at the backbone's best depth. Fourth, overhead must stay under 15% of training time on OGBN-MAG-scale graphs, which keeps the method competitive with the efficiency claims of SE-HTGNN and EHG.
References
- Are we measuring oversmoothing in graph neural networks correctly?
- Negative Samples-enhanced Graph Convolutional Neural Networks
- Simple and Efficient Heterogeneous Temporal Graph Neural Network
- THGFM: Dual-Branch Temporal Heterogeneous Graph Fusion Model
- TAGDN: type-aligning graph diffusion network for capturing long-range dependencies in heterogeneous graphs without over-squashing and over-smoothing
- Unifying Dual-Space Embedding for Entity Alignment via Contrastive Learning
- Balancing Graph Embedding Smoothness in Self-Supervised Learning via Information-Theoretic Decomposition
- Complete the Missing Half: Augmenting Aggregation Filtering with Diversification for Graph Convolutional Networks
- Anti-Symmetric DGN: a stable architecture for Deep Graph Networks
- EHG: efficient heterogeneous graph transformer for multiclass node classification