PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs

arXiv:2511.22435 · cs.LG · Submitted 2025-11-27 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs".

Jane: The gist: PISA introduces Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs,

Tom: First, who's behind it and why it matters.

Title and authors: Tom: So let's talk about who wrote this, Maria Sofia Bucarelli, Fabrizio Silvestri, Ali Ghasemi, and Farooq Ahmad Wani. Their work is titled "PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs."

Jane: The title itself tells you a lot about what they’re trying to do here, focusing on prioritized subgraph aggregation for out-of-distribution generalization on graphs.

Lu: They are really zeroing in on the combination step, because they observe that uniform averaging is actually suboptimal because the diversity regularizer used to get those multiple subgraphs explicitly breaks the exchangeability needed for uniform averaging to be optimal >

Meng: So, if you have several ways of looking at a graph as invariant features, combining them needs a smarter strategy than just mixing everything equally.

Lalam: It suggests that the way we combine these different views matters a lot when the data shifts from what we trained on.

Tom: Exactly. PISA is proposing that instead of using fixed rules for combination, you learn an instance-conditional MLP over stacked branch logits to decide which branch is more important for a given input graph.

The paper's summary: Jane: Let's look at what the paper actually proposes in the summary. It sets up a setting where we study graph-level classification under distribution shift, where different environments induce different joint laws over graphs and labels >

Tom: They start by saying that a classifier maps a graph through an encoder to some vector, and then that vector goes into a head to make the prediction, but they only train on some subset of environments at training time and target the worst case across all possible environments >

Lu: The paper discusses how SuGAr extracts multiple subgraphs by training them in parallel with a diversity regularizer that pushes their masks apart so they lock onto different causal substructures >

Meng: So, the core idea is that you train several invariant GNNs simultaneously, and the diversity term makes sure they don't just learn the same thing >

Lalam: And then they take those multiple branches and instead of averaging them uniformly, PISA learns a small MLP over their stacked logits to prioritize which branch contributes most to the final prediction >

Tom: It’s like having several experts, but you train a tiny selector AI to know which expert is right for the specific problem you're facing now >

The paper's improvements: Jane: Now for the improvements they claim in PISA. They show that invariance is actually preserved under arbitrary measurable aggregation of frozen invariant branches, and they give a bound on the environment gap that is uniform over all aggregators >

Tom: That means you can train this aggregator using empirical risk minimization, and it predicts a capacity-robustness decoupling we see empirically >

Lu: They show that PISA improves synthetic and realistic OOD averages by two point nine six points over the strongest baseline and nearly doubles SuGAr’s gain over ERM on DrugOOD tasks > <ref:2511.22435#pg3,synthetic and realistic OOD averages by 2.96>

Meng: That's a pretty significant jump, especially when you look at those synthetic versus realistic shifts, which is where real-world performance usually drops off hard.

Lalam: And they found that the worst-case environment gap for any measurable aggregator A is bounded by 2B delta, where delta measures the residual dependence of branch outputs on the environment > <ref:2511.22435#pg1>

Tom: So, they are suggesting that capacity in your aggregator trades off against estimation error rather than robustness when you use this learned combination rule >

Conclusion: Jane: So to wrap up PISA, it replaces fixed combination rules with a small MLP over cached branch logits and improves out-of-distribution generalization by two point nine six and one point seven four points at negligible cost > <ref:2511.22435#pg3,by 2.96 and 1.74 points>

Tom: The authors suggest that extraction is the next bottleneck, because while they improved aggregation, the residual multi-subgraph gap suggests you still need better ways to extract those invariant subgraphs >

Lu: They point out that this work shows learning the combination rule is safe because frozen invariant branches expose no environment-dependent information >

Meng: So they are providing a principled response to distribution shift on graphs by focusing on causal substructures rather than just looking for environment-specific shortcuts >

Lalam: It really shows that PISA improves aggregation rather than extraction, so it doesn't eliminate the harder multi-subgraph extraction problem, which is a good distinction to make >

Sapienza University of Rome · Université Côte d’Azur, CNRS, Inria

cs.LG

Submitted: 2025-11-27

Updated: 2026-10-13

Comments: Accepted at the Learning on Graphs Conference (LoG 2026)

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 91/100

The gist: The gist: PISA introduces Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs, which shows that learning an instance-conditional MLP over frozen branch logits

