Learning Invariant Graph Representations Through Redundant Information

Barproda Halder, Pasan Dissanayake, Sanghamitra DuttaarXiv 2025 · DOI

Introduction

Graph Neural Networks (GNNs) have demonstrated remarkable success across various domains, from molecular biology to social network analysis. However, their real-world deployment is often hindered by "shortcut learning," where models rely on spurious correlations present in the training data rather than the underlying causal mechanisms. For instance, in molecular toxicity prediction, a GNN might incorrectly associate a common but irrelevant chemical scaffold with toxicity. When the distribution shifts—a phenomenon known as out-of-distribution (OOD) generalization—these models fail.

Existing approaches to mitigate this issue typically leverage classical information theory to separate causal subgraphs from spurious ones. However, these methods often struggle to distinguish between unique and shared information, leading to the retention of spurious features in the final invariant representation.

Partial Information Decomposition (PID)

To address the limitations of classical mutual information, the authors introduce RIG (Redundancy-guided Invariant Graph learning). The framework is built upon Partial Information Decomposition (PID), which provides a more granular view of how information is shared between variables.

Partial Information Decomposition (PID) breaks down mutual information into unique, redundant, and synergistic components.

As shown in Figure 2, PID decomposes the joint mutual information between two sources (causal subgraph $G_c$ and spurious subgraph $G_s$) and a target $Y$ into four components:

  1. Unique Information in $G_c$ ($Uni(Y: G_c|G_s)$): Information about $Y$ provided only by $G_c$.
  2. Unique Information in $G_s$ ($Uni(Y: G_s|G_c)$): Information about $Y$ provided only by $G_s$.
  3. Redundant Information ($Red(Y: G_c, G_s)$): Information about $Y$ shared by both $G_c$ and $G_s$.
  4. Synergistic Information ($Syn(Y: G_c, G_s)$): Information about $Y$ that is only accessible when considering both $G_c$ and $G_s$ together.

The RIG Framework

The RIG framework utilizes a multi-level optimization strategy to isolate invariant features by specifically targeting redundant information.

Methodology

  • Rationale Generation: An initial GNN decomposes the input graph $G$ into an estimated causal subgraph ($\hat{G}_c$) and a spurious subgraph ($\hat{G}_s$).
  • Step 1: Redundancy Estimation: The model estimates a lower bound of the redundant information between the two subgraphs. This step involves freezing certain parameters to focus on the information overlap.
  • Step 2: Objective Maximization: The framework then updates parameters to maximize classification accuracy while simultaneously maximizing this redundant information. By doing so, the "causal" branch is forced to capture stable, invariant features that might otherwise be exploited as shortcuts by the spurious branch.
  • Contrastive Learning: To ensure consistency across different environments, RIG incorporates a contrastive loss, further stabilizing the learned invariant features.

Key Insights: Navigating Complex Information Flows

A critical insight of this work is that redundancy is not a "bug" to be eliminated but a "feature" to be harnessed. In many OOD scenarios, spurious features contain redundant information about the target. RIG explicitly targets this redundancy to ensure the causal branch captures the full invariant signal.

Structural Causal Models (SCM) and variants like Fully Informative Invariant Feature (FIIF) and Partially Informative Invariant Feature (PIIF).

Furthermore, the paper demonstrates that classical measures like $I(G_s; Y)$ can be misleading. In certain causal models, such as the Partially Informative Invariant Feature (PIIF) model shown in Figure 4(c), a spurious variable might actually contain more total information about the target than the causal one. PID allows RIG to navigate these complex information flows more effectively than previous state-of-the-art (SOTA) methods.

Experimental Evaluation

The authors evaluated RIG on a diverse set of benchmarks:

  • Synthetic Two-piece Graphs: Precision-controlled environments where RIG showed significant gains even when spurious correlations reached 0.9.
  • DrugOOD: Six real-world molecular graph datasets with distribution shifts based on scaffold structure and assay type. RIG achieved SOTA performance on 6 out of 7 of these benchmarks.
  • CMNIST: A graph-structured version of Colored MNIST, confirming the model's ability to ignore color-based spurious correlations.

Post-hoc analysis revealed that RIG achieves a more balanced information decomposition, successfully prioritizing unique information in the causal branch while identifying the overlap. Visualization of edge masks further confirmed that RIG more accurately identifies ground-truth causal edges compared to baselines like GALA and CIGAv2.

Conclusion

RIG represents a significant step forward in robust graph learning by moving beyond "blunt" information-theoretic measures. By leveraging PID to target redundant information, it isolates invariant features more effectively, leading to superior OOD generalization. Future work will focus on reducing the computational complexity of PID estimation and establishing more rigorous theoretical convergence proofs.

Summary updated

BibTeX
@misc{halder2025learning,
  author = {Barproda Halder and Pasan Dissanayake and Sanghamitra Dutta},
  title = {{Learning Invariant Graph Representations Through Redundant Information}},
  year = {2025},
  eprint = {2512.06154},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06154},
}
Figure