Individual and Structural Graph Information Bottlenecks for Out-of-Distribution Generalization

Ling Yang, Jiayi Zheng, Heyuan Wang, Zhongyi Liu, Zhilin Huang, Shenda Hong, Wentao Zhang, Bin Cui

TL;DR

The IS-GIB framework addresses the "brittleness" of Graph Neural Networks (GNNs) when faced with distribution shifts. By combining instance-level noise filtering (I-GIB) with a novel structural relationship bottleneck (S-GIB), the model learns to discard spurious correlations and focus on invariant features that generalize across different domains.

What Problem Does This Paper Address?

Standard GNNs operate on the I.I.D. assumption: they expect training and testing data to come from the same distribution. In the real world, this is rarely true. Distribution shifts—changes in graph size, node features, or connectivity—often cause GNN performance to plummet.

Existing "Out-of-Distribution" (OOD) methods for graphs typically focus on finding invariant features (features that stay the same across domains). However, the authors identify two major gaps:

  1. Noise Persistence: Most methods don't explicitly "throw away" noisy or spurious features that are irrelevant to the label but present in the input.
  2. Ignoring Relationships: Current models usually look at graph instances in isolation. They fail to exploit the structural relationships (correlations) between different graphs or nodes, which are often more stable across domains than the raw features themselves.

Methods

The authors propose IS-GIB (Individual and Structural Graph Information Bottleneck), a dual-layered approach based on Information Bottleneck (IB) theory.

1. Individual Graph Information Bottleneck (I-GIB)

This is a "first-order" constraint. It forces the encoder to create a compressed representation of a single graph. By minimizing the mutual information between the input graph and its embedding while maximizing the information between the embedding and the label, the model acts as a filter, discarding "spurious" features that don't help with classification.

2. Structural Graph Information Bottleneck (S-GIB)

This is the paper's most novel contribution—a "second-order" constraint. Instead of looking at one graph, S-GIB looks at a batch of graphs.

  • It computes pairwise correlations between inputs, embeddings, and labels.
  • It then minimizes the mutual information between input-pair correlations and embedding-pair correlations.
  • Simultaneously, it maximizes the mutual information between embedding-pair correlations and label-pair correlations.

The Logic: While individual features might change across domains, the relationships between classes (e.g., "Class A is always more similar to Class B than Class C") are often invariant. S-GIB captures this high-order perspective.

3. Optimization

Since Mutual Information is notoriously difficult to calculate directly, the authors derive a tractable objective function using Variational Information Bottleneck (VIB) approximations and KL-divergence bounds.

Datasets

The framework was evaluated on six public datasets across two task levels:

  • Node-level Classification:
    • Artificial Shifts: CORA and CITESEER (where the authors injected varying scales of synthetic noise).
  • Cross-domain: TWITCH-EXPLICIT (social networks from different regions) and FACEBOOK100 (university social networks).
  • Graph-level Classification:
    • GOSSIPCOP and POLITIFACT: Fake news detection tasks where the goal is to classify tree-structured news propagation graphs.

Key Insights and Ideas

  • Sharper Representations: Heatmap visualizations (Fig. 6) show that IS-GIB produces embedding correlations that are "sharper" and much closer to the ground-truth label correlations than standard GNNs. This suggests the model is successfully "denoising" the graph structure.
  • The "Less is More" Training: Interestingly, IS-GIB often achieves lower training accuracy than standard Empirical Risk Minimization (ERM) but significantly higher test accuracy. This is a classic sign of reduced overfitting; the model is refusing to memorize noisy training details that won't exist in the test set.
  • Complementary Strengths: Ablation studies showed that I-GIB is great at removing instance-level noise, while S-GIB is vital for maintaining class relationships under heavy distributional shifts. Together, they provide a "belt and suspenders" approach to generalization.

Key Results

  • Superior Accuracy: IS-GIB consistently outperformed baselines like IRM, EERM, and DIR. On CORA, it improved accuracy by 7.76% over standard ERM. On FACEBOOK100, it saw gains of up to 8.25%.
  • Robustness to Noise: In experiments with increasing levels of artificial noise, the performance gap between IS-GIB and other methods widened, proving its resilience to "spurious" signals.
  • Backbone Agnostic: The authors tested IS-GIB with various GNN architectures (GCN, GraphSAGE, GIN, GAT). In all cases, adding the IS-GIB framework improved OOD performance.

Limitations and Future Work

  • Computational Complexity: Calculating pairwise relationships in S-GIB introduces an $O(n^2)$ component. While the authors mitigate this using batch-based sampling, scaling to extremely large graphs or massive batch sizes could be a challenge.
  • Hyperparameter Sensitivity: The total loss function (Eq. 16) involves four different terms weighted by coefficients ($\gamma_1, \gamma_2, \gamma_3$). Finding the optimal balance between these weights requires careful tuning.
  • Future Directions: The authors suggest extending this framework to more complex graph tasks, such as link prediction or dynamic graphs where the structure evolves over time.

Summary updated

BibTeX
@article{yang2024individual,
  author = {Ling Yang and Jiayi Zheng and Heyuan Wang and Zhongyi Liu and Zhilin Huang and Shenda Hong and Wentao Zhang and Bin Cui},
  title = {{Individual and Structural Graph Information Bottlenecks for Out-of-Distribution Generalization}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2024},
  url = {https://openreview.net/forum?id=V2XU80v8rd25},
}
Figure