Key concepts

Invariant Learning on Graphs
This field aims to build predictors that rely only on causal substructures within a graph, ignoring environment-specific shortcuts. The goal is to find features that remain stable even when the surrounding environment changes, which is crucial for robust prediction in real-world scenarios.
Multi-Subgraph Pipeline
Current methods extract multiple different invariant subgraphs (like CIGA or SuGAr) to capture diverse causal information. The paper focuses on the 'combination' step—how these separate pieces of information are merged into a final prediction, which is currently poorly handled.
Instance-Conditional Aggregator
Instead of using a fixed rule like uniform averaging, PISA learns an instance-conditional MLP. This means the model learns to prioritize which invariant subgraph is most relevant for a specific input graph at that moment, allowing the combination step to adapt dynamically based on the data.
Invariance Closure Under Post Composition
This theoretical finding proves that if you freeze the extracted invariant branches and only read them through their specific subgraphs, any measurable way you combine their outputs will still be invariant. This guarantees that the final aggregate prediction remains robust to environment shifts.

Terminology

Summary

The gist: PISA introduces Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs, which shows that learning an instance-conditional MLP over frozen branch logits is a safe and effective way to combine multiple invariant predictors, improving OOD generalization by 2.96 points on synthetic shifts and 1.74 points on realistic shifts

The core problem addressed is the combination step in multi-subgraph invariant learning, which existing methods have largely ignored <ref:2511.22435#pg3>. The paper demonstrates that uniform averaging is suboptimal because the diversity regularizer used to obtain multiple subgraphs explicitly breaks the exchangeability required for it to be optimal <ref:2511.22435#pg3>. PISA solves this by learning an instance-conditional MLP over stacked branch logits, which allows for prioritization based on input data, rather than relying on fixed aggregation rules like uniform averaging or greedy selection <ref:2511.22435#pg3>. This learned aggregator is shown to be safe because the branches are frozen and read the graph only through their invariant subgraphs, meaning any measurable aggregator of their outputs remains invariant <ref:2511.22435#pg3>.

How it works involves a two-phase process. Phase I focuses on diverse invariant subgraph extraction, where multiple GNNs are trained in parallel with a diversity regularizer that pushes their masks apart to lock onto different causal substructures <ref:2511.22435#pg6>. The objective function for this phase includes a supervised loss on the branch's subgraph and a contrastive term that encourages embeddings of same-label graphs to be close, while the diversity term penalizes pairwise cosine overlap between masks <ref:2511.22435#pg6>. Phase II involves prioritized dynamic aggregation, where the extracted branches are frozen and their logits are stacked into a tensor P <ref:2511.22435#pg5>. A lightweight MLP Aθ maps this stack to the final prediction Yb = Aθ(vec(P)), trained using empirical risk minimization on the cross-entropy loss LII <ref:2511.22435#pg5>. This learned aggregator is instance-conditional, meaning it places importance on each branch based on the input graph G <ref:2511.22435#pg5>.

Theoretical guarantees establish the safety of this approach. Proposition 4 proves that invariance is closed under arbitrary measurable aggregation of frozen invariant branches, showing that the aggregate's environment gap is bounded by the branches’ residual invariance violation uniformly over all aggregators <ref:2511.22435#pg7>. Furthermore, Proposition 5 provides a uniform environment-gap bound, showing that the worst-case environment gap for any measurable aggregator A is bounded by 2Bδ, where δ measures the residual dependence of branch outputs on the environment <ref:2511.22435#pg7>. This implies that capacity in Aθ trades off against estimation error rather than robustness <ref:2511.22435#pg3>.

The performance evaluation across 15 synthetic and real benchmarks shows significant gains over prior methods. PISA improves the average over the strongest prior method by 2.96 points on synthetic shifts and 1.74 points on realistic shifts, achieving nearly double SuGAr’s improvement over ERM on the six DrugOOD tasks <ref:2511.22435#pg2>. The study also investigates how performance scales with the number of invariant branches (n), finding that performance peaks at n = 10 among tested values, and confirms that PISA outperforms SuGAr at every tested n <ref:2511.22435#pg6>. Finally, the paper notes that while increased model count alone does not explain PISA’s gains, it suggests extraction is the next bottleneck <ref:2511.22435#pg9>.

