FeatureNorm: L2 Feature Normalization for Dynamic Graph Embedding

Menglin Yang, Ziqiao Meng, Irwin King

TL;DR

Researchers have identified a "feature shrink" problem where nodes in dynamic graph embeddings become indistinguishable over time due to the smoothing nature of Graph Convolutional Networks (GCNs). By applying a simple yet effective L2 feature normalization (FeatureNorm) to project embeddings onto a unit hypersphere, they prevent this collapse, significantly boosting performance in long-term link prediction.

What Problem Does This Paper Address?

Dynamic graphs—like social networks, transaction logs, or communication threads—evolve constantly. To represent these graphs, researchers use dynamic graph embeddings to capture both structural layout and temporal patterns.

Most state-of-the-art models rely on Graph Convolutional Networks (GCNs). However, GCNs are essentially a form of "Laplacian smoothing." While smoothing helps similar nodes get closer in the embedding space, it has a dark side: oversmoothing. When you stack multiple layers or propagate information across many time steps, the embedding space "shrinks." Nodes that shouldn't be related start to cluster together, eventually converging into a low-rank matrix where every node looks nearly identical. In dynamic settings, this "feature shrink" accumulates over time, making it impossible to distinguish between nodes or predict future links accurately.

Methods

The authors propose FeatureNorm, a "plug-in" method designed to counteract feature shrink without adding complex parameters.

  1. The Analysis: They mathematically prove that the aggregation step in GCNs inherently reduces the distance between nodes. In a dynamic setting, this means the "volume" of the embedding space constantly contracts.
  2. The Solution (L2 Normalization): To stop the collapse, FeatureNorm rescales all node embeddings to the surface of a unit hypersphere.
  3. Two-Step Process:
    • Centering: First, they center the node features to ensure the distribution is balanced.
  4. Normalization: They apply L2 normalization, which constrains the embeddings to a unit ball.
  5. The "Aha" Math: By doing this, the authors prove the total pairwise distance between $n$ nodes remains constant ($2n^2$). This forces the model to use the available "space" on the hypersphere more effectively: while similar nodes can still get closer (positive smoothness), dissimilar nodes are naturally pushed further apart to maintain the total distance.

Datasets

The authors evaluated FeatureNorm on four real-world dynamic communication networks:

  • DNC: Email correspondence from the 2016 Democratic National Committee leak.
  • UCI: Message exchanges within an online student community at UC Irvine.
  • FBW (Facebook Wall): A dataset of posts between users on Facebook walls.
  • Enron: The classic email network of Enron employees.

Key Insights and Ideas

  • Feature Shrink vs. Oversmoothing: The authors argue that "feature shrink" is the underlying cause of the oversmoothing phenomenon. By focusing on the geometry of the embedding space (the distance between nodes), they found a more direct way to solve the problem than previous methods.
  • The Hypersphere Advantage: On a unit hypersphere, Euclidean distance is directly tied to cosine similarity. This makes the embeddings more intuitive for downstream tasks like link prediction, where we often measure how "close" two nodes are to predict a future connection.
  • Versatility: FeatureNorm isn't a new model; it’s a constraint. The authors showed it could be added to various architectures, including standard GCNs, Gated Recurrent Units (GRUs), and specialized models like EvolveGCN.

Key Results

  • Performance Boost: Adding FeatureNorm (+FN) to baseline models like DynGCN and EvolveGCN resulted in a 3% to 10% improvement in AUC (Area Under Curve) and Average Precision (AP) for link prediction.
  • Long-term Durability: In "long-distance" prediction tests (predicting many steps into the future), models without FeatureNorm saw their accuracy plummet as the features collapsed. Models with FeatureNorm maintained significantly higher accuracy over time.
  • Negative-to-Positive Smoothness ($R_{neg}$): The authors introduced this metric to measure how much "noise" (dissimilar nodes getting too close) exists in the embedding. FeatureNorm dramatically reduced this ratio, proving that it successfully keeps unrelated nodes apart.

Limitations and Future Work

  • Centering Impact: The authors noted that while centering is theoretically important for the distance proof, in practice, its impact on performance was sometimes negligible compared to the normalization step itself.
  • Node Volatility: The current theoretical proof assumes a non-decreasing set of nodes. While the method works in practice for nodes appearing and disappearing, a more rigorous proof for highly volatile networks (where many nodes vanish) could be a future direction.
  • Task Variety: The paper focuses heavily on link prediction. Future work could explore how FeatureNorm affects other tasks like dynamic node classification or community detection.

Summary updated

BibTeX
@inproceedings{yang2020featurenorm,
  author = {Menglin Yang and Ziqiao Meng and Irwin King},
  title = {{FeatureNorm: L2 Feature Normalization for Dynamic Graph Embedding}},
  booktitle = {ICDM},
  year = {2020},
  doi = {10.1109/icdm50108.2020.00082},
}
Figure