The methodology relies on formal structural causal models (SCMs) to delineate invariant content (C) from environment-varying style (S). The authors examine three SCM types: Fully Informative Invariant Features (FIIF), Partially Informative Invariant Features (PIIF), and Mixed Interactions (MIIF) <ref:2511.22435#pg17>. Assumption 1 formalizes the intuition that invariant content C is independent of the environment E, which is only allowed to act on the spurious branch S <ref:2511.22435#pg17>. The analysis also incorporates a latent separability condition, Assumption 6, which posits that H(C Y) ≤ H(S Y), capturing the idea that invariant content clusters more tightly than the spurious component conditional on the label <ref:2511.22435#pg17>.

The paper concludes that PISA replaces fixed combination rules with a small MLP over cached branch logits and improves OOD generalization by 2.96 and 1.74 points at negligible cost <ref:2511.22435#pg10>. The residual multi-subgraph gap suggests extraction as the next bottleneck <ref:2511.22435#pg11>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>. This work shows that learning the combination rule is safe because frozen invariant branches expose no environment-dependent information <ref:2511.22435#pg3>. This approach provides a principled response to distribution shift on graphs by focusing on causal substructures rather than environment-specific shortcuts <ref:2511.22435#pg2>. The paper's findings are highly relevant to the field of invariant and graph OOD learning <ref:2511.22435#pg7>. The results suggest that PISA improves aggregation rather than extraction and therefore does not eliminate the harder multi-subgraph extraction problem <ref:2511.22435#pg6>.

Improvements for AI systems

  1. Bold Header: Prioritized dynamic aggregation of frozen branch outputs improves OOD generalization by learning instance-specific importance weights for each invariant predictor. This allows PISA to improve synthetic and realistic OOD averages by 2.96 and 1.74 points over the strongest prior method.

  2. Bold Header: The system can utilize a lightweight MLP, trained on frozen branches at negligible cost, to assign instance-specific importance to stacked branch logits, which is shown to be the right object to fit for approximating the optimal aggregation rule.

  3. Bold Header: PISA enables robust generalization across different environments by leveraging the principle that invariance is closed under post composition, ensuring that the aggregate’s environment gap is bounded by the branches’ residual invariance violation uniformly over aggregators.

  4. Bold Header: The improved system can achieve performance gains by identifying and exploiting a bottleneck in existing methods, specifically proving that uniform averaging is optimal only when every branch carries the same total error covariance with the ensemble—a knife edge balance that is destroyed by diversity regularizers.

  5. Bold Header: The system can be designed to scale its aggregation capacity optimally by utilizing a learned aggregator whose depth peaks at 3–4 layers for a 30-dimensional input, balancing estimation error against capacity as predicted by the analysis in Equation (10).

Abstract

Invariant learning on graphs aims to build predictors that rely on causal substructures rather than on environment-specific shortcuts. Current methods extract either a single invariant subgraph (CIGA) or, more recently, a set of diverse invariant subgraphs (SuGAr). We observe that the second half of the multi-subgraph pipeline, "how the extracted subgraphs are combined" has gone essentially unexamined; existing methods average branch predictions uniformly or select one greedily. We show that this is precisely where accuracy is lost. A minimum-variance combination argument establishes that uniform averaging is optimal only when every branch carries the same total error covariance with the ensemble---a knife edge balance that second order exchangeability guarantees and that the diversity regularizer used to obtain multiple subgraphs is explicitly designed to break. We then show that invariance is closed under post composition; because the branches are frozen and read the graph only through their invariant subgraphs, any measurable aggregator of their outputs remains invariant, and the aggregate's environment gap is bounded by the branches' residual invariance violation uniformly over aggregators. Learning the combination rule by plain empirical risk minimization is therefore safe, and aggregator capacity trades off against estimation error rather than robustness. PISA instantiates this with a lightweight instance-conditional MLP over stacked branch logits, trained on frozen branches at negligible cost. Across 15 synthetic and real benchmarks, PISA improves the average over the strongest prior method by 2.96 points on synthetic shifts and 1.74 points on realistic shifts, with per-dataset gains up to 5.90 points, and nearly doubles SuGAr's improvement over ERM on the six DrugOOD tasks (from +2.76 to +5.07 ROC-AUC).

Sources

Related